Compatibility (v1)

Test schema compatibility against all schemas under a subject

Test input schema against a subject's schemas for compatibility, based on the configured compatibility level of the subject. In other words, it will perform the same compatibility check as register for that subject. The compatibility level applied for the check is the configured compatibility level for the subject (http:get:: /config/(string: subject)). If this subject's compatibility level was never changed, then the global compatibility level applies (http:get:: /config).

post/compatibility/subjects/{subject}/versions

Path parameters

subjectstring required

Subject of the schema version against which compatibility is to be tested

Query parameters

verboseboolean

Whether to return detailed error messages

Request body

versioninteger

Version number

idinteger

Globally unique identifier of the schema

schemaTypestring

Schema type

schemastring

Schema definition string

propagateSchemaTagsboolean

Example request

{
  "references": [
    {
      "name": "io.confluent.kafka.example.User",
      "subject": "User",
      "version": 1
    }
  ]
}

Response

Compatibility check result.

Changes

No recorded changes to this endpoint across all 1 revision of this API.