Method: projects.locations.apis.versions.artifacts.getContents

Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mimeType response field indicates the exact format returned).

HTTP request

GET https://apigeeregistry.googleapis.com/v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}:getContents

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*

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