Method: projects.locations.apis.versions.specs.artifacts.replaceArtifact

Used to replace a specified artifact.

HTTP request

PUT https://apigeeregistry.googleapis.com/v1/{artifact.name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
artifact.name

string

Resource name.

Request body

The request body contains an instance of Artifact.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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