Method: organizations.apis.revisions.updateApiProxyRevision

Updates an API proxy revision. This operation is only allowed on revisions which have never been deployed. After deployment a revision becomes immutable, even if it becomes undeployed.

The payload is a ZIP-formatted API proxy. Content type must be either multipart/form-data or application/octet-stream.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the API proxy revision to update. Must be of the form: organizations/{organizationId}/apis/{api_id}/revisions/{revision_id}

Query parameters

Parameters
validate

boolean

Ignored. All uploads are validated regardless of the value of this field. It is kept for compatibility with existing APIs. Must be true or false if provided.

Request body

The request body contains an instance of HttpBody.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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