RunbookSnapshots
Get a list of Runbook Run Previews for a Runbook Snapshot
post/{spaceId}/projects/{projectId}/runbookSnapshots/{runbookSnapshotId}/runbookRuns/previews
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/projects/{projectId}/runbookSnapshots/{runbookSnapshotId}/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
spaceIdstring required
The ID of the space containing the resource(s).
projectIdstring required
ID of the Project
runbookSnapshotIdstring required
ID of the Runbook Snapshot
Request body
Example request
{
"DeploymentPreviews": [
{
"EnvironmentId": "Environments-1",
"TenantId": "Tenants-1"
}
],
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}Response
A preview for a Runbook run, representing the planned execution.
Example response
[
{
"Links": {
"Self": "/api/..."
}
}
]Changes
No recorded changes to this operation across all 13 revisions of this API.