Method: projects.locations.schemaRegistries.schemas.subjects.list

List subjects which reference a particular schema id. The response will be an array of subject names.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
subject

string

Optional. The subject to filter the subjects by.

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.