Deployment

Get information on the last deployment build

Get information on the result of the last successful deployment job, including info on the build e.g. whether it is still valid.

get/api/{projectId}/deployment/last

Request

Path parameters

projectIdinteger required

Project ID

Query parameters

impulseIdinteger

Impulse ID. If this is unset then the default impulse is used.

Response

OK

successboolean required

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

hasBuildboolean required

Does the deployment build still exist? (Builds are deleted if they are no longer valid for the project)

Example response

{
  "lastDeploymentTarget": {
    "parameters": [
      {
        "name": "Scale axes",
        "type": "text",
        "help": "Divide axes by this number",
        "param": "scale-axes"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.