Lifecycles

Create a new Lifecycle.

post/lifecycles

Request body

Descriptionstring

A description of the Lifecycle

Namestring required

The name of the Lifecycle.

Slugstring

A slug for the Lifecycle.

SpaceIdstring required

The id of the Space for the Lifecycle.

Example request

{
  "Phases": [
    {
      "AutomaticDeploymentTargets": [
        "Environments-1",
        "..."
      ],
      "OptionalDeploymentTargets": [
        "Environments-1",
        "..."
      ]
    }
  ],
  "SpaceId": "Spaces-1"
}

Response

Created

Descriptionstring
Idstring

Gets or sets a unique identifier for this resource.

LastModifiedBystring

Gets or sets the username of the user who last modified this resource.

LastModifiedOnstring date-time

Gets or sets the date/time that this resource was last modified.

Linksobject

Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.

Namestring
Slugstring
SpaceIdstring

Example response

{
  "Phases": [
    {
      "AutomaticDeploymentTargets": [
        "Environments-1",
        "..."
      ],
      "OptionalDeploymentTargets": [
        "Environments-1",
        "..."
      ]
    }
  ],
  "SpaceId": "Spaces-1"
}

Changes

No recorded changes to this endpoint across all 7 revisions of this API.