Method: projects.locations.apis.versions.specs.get

Returns a specified spec.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the spec to retrieve. Format: projects/*/locations/*/apis/*/versions/*/specs/*

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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