{
  "opencollection": "1.0.0",
  "info": {
    "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Magic PCAP Collection API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Magic PCAP Collection",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "APIs.io Engineering Platform List packet capture requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/pcaps",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Lists all packet capture requests for an account."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Create PCAP request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/pcaps",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create new PCAP request for account."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get PCAP request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/pcaps/:pcap_id",
            "params": [
              {
                "name": "pcap_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get information for a PCAP request by id."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Download Simple PCAP",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/pcaps/:pcap_id/download",
            "params": [
              {
                "name": "pcap_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Download PCAP information into a file. Response is a binary PCAP file."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform List PCAPs Bucket Ownership",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/pcaps/ownership",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List all buckets configured for use with PCAPs API."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Add buckets for full packet captures",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/pcaps/ownership",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds an AWS or GCP bucket to use with full packet captures."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Delete buckets for full packet captures",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/pcaps/ownership/:ownership_id",
            "params": [
              {
                "name": "ownership_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes buckets added to the packet captures API."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Validate buckets for full packet captures",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/pcaps/ownership/validate",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validates buckets added to the packet captures API."
        }
      ]
    }
  ],
  "bundled": true
}