Method: projects.locations.schemaRegistries.subjects.list

List subjects in the schema registry. The response will be an array of subject names.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
subjectPrefix

string

Optional. The context to filter the subjects by, in the format of :.{context}:. If unset, all subjects in the registry are returned. Set to empty string or add as '?subjectPrefix=' at the end of this request to list subjects in the default context.

deleted

boolean

Optional. If true, the response will include soft-deleted subjects. 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.