NSX-T Data Center REST API

Download exported pcap file

Download the exported pcap file generated from the export IdsPcapFile api. The request
should have proper headers set to download the file. Please add the below
two headers, if it is not already present
Accept application/json, text/plain, */*
Accept-Encoding gzip, deflate, br

Currently this is a node specific API and it will download the PCAP
file from the specific node only. If PCAP file is not present on the specific
node, validation error will be thrown.
This API is only available when using VMware NSX.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/settings/firewall/security/intrusion-services/pcaps/{file-name}/download
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/settings/firewall/security/intrusion-services/pcaps/{file-name}/download
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/octet-stream
Response Body:
n/a

Example Response:

zipped file containing the requested pcap files.

Required Permissions:

read

Feature:

policy_common_ids

Additional Errors: