Method: organizations.environments.deployments.list

Lists all deployments of API proxies or shared flows in an environment.

HTTP request

GET https://apigee.googleapis.com/v1/{parent=organizations/*/environments/*}/deployments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the environment for which to return deployment information in the following format: organizations/{org}/environments/{env}

Authorization requires the following IAM permission on the specified resource parent:

  • apigee.deployments.list

Query parameters

Parameters
sharedFlows

boolean

Optional. Flag that specifies whether to return shared flow or API proxy deployments. Set to true to return shared flow deployments; set to false to return API proxy deployments. Defaults to false.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListDeploymentsResponse.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform