Lifecycles
Get a Lifecycle preview by Lifecycle id.
get/{spaceId}/lifecycles/{id}/preview
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/lifecycles/{id}/preview
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Path parameters
spaceIdstring required
The id of the space for the Lifecycle.
idstring required
The id of the Lifecycle.
Response
Returns a Lifecycle preview
Example response
{
"Links": {
"Self": "/api/..."
},
"Phases": [
{
"AutomaticDeploymentTargets": [
"Environments-1",
"..."
],
"OptionalDeploymentTargets": [
"Environments-1",
"..."
]
}
],
"SpaceId": "Spaces-1"
}Changes
No recorded changes to this operation across all 13 revisions of this API.