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/spaces/{spaceIdentifier}/machines/all/v1

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/spaces/{spaceIdentifier}/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

Path parameters

spaceIdentifierstring required

Identifier (ID or slug) of the space

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.