v1

latestOpenAPI 3.0.2Apache 2.02026-07-174217115.5 KB
Subjects

Register a new schema.

post/subjects/{subject}/versions

Path parameters

subjectstring required

Subject under which the schema will be registered.

Query parameters

normalizeboolean

If true, normalize the schema before comparing. Default is false.

formatstring

Desired output format. For AVRO: "" or "resolved". For PROTOBUF: "", "ignore_extensions", or "serialized".

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 successfully registered (or already exists).

idinteger required