- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Get the schema string only for a version of a subject. The response will be the schema string.
HTTP request
GET https://managedkafka.googleapis.com/v1/{name=projects/*/locations/*/schemaRegistries/*/subjects/*/versions/*}/schema
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the subject to return versions. Structured like: |
Query parameters
| Parameters | |
|---|---|
deleted |
Optional. If true, no matter if the subject/version is soft-deleted or not, it returns the version details. If false, it returns NOT_FOUND error if the subject/version is soft-deleted. The default is false. |
Request body
The request body must be empty.
Response body
If successful, the response is a generic HTTP response whose format is defined by the method.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.