DeploymentTargets
Get a list of Deployment Targets
Lists all of the Deployment Targets in the supplied Space. The results will be sorted alphabetically by name.
get/machines/all/v1
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/machines/all/v1
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Query parameters
idsstring[]
A comma separated list of Machine resource ids used to filter a query.
thumbprintstring
A thumbprint used to filter a query.
Response
Requested list of Deployment Targets
Example response
{
"DeploymentTargets": [
{
"Endpoint": {
"Links": {
"Self": "/api/..."
}
},
"EnvironmentIds": [
"Environments-1",
"..."
],
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
]
}
]
}Changes
No recorded changes to this operation across all 13 revisions of this API.