{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Validates buckets added to the packet captures API.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/magic-visibility-pcaps_identifier"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/magic-visibility-pcaps_pcaps_ownership_validate_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"magic-visibility-pcaps_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"magic-visibility-pcaps_pcaps_ownership_validate_request":{"type":"object","properties":{"destination_conf":{"$ref":"#/definitions/magic-visibility-pcaps_pcaps_destination_conf"},"ownership_challenge":{"$ref":"#/definitions/magic-visibility-pcaps_pcaps_ownership_challenge"}},"required":["destination_conf","ownership_challenge"]},"magic-visibility-pcaps_pcaps_destination_conf":{"description":"The full URI for the bucket. This field only applies to `full` packet captures.","type":"string","examples":["s3://pcaps-bucket?region=us-east-1"]},"magic-visibility-pcaps_pcaps_ownership_challenge":{"description":"The ownership challenge filename stored in the bucket.","type":"string","examples":["ownership-challenge-9883874ecac311ec8475433579a6bf5f.txt"]}}},"name":"Validate buckets for full packet captures","id":"cloudflare.magic-pcap-collection-validate-buckets-for-full-packet-captures","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"destination_conf":"s3://pcaps-bucket?region=us-east-1","ownership_challenge":"ownership-challenge-9883874ecac311ec8475433579a6bf5f.txt"}},"maxRequests":1,"summary":false}}