{ "opencollection": "1.0.0", "info": { "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Worker Deployments API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Worker Deployments", "type": "folder" }, "items": [ { "info": { "name": "APIs.io Engineering Platform List Deployments", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/scripts/:script_name/deployments", "params": [ { "name": "script_name", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ] }, "docs": "List of Worker Deployments. The first deployment in the list is the latest deployment actively serving traffic." }, { "info": { "name": "APIs.io Engineering Platform Create Deployment", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/scripts/:script_name/deployments", "params": [ { "name": "script_name", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" }, { "name": "force", "value": "", "type": "query", "description": "If set to true, the deployment will be created even if normally blocked by something such rolling back to an older version when a secret has changed." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Deployments configure how [Worker Versions](https://developers.cloudflare.com/api/operations/worker-versions-list-versions) are deployed to traffic. A deployment can consist of one or two versions of a Worker." } ] } ], "bundled": true }