DeploymentTargets

Get a list of the latest deployments by project for the given Deployment Target

get/machines/{id}/latestdeployments

Request

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

idstring required

The ID of the deployment target.

Query parameters

partialNamestring

Filters deployments by a partial project name.

skipinteger

Number of items to skip. Defaults to zero

takeinteger

Number of items to take. Defaults to 30

Response

The requested list of latest deployments per project for the Deployment Target

ItemsPerPageinteger
ItemTypestring

The type of item in this list

LastPageNumberinteger
NumberOfPagesinteger
TotalResultsinteger

Example response

{
  "Items": [
    {
      "ProjectId": "Projects-1",
      "ServerTask": {
        "Links": {
          "Self": "/api/..."
        },
        "ProjectId": "Projects-1",
        "SpaceId": "Spaces-1"
      }
    }
  ],
  "ItemsPerPage": 30,
  "ItemType": "LatestProjectDeployment",
  "LastPageNumber": 1,
  "NumberOfPages": 2,
  "TotalResults": 42
}

Changes

No recorded changes to this operation across all 13 revisions of this API.