Runbooks
Get a list of environments a Runbook can be run within, based on its EnvironmentScope.
get/runbooks/{id}/environments
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/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
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"
}
]Changes
No recorded changes to this operation across all 13 revisions of this API.