Releases

List all of the Deployments that belong to the given Release.

Deployments will be ordered from most recent to least recent.

get/{spaceId}/releases/{releaseId}/deployments

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/{spaceId}/releases/{releaseId}/deployments
  • 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

ID of the Space to which the Release belongs.

releaseIdstring required

ID of the Release to load.

Query parameters

skipinteger

Number of items to skip. Defaults to zero

takeinteger

Number of items to take. Defaults to 30

Response

The list of Deployments for the given Release.

Idstring

Gets or sets a unique identifier for this resource.

ItemsPerPageinteger
ItemTypestring

The type of item in this list

LastModifiedBystring

Gets or sets the username of the user who last modified this resource.

LastModifiedOnstring date-time

Gets or sets the date/time that this resource was last modified.

LastPageNumberinteger
Linksobject

Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.

NumberOfPagesinteger
TotalResultsinteger

Example response

{
  "Items": [
    {
      "ChannelId": "Channels-1",
      "EnvironmentId": "Environments-1",
      "ExecutionPlanLogContext": {
        "Steps": [
          {
            "CorrelationId": "0c5a872485ac4b10857939a92d082e67"
          }
        ]
      },
      "Id": "Deployments-1",
      "Links": {
        "Self": "/api/..."
      },
      "ProjectId": "Projects-1",
      "ReleaseId": "Releases-1",
      "SpaceId": "Spaces-1",
      "TaskId": "ServerTasks-1",
      "TenantId": "Tenants-1"
    }
  ],
  "ItemsPerPage": 30,
  "ItemType": "Deployment",
  "LastPageNumber": 1,
  "Links": {
    "Self": "/api/..."
  },
  "NumberOfPages": 2,
  "TotalResults": 42
}

Changes

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