Set the compatibility level for a subject.

PUT /config/{subject}

Path parameters

  • subject string Required

Body

  • compatibility string

    Compatibility level

    Values are BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, or NONE.

Body

  • compatibility string

    Compatibility level

    Values are BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, or NONE.

Body

  • compatibility string

    Compatibility level

    Values are BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, or NONE.

Responses

  • OK

    Hide response attribute Show response attribute object
    • compatibility string

      Compatibility level

      Values are BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, or NONE.

    Hide response attribute Show response attribute object
    • compatibility string

      Compatibility level

      Values are BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, or NONE.

    Hide response attribute Show response attribute object
    • compatibility string

      Compatibility level

      Values are BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, or NONE.

  • Internal Server Error

    Hide response attributes Show response attributes object
    • error_code integer
    • message string
    Hide response attributes Show response attributes object
    • error_code integer
    • message string
    Hide response attributes Show response attributes object
    • error_code integer
    • message string
PUT /config/{subject}
curl \
 --request PUT 'http://localhost:8081/config/{subject}' \
 --header "Content-Type: application/vnd.schemaregistry.v1+json"
curl \
 --request PUT 'http://localhost:8081/config/{subject}' \
 --header "Content-Type: application/vnd.schemaregistry+json"
curl \
 --request PUT 'http://localhost:8081/config/{subject}' \
 --header "Content-Type: application/json" \
 --data '{"compatibility":"FULL_TRANSITIVE"}'
Request examples
{
  "compatibility": "FULL_TRANSITIVE"
}
Request examples
{
  "compatibility": "FULL_TRANSITIVE"
}
Request examples
{
  "compatibility": "FULL_TRANSITIVE"
}
Response examples (200)
{
  "compatibility": "FULL_TRANSITIVE"
}
Response examples (200)
{
  "compatibility": "FULL_TRANSITIVE"
}
Response examples (200)
{
  "compatibility": "FULL_TRANSITIVE"
}
Response examples (500)
{
  "error_code": 42,
  "message": "string"
}
Response examples (500)
{
  "error_code": 42,
  "message": "string"
}
Response examples (500)
{
  "error_code": 42,
  "message": "string"
}