DeploymentTargets
Get a list of Tasks for the given Deployment Target
Get a history of related Tasks (ie. Deployments) for a Deployment Target.
get/spaces/{spaceIdentifier}/machines/{id}/tasks/v1
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/machines/{id}/tasks/v1
- 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
spaceIdentifierstring required
Identifier (ID or slug) of the space
idstring required
The ID of the deployment target.
Query parameters
skipinteger
Number of items to skip. Defaults to zero
takeinteger
Number of items to take. Defaults to 30
type'Deployment' | 'RunbookRun'
Filters the tasks by task type.
Response
The requested list of Tasks for the Deployment Target
Example response
{
"ResourceCollection": {
"Items": [
{
"Links": {
"Self": "/api/..."
},
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}
],
"ItemsPerPage": 30,
"ItemType": "Task",
"LastPageNumber": 1,
"Links": {
"Self": "/api/..."
},
"NumberOfPages": 2,
"TotalResults": 42
}
}Changes
No recorded changes to this operation across all 13 revisions of this API.