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 |
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 |
Required. The tag to apply. The tag should be at most 40 characters, and match |
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