- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Fetch additional spec content.
HTTP request
GET https://apihub.googleapis.com/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:fetchAdditionalSpecContent
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the spec whose contents need to be retrieved. Format: |
Query parameters
| Parameters | |
|---|---|
specContentType |
Optional. The type of the spec contents to be retrieved. |
Request body
The request body must be empty.
Response body
The specs.fetchAdditionalSpecContent method's response.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"additionalSpecContent": {
object ( |
| Fields | |
|---|---|
additionalSpecContent |
The additional spec content. |
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.