- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Get schema config at global level or for a subject.
HTTP request
GET https://managedkafka.googleapis.com/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/config/**}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The resource name to get the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schemaRegistry}/config: Get config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schemaRegistry}/config/{subject}: Get config for a specific subject. |
Query parameters
Parameters | |
---|---|
defaultToGlobal |
Optional. If true, the config will fall back to the config at the global level if no subject level config is found. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SchemaConfig
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.