v1

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

Check compatibility of a schema with all versions or a specific version of a subject.

post/v1/{+name}

Path parameters

namestring required

Required. The name of the resource to check compatibility for. The format is either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/*/versions: Check compatibility with one or more versions of the specified subject. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: Check compatibility with a specific version of the subject.

Request body

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

Optional. The schema type of the schema.

schemastring

Required. The schema payload

verboseboolean

Optional. If true, the response will contain the compatibility check result with reasons for failed checks. The default is false.

Response

Successful response