dots.v2.apps.byApp_Id().deployments.get()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.apps.byApp_Id(app_Id).deployments.get(requestConfiguration?: RequestConfiguration<DeploymentsRequestBuilderGetQueryParameters>): Promise<undefined | Apps_deployments_response>Description
List all deployments of an app.
Parameters
Path Parameters
app_Idstring requiredExample:
4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cfThe app ID
Query Parameters
pageinteger optionalExample:
1Which 'page' of paginated results to return.
perPageinteger optionalExample:
2Number of items returned per page
deploymentTypesarray of strings optionalExample:
["MANUAL", "AUTOSCALED"]Optional. Filter deployments by deployment_type
- MANUAL: manual deployment
- DEPLOY_ON_PUSH: deployment triggered by a push to the app's repository
- MAINTENANCE: deployment for maintenance purposes
- MANUAL_ROLLBACK: manual revert to a previous deployment
- AUTO_ROLLBACK: automatic revert to a previous deployment
- UPDATE_DATABASE_TRUSTED_SOURCES: update database trusted sources
- AUTOSCALED: deployment that has been autoscaled
Request Sample
Pagination
This method returns paginated results. The response includes a links.pages object with URLs for navigating between pages. To retrieve the next page, parse the next URL and pass the page query parameter:
let response = await client.v2.apps
.byApp_Id("4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf").deployments.get();
let pages = response?.links?.pages;
while (pages && "next" in pages && typeof pages.next === "string") {
const page = Number(new URL(pages.next).searchParams.get("page"));
response = await client.v2.apps
.byApp_Id("4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf").deployments.get({
queryParameters: {
page,
},
});
pages = response?.links?.pages;
}Response Example
More Information
See /v2/apps/{app_id}/deployments in the API reference for additional detail on responses, headers, parameters, and more.