v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1443136141.7 KB

Lists the deployments for an environment in descending deployment number order.

get/applications/{ApplicationId}/environments/{EnvironmentId}/deployments

Path parameters

ApplicationIdstring required

The application ID.

EnvironmentIdstring required

The environment ID.

Query parameters

max_resultsinteger

The maximum number of items that may be returned for this call. If there are items that have not yet been returned, the response will include a non-null <code>NextToken</code> that you can provide in a subsequent call to get the next set of results.

next_tokenstring

The token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first set of results.

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Response

Success

NextTokenstring

The token for the next set of items to return. Use this token to get the next set of results.

Example response

{
  "Items": [
    {
      "CompletedAt": "2021-09-17T21:59:03.888000+00:00",
      "ConfigurationName": "Example-Configuration-Profile",
      "ConfigurationVersion": "1",
      "DeploymentDurationInMinutes": 15,
      "DeploymentNumber": 1,
      "FinalBakeTimeInMinutes": 0,
      "GrowthFactor": 25,
      "GrowthType": "LINEAR",
      "PercentageComplete": 100,
      "StartedAt": "2021-09-17T21:43:54.205000+00:00",
      "State": "COMPLETE"
    }
  ]
}