v1

latestOpenAPI 3.0.32026-07-13351892.0 KB
Registry

GetApiSpecContents returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).

get/v1/projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}:getContents

Path parameters

projectstring required

The project id.

locationstring required

The location id.

apistring required

The api id.

versionstring required

The version id.

specstring required

The spec id.

Response

OK