List Deployments

GET

List Deployments in an Organization.

Path parameters

organizationIdstringRequired

The ID of the Organization to list Deployments for.

Query parameters

deploymentIdslist of stringsOptional

A list of IDs for Deployments to show. The API returns details only for the specified Deployments.

To list multiple Deployments, you must string together the parameter with the deploymentIds. For example, deployments?deploymentIds=deploymentId1&deploymentIds=deploymentId2

nameslist of stringsOptional

A list of names for Deployments to filter by. The API returns details only for the specified Deployments.

workspaceIdslist of stringsOptional

A list of IDs for Workspaces to filter on. The API returns details for all Deployments belonging only to the specified Workspaces.

offsetintegerOptional>=0Defaults to 0

The number of results to skip before returning values.

limitintegerOptional>=0Defaults to 20

The maximum number of results to return.

sortslist of enumsOptional

A list of field names to sort by, and whether to show results as ascending or descending. Formatted as <fieldName>:asc or <fieldName>:desc.

Response

OK

deploymentslist of objects

A list of Deployments in the current page.

limitinteger

The maximum number of Deployments in one page.

offsetinteger

The offset of the current page of Deployments.

totalCountinteger

The total number of Deployments.

Errors

Built with