Runbooks
Get a Runbook Run Preview for a Runbook
Gets a Runbook Run Preview that describes what steps will/won't be run during a Runbook Run on a given environment (and tenant if supplied) for a Runbook.
get/{spaceId}/projects/{projectId}/{gitRef}/runbooks/{id}/runbookRuns/preview/{environment}
Request
- Base URLhttps://demo.octopus.app/api
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
spaceIdstring required
The ID of the space containing the resource(s).
projectIdstring required
ID of the Project
gitRefstring required
idstring required
ID of the Runbook
environmentstring required
ID of the Environment
Query parameters
includeDisabledStepsboolean
Boolean to include/exclude disabled steps from response
tenantstring
ID of the Tenant
Response
Success
Example response
{
"Links": {
"Self": "/api/..."
}
}Changes
No recorded changes to this operation across all 16 revisions of this API.