Runbooks
Get a list of Runbook Run Previews for a Runbook
Gets a list of Runbook Run Previews that describes what steps will/won't be run during a Runbook Run on a given environment and tenant for a Runbook.
post/projects/{projectId}/{gitRef}/runbooks/{runbookId}/runbookRuns/previews
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/projects/{projectId}/{gitRef}/runbooks/{runbookId}/runbookRuns/previews
- 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
projectIdstring required
ID of the Project
gitRefstring required
runbookIdstring required
ID of the Runbook
Request body
Example request
{
"DeploymentPreviews": [
{
"EnvironmentId": "Environments-1",
"TenantId": "Tenants-1"
}
],
"ProjectId": "Projects-1",
"RunbookId": "Runbooks-1",
"SpaceId": "Spaces-1"
}Response
The requested list of Runbook Run previews
Example response
[
{
"Links": {
"Self": "/api/..."
}
}
]Changes
No recorded changes to this operation across all 13 revisions of this API.