Runbooks
Get a list of environments a Runbook can be run within, based on its EnvironmentScope.
get/{spaceId}/projects/{projectId}/{gitRef}/runbooks/{id}/environments
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/projects/{projectId}/{gitRef}/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).
projectIdstring required
The ID of the project containing this resource.
gitRefstring required
The Git ref to read the runbook from
idstring required
ID of the Runbook
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.