- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
List the schema versions for the given schema id. The response will be an array of subject-version pairs as: [{"subject":"subject1", "version":1}, {"subject":"subject2", "version":2}].
HTTP request
GET https://managedkafka.googleapis.com/v1/{parent=projects/*/locations/*/schemaRegistries/*/schemas/**}/versions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The schema whose schema versions are to be listed. Structured like: |
Query parameters
Parameters | |
---|---|
subject |
Optional. The subject to filter the subjects by. |
deleted |
Optional. If true, the response will include soft-deleted versions of the schema, even if the subject 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.