Method: projects.locations.apis.deployments.tagRevision

Adds a tag to a specified revision of a deployment.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the deployment to be tagged, including the revision ID.

Request body

The request body contains data with the following structure:

JSON representation
{
  "tag": string
}
Fields
tag

string

Required. The tag to apply. The tag should be at most 40 characters, and match [a-z][a-z0-9-]{3,39}.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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