{ "opencollection": "1.0.0", "info": { "name": "Akamai: API Endpoint Definition Access tokens Validations API", "version": "2" }, "items": [ { "info": { "name": "Validations", "type": "folder" }, "items": [ { "info": { "name": "Akamai Validate an EdgeWorkers Code Bundle", "type": "http" }, "http": { "method": "POST", "url": "https://{hostname}/api-definitions/v2/validations", "params": [ { "name": "accountSwitchKey", "value": "{{accountSwitchKey}}", "type": "query", "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)." } ] }, "docs": "Return a list of errors and warnings containing details on how to fix your code bundle. See [Validation types](https://techdocs.akamai.com/edgeworkers/reference/validation-types). In order to run this operation you need to provide an EdgeWorkers code bundle as a GZIP binary file in the request body, with a `Content-Type` of `application/gzip`." } ] } ], "bundled": true }