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

Get details about the information parsed from a spec. Note that this method does not return the raw spec contents. Use specs.getContents method to retrieve the same.

HTTP request

GET https://apihub.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/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.specs.get

For more information, see the IAM documentation.