Method: projects.locations.apis.versions.get

Get details about the API version of an API resource. This will include information about the specs and operations present in the API version as well as the deployments linked to it.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the API version to retrieve. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}

Request body

The request body must be empty.

Response body

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

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.versions.get

For more information, see the IAM documentation.