v1

latestOpenAPI 3.0.2Apache 2.02026-07-174217115.5 KB
Compatibility

post/compatibility/subjects/{subject}/versions/{version}

Path parameters

subjectstring required

Subject of the schema version to check compatibility against.

versionstring required

Version of the subject's schema to check against. Can be a number, 'latest', or '-1'.

Query parameters

verboseboolean

If true, includes reason when compatibility fails. Default is false.

normalizeboolean

If true, normalize the schema before checking compatibility. Default is false.

Headers

X-Registry-GroupIdstring

Group id in Apicurio Registry.

Request body

schemastring required

The schema definition as a string.

schemaTypestring

The schema format (AVRO, PROTOBUF, JSON). Default is AVRO.

metadataobject

Optional metadata associated with the schema.

ruleSetobject

Optional ruleset configuration for the schema.

Response

Compatibility check result.

is_compatibleboolean required

True if the schema is compatible, false otherwise.

Example response

{
  "is_compatible": true
}