Runbooks
Get all of the information necessary for creating or editing a Runbook Run for this Runbook (when you do not have a snapshot).
get/{spaceId}/runbooks/{id}/runbookRunTemplate
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/runbooks/{id}/runbookRunTemplate
- 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 to get a Runbook Run Template for
Query parameters
projectIdstring
ID of the project the runbook belongs to
Response
The requested Runbook Template
Example response
{
"Links": {
"Self": "/api/..."
},
"PromoteTo": [
{
"Id": "Environments-1"
}
],
"TenantPromotions": [
{
"Links": {
"Self": "/api/..."
},
"PromoteTo": [
{
"Id": "Environments-1"
}
]
}
]
}Changes
No recorded changes to this operation across all 13 revisions of this API.