Method: projects.locations.apis.deployments.listRevisions

Stay organized with collections Save and categorize content based on your preferences.

Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.

HTTP request

GET https://apigeeregistry.googleapis.com/v1/{name=projects/*/locations/*/apis/*/deployments/*}:listRevisions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the deployment to list revisions for.

Query parameters

Parameters
pageSize

integer

The maximum number of revisions to return per page.

pageToken

string

The page token, received from a previous deployments.listRevisions call. Provide this to retrieve the subsequent page.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for ListApiDeploymentRevisionsResponse.

JSON representation
{
  "apiDeployments": [
    {
      object (ApiDeployment)
    }
  ],
  "nextPageToken": string
}
Fields
apiDeployments[]

object (ApiDeployment)

The revisions of the deployment.

nextPageToken

string

A token that can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization Scopes

Requires the following OAuth scope:

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