v1

latestOpenAPI 3.0.2Apache 2.02026-07-174217115.5 KB
Subjects

Checks if a given schema matches the schema at the specified version. Returns the schema details if it matches, or 404 if it does not.

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

Path parameters

subjectstring required

Name of the subject.

versionstring required

Version of the schema to check against.

Query parameters

normalizeboolean

Normalize the schema content before comparing.

formatstring

Desired output format.

deletedboolean

Lookup for soft-deleted values.

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

Schema version data if the given schema matches.

subjectstring required

The name of the subject this schema belongs to.

versioninteger required

The version of the schema under the subject.

idinteger

The globally unique ID of the schema.

schemastring required

The actual schema definition as a string.

schemaTypestring

The type of the schema (AVRO, PROTOBUF, JSON). Default is AVRO.