{ "opencollection": "1.0.0", "info": { "name": "Cloudflare / Accounts Deployments API", "version": "4.0.0" }, "items": [ { "info": { "name": "Deployments", "type": "folder" }, "items": [ { "info": { "name": "Cloudflare List Deployments", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "project_name", "value": "", "type": "path", "description": "The name of the Pages project." } ] }, "docs": "Returns a list of all deployments for a Pages project." }, { "info": { "name": "Cloudflare Create Deployment", "type": "http" }, "http": { "method": "POST", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "project_name", "value": "", "type": "path", "description": "The name of the Pages project." } ] }, "docs": "Create a new deployment for a Pages project by uploading assets or triggering a build from a connected repository." }, { "info": { "name": "Cloudflare Get Deployment", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments/:deployment_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "project_name", "value": "", "type": "path", "description": "The name of the Pages project." }, { "name": "deployment_id", "value": "", "type": "path", "description": "The unique identifier of the deployment." } ] }, "docs": "Retrieve details of a specific deployment including build status and deployment URL." }, { "info": { "name": "Cloudflare Delete Deployment", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments/:deployment_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "project_name", "value": "", "type": "path", "description": "The name of the Pages project." }, { "name": "deployment_id", "value": "", "type": "path", "description": "The unique identifier of the deployment." } ] }, "docs": "Delete a specific deployment." }, { "info": { "name": "Cloudflare Rollback Deployment", "type": "http" }, "http": { "method": "POST", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments/:deployment_id/rollback", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "project_name", "value": "", "type": "path", "description": "The name of the Pages project." }, { "name": "deployment_id", "value": "", "type": "path", "description": "The unique identifier of the deployment." } ] }, "docs": "Rollback the production deployment to a previous deployment." }, { "info": { "name": "Cloudflare List Deployments", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/workers/scripts/:script_name/deployments", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "script_name", "value": "", "type": "path", "description": "The name of the Worker script." } ] }, "docs": "List all deployments for a Worker script." }, { "info": { "name": "Cloudflare Create Deployment", "type": "http" }, "http": { "method": "POST", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/workers/scripts/:script_name/deployments", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "script_name", "value": "", "type": "path", "description": "The name of the Worker script." } ] }, "docs": "Create a new deployment directing traffic to a specific Worker version." } ] } ], "bundled": true }