Method: organizations.apis.revisions.get

Gets an API proxy revision.

To download the API proxy configuration bundle for the specified revision as a zip file, do the following:

  • Set the format query parameter to bundle.
  • Set the Accept header to application/zip.

If you are using curl, specify -o filename.zip to save the output to a file; otherwise, it displays to stdout. Then, develop the API proxy configuration locally and upload the updated API proxy configuration revision, as described in updateApiProxyRevision.

HTTP request

GET https://apigee.googleapis.com/v1/{name=organizations/*/apis/*/revisions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. API proxy revision in the following format: organizations/{organizationId}/apis/{apiId}/revisions/{revision_id}

Query parameters

Parameters
format

string

Format used when downloading the API proxy configuration revision. Set to bundle to download the API proxy configuration revision as a zip file.

Request body

The request body must be empty.

Response body

If successful, the response is a generic HTTP response whose format is defined by the method.

Authorization Scopes

Requires the following OAuth scope:

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