Runbooks
Get a list of environments a Runbook can be run within, based on its EnvironmentScope.
get/{spaceId}/runbooks/{id}/environments
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/runbooks/{id}/environments
- 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 containing the resource(s).
idstring required
ID of the Runbook
Query parameters
projectIdstring
The ID of the project containing this resource. Will be inferred if not provided.
Response
The requested list of Runbook Environments
Example response
[
{
"ExtensionSettings": [],
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1"
}
]