Subjects

POST /subjects/{subject}/versions

Register a new schema.

Request

  • The document declares no server URL.
  • Auth
    none declared

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

Changes

No recorded changes to this operation across all 5 revisions of this API.