{ "opencollection": "1.0.0", "info": { "name": "Humanitec AccountType Deployment API", "version": "0.28.24" }, "items": [ { "info": { "name": "Deployment", "type": "folder" }, "items": [ { "info": { "name": "List Deployments in an Environment.", "type": "http" }, "http": { "method": "GET", "url": "https://api.humanitec.io/orgs/:orgId/apps/:appId/envs/:envId/deploys", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "The Organization ID.\n\n" }, { "name": "appId", "value": "", "type": "path", "description": "The Application ID.\n\n" }, { "name": "envId", "value": "", "type": "path", "description": "The Environment ID.\n\n" }, { "name": "pipelineRunId", "value": "default,01234567-89ab-cdef-0123-456789abcdef", "type": "query", "description": "An optional filter by the Pipeline and Pipeline Run ID separated by a comma.\n" } ] }, "docs": "List all of the Deployments that have been carried out in the current Environment. Deployments are returned with the newest first." }, { "info": { "name": "Start a new Deployment.", "type": "http" }, "http": { "method": "POST", "url": "https://api.humanitec.io/orgs/:orgId/apps/:appId/envs/:envId/deploys", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "The Organization ID.\n\n" }, { "name": "appId", "value": "", "type": "path", "description": "The Application ID.\n\n" }, { "name": "envId", "value": "", "type": "path", "description": "The Environment ID.\n\n" } ], "body": { "type": "json", "data": "{}" } }, "docs": "At Humanitec, Deployments are defined as changes to the state of the Environment. The state can be changed by defining a set of desired changes to the current state via a Deployment Delta or by resetting the current state after a previous Deployment. (See Environment Rebase.) Both types of changes can be combined into a single Deployment during which the Delta is applied to the Rebased state.\n\nWhen specifying a Delta, a Delta ID must be used. That Delta must have been committed to the Delta stor" }, { "info": { "name": "Get a specific Deployment.", "type": "http" }, "http": { "method": "GET", "url": "https://api.humanitec.io/orgs/:orgId/apps/:appId/envs/:envId/deploys/:deployId", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "The Organization ID.\n\n" }, { "name": "appId", "value": "", "type": "path", "description": "The Application ID.\n\n" }, { "name": "envId", "value": "", "type": "path", "description": "The Environment ID.\n\n" }, { "name": "deployId", "value": "", "type": "path", "description": "The Deployment ID.\n\n" } ] }, "docs": "Gets a specific Deployment in an Application and an Environment." }, { "info": { "name": "List errors that occurred in a Deployment.", "type": "http" }, "http": { "method": "GET", "url": "https://api.humanitec.io/orgs/:orgId/apps/:appId/envs/:envId/deploys/:deployId/errors", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "The Organization ID.\n\n" }, { "name": "appId", "value": "", "type": "path", "description": "The Application ID.\n\n" }, { "name": "envId", "value": "", "type": "path", "description": "The Environment ID.\n\n" }, { "name": "deployId", "value": "", "type": "path", "description": "The Deployment ID.\n\n" } ] }, "docs": "List errors that occurred in a Deployment." } ] } ], "bundled": true }