{ "opencollection": "1.0.0", "info": { "name": "Contentstack Analytics Accounts Deployments API", "version": "v2" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Deployments", "type": "folder" }, "items": [ { "info": { "name": "Get all deployments", "type": "http" }, "http": { "method": "GET", "url": "https://api.contentstack.io/projects/:project_uid/environments/:env_uid/deployments", "params": [ { "name": "project_uid", "value": "", "type": "path", "description": "The unique identifier of the Launch project." }, { "name": "env_uid", "value": "", "type": "path", "description": "The unique identifier of the deployment environment." } ] }, "docs": "Retrieves all deployments for a specific environment, showing deployment history with status, creation times, and build metadata." }, { "info": { "name": "Create a deployment", "type": "http" }, "http": { "method": "POST", "url": "https://api.contentstack.io/projects/:project_uid/environments/:env_uid/deployments", "params": [ { "name": "project_uid", "value": "", "type": "path", "description": "The unique identifier of the Launch project." }, { "name": "env_uid", "value": "", "type": "path", "description": "The unique identifier of the deployment environment." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Triggers a new deployment to the specified environment. Requires a previously uploaded build artifact referenced by its upload URL. The deployment process builds and publishes the application to the environment's CDN infrastructure." }, { "info": { "name": "Get a deployment", "type": "http" }, "http": { "method": "GET", "url": "https://api.contentstack.io/projects/:project_uid/environments/:env_uid/deployments/:deploy_uid", "params": [ { "name": "project_uid", "value": "", "type": "path", "description": "The unique identifier of the Launch project." }, { "name": "env_uid", "value": "", "type": "path", "description": "The unique identifier of the deployment environment." }, { "name": "deploy_uid", "value": "", "type": "path", "description": "The unique identifier of the deployment." } ] }, "docs": "Retrieves the full details of a specific deployment including its status, build configuration, and completion information." }, { "info": { "name": "Get deployment logs", "type": "http" }, "http": { "method": "GET", "url": "https://api.contentstack.io/projects/:project_uid/environments/:env_uid/deployments/:deploy_uid/logs", "params": [ { "name": "project_uid", "value": "", "type": "path", "description": "The unique identifier of the Launch project." }, { "name": "env_uid", "value": "", "type": "path", "description": "The unique identifier of the deployment environment." }, { "name": "deploy_uid", "value": "", "type": "path", "description": "The unique identifier of the deployment." } ] }, "docs": "Retrieves the build and deployment logs for a specific deployment, useful for debugging failed deployments and monitoring build progress." }, { "info": { "name": "Get server logs", "type": "http" }, "http": { "method": "GET", "url": "https://api.contentstack.io/projects/:project_uid/environments/:env_uid/deployments/:deploy_uid/server-logs", "params": [ { "name": "project_uid", "value": "", "type": "path", "description": "The unique identifier of the Launch project." }, { "name": "env_uid", "value": "", "type": "path", "description": "The unique identifier of the deployment environment." }, { "name": "deploy_uid", "value": "", "type": "path", "description": "The unique identifier of the deployment." } ] }, "docs": "Retrieves server-side runtime logs for a deployed environment, useful for debugging server-side rendering issues and monitoring application runtime behavior." } ] } ], "bundled": true }