schema-registry icon indicating copy to clipboard operation
schema-registry copied to clipboard

GET /config and GET /config/{subject} incorrect return format

Open granders opened this issue 10 years ago • 3 comments

According to documentation, the response to GET on /config and /config/{subject} should be json with

{ "compatibility": }

Instead, it is

{ "compatibilityLevel": }

This is inconsistent with the return type from POST requests to the same endpoints, and inconsistent with documentation. The returned JSON should have the field "compatibility"

granders avatar Jun 09 '15 18:06 granders

We need to be careful about compatibility here (no pun intended). We should leave the compatibilityLevel field in, fix it to include compatibility, and updated the docs to clarify that compatibilityLevel is deprecated.

ewencp avatar Jun 09 '15 20:06 ewencp

@joel-hamill https://docs.confluent.io/current/schema-registry/docs/using.html#getting-the-top-level-config should be fixed to say compatibility instead of compatibilityLevel

mageshn avatar Nov 09 '18 22:11 mageshn

Hey congrats, this issue just turned 10 y.o. Doesn't sound that complicated?

th0ger avatar Oct 16 '25 10:10 th0ger