v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13356598.3 KB
projects

Lookup a schema under the specified subject.

post/v1/{+parent}

Path parameters

parentstring required

Required. The subject to lookup the schema in. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject} or projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}

Request body

schemastring

Required. The schema payload

normalizeboolean

Optional. If true, the schema will be normalized before being looked up. The default is false.

schemaType'SCHEMA_TYPE_UNSPECIFIED' | 'AVRO' | 'JSON' | 'PROTOBUF'

Optional. The schema type of the schema.

deletedboolean

Optional. If true, soft-deleted versions will be included in lookup, no matter if the subject is active or soft-deleted. If false, soft-deleted versions will be excluded. The default is false.

Response

Successful response