Method: projects.locations.schemaRegistries.contexts.subjects.versions.list

Get all versions of a subject. The response will be an array of versions of the subject.

HTTP request

GET https://managedkafka.googleapis.com/v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*}/versions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The subject whose versions are to be listed. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schemaRegistry}/subjects/{subject} or projects/{project}/locations/{location}/schemaRegistries/{schemaRegistry}/contexts/{context}/subjects/{subject}

Query parameters

Parameters
deleted

boolean

Optional. If true, the response will include soft-deleted versions of an active or soft-deleted subject. 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.