Lifecycles
List Lifecycles
List the Lifecycles in the supplied Octopus Deploy Space in pages. The results will be sorted alphabetically by name.
get/lifecycles
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/lifecycles
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Query parameters
idsstring[]
namestring
The exact name of a Lifecycle to be matched
partialNamestring
skipinteger
Number of items to skip. Defaults to zero
takeinteger
Number of items to take. Defaults to 30
Response
A paginated list of lifecycles
Example response
{
"Items": [
{
"Links": {
"Self": "/api/..."
},
"Phases": [
{
"AutomaticDeploymentTargets": [
"Environments-1",
"..."
],
"OptionalDeploymentTargets": [
"Environments-1",
"..."
]
}
],
"SpaceId": "Spaces-1"
}
],
"ItemsPerPage": 30,
"ItemType": "Lifecycle",
"LastPageNumber": 1,
"Links": {
"Self": "/api/..."
},
"NumberOfPages": 2,
"TotalResults": 42
}Changes
No recorded changes to this operation across all 13 revisions of this API.