Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

APIs.io Engineering Platform Magic PCAP Collection API

The Magic PCAP Collection API from APIs.io Engineering Platform — 6 operation(s) for magic pcap collection.

This API exposes 8 operations across 6 paths, and defines 32 schemas. It is described by OpenAPI 3.0.0, at version 2015-07-09.

Requests are made against 4 base URLs: http://apigateway.{region}.amazonaws.com, https://apigateway.{region}.amazonaws.com, http://apigateway.{region}.amazonaws.com.cn, https://apigateway.{region}.amazonaws.com.cn.

8 operations 6 paths 32 schemas 1 DELETE4 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2015-07-09
Base URL
https://{bucketname}.s3.amazonaws.com
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

APIs.io Engineering Platform Magic PCAP Collection API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (hmac). By default, every request must be authenticated.

  • hmac — Amazon Signature authorization v4

Paths & Operations 8

Across 6 paths, the API surfaces 8 operations — 1 DELETE, 4 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Magic PCAP Collection 8
GET
/accounts/{account_id}/pcaps
APIs.io Engineering Platform List packet capture requests
magic-pcap-collection-list-packet-capture-requests 1 param → 200default
POST
/accounts/{account_id}/pcaps
APIs.io Engineering Platform Create PCAP request
magic-pcap-collection-create-pcap-request 1 param body → 200default
GET
/accounts/{account_id}/pcaps/{pcap_id}
APIs.io Engineering Platform Get PCAP request
magic-pcap-collection-get-pcap-request 2 params → 200default
GET
/accounts/{account_id}/pcaps/{pcap_id}/download
APIs.io Engineering Platform Download Simple PCAP
magic-pcap-collection-download-simple-pcap 2 params → 200default
GET
/accounts/{account_id}/pcaps/ownership
APIs.io Engineering Platform List PCAPs Bucket Ownership
magic-pcap-collection-list-pca-ps-bucket-ownership 1 param → 200default
POST
/accounts/{account_id}/pcaps/ownership
APIs.io Engineering Platform Add buckets for full packet captures
magic-pcap-collection-add-buckets-for-full-packet-captures 1 param body → 200default
DELETE
/accounts/{account_id}/pcaps/ownership/{ownership_id}
APIs.io Engineering Platform Delete buckets for full packet captures
magic-pcap-collection-delete-buckets-for-full-packet-captures 2 params → 204default
POST
/accounts/{account_id}/pcaps/ownership/validate
APIs.io Engineering Platform Validate buckets for full packet captures
magic-pcap-collection-validate-buckets-for-full-packet-captures 1 param body → 200default

Schemas 32

The contract defines 32 schemas that model the data the API accepts and returns. The most detailed are magic-visibility_pcaps_response_full (11 properties), magic-visibility_pcaps_request_full (8 properties), magic-visibility_pcaps_response_simple (7 properties), magic-visibility_pcaps_ownership_response (6 properties). Each schema is shown below with its type and property counts.

magic-visibility_api-response-single
object
magic-visibility_pcaps_system
string
The system used to collect packet captures.
magic-visibility_pcaps_colo_name
string
The name of the data center used for the packet capture. This can be a specific colo (ord02) or a multi-colo name (ORD). This field only applies to full packet…
magic-visibility_pcaps_byte_limit
number
The maximum number of bytes to capture. This field only applies to full packet captures.
magic-visibility_pcaps_filter_v1
object
The packet capture filter. When this field is empty, all packets are captured.
5 properties
magic-visibility_identifier
string
Identifier
magic-visibility_pcaps_ownership_request
object
1 property 1 required
magic-visibility_pcaps_request_full
object
8 properties 5 required
magic-visibility_pcaps_status
string
The status of the packet capture request.
magic-visibility_pcaps_response_full
object
11 properties
magic-visibility_pcaps_id
string
The ID for the packet capture.
magic-visibility_pcaps_submitted
string
The RFC 3339 timestamp when the packet capture was created.
magic-visibility_pcaps_error_message
string
An error message that describes why the packet capture failed. This field only applies to full packet captures.
magic-visibility_api-response-common-failure
object
4 properties 4 required
magic-visibility_pcaps_ownership_single_response
magic-visibility_pcaps_destination_conf
string
The full URI for the bucket. This field only applies to full packet captures.
magic-visibility_pcaps_packet_limit
number
The limit of packets contained in a packet capture.
magic-visibility_pcaps_request_simple
object
5 properties 4 required
magic-visibility_pcaps_request_pcap
magic-visibility_result_info
object
4 properties
magic-visibility_pcaps_ownership_response
object
6 properties 5 required
magic-visibility_pcaps_ownership_challenge
string
The ownership challenge filename stored in the bucket.
magic-visibility_api-response-common
object
4 properties 4 required
magic-visibility_pcaps_collection_response
magic-visibility_pcaps_type
string
The type of packet capture. Simple captures sampled packets, and full captures entire payloads and non-sampled packets.
magic-visibility_pcaps_time_limit
number
The packet capture duration in seconds.
magic-visibility_pcaps_ownership_collection
magic-visibility_messages
array
magic-visibility_pcaps_ownership_validate_request
object
2 properties 2 required
magic-visibility_pcaps_single_response
magic-visibility_api-response-collection
object
magic-visibility_pcaps_response_simple
object
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

engineering-platform-magic-pcap-collection-api-openapi.yml Raw ↑