Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint with schema’s raw JSON #381

Closed
rkluszczynski opened this issue Jul 19, 2016 · 1 comment
Closed

Endpoint with schema’s raw JSON #381

rkluszczynski opened this issue Jul 19, 2016 · 1 comment

Comments

@rkluszczynski
Copy link

Hello,
when using schema-registry in version 3.0.0, there is no method to get schema as valid JSON in response body. For example this is needed for Hive integration with schema-registry. This could be accomplished in two ways.

First would use query parameter to force JSON response.

GET /subjects/(string: subject)/versions/(versionId: version)?format=json

Second would be additional endpoint which should just output JSON.

GET /subjects/(string: subject)/versions/(versionId: version)/raw

I think, possible errors should be handled the same way like by endpoint:
GET /subjects/(string: subject)/versions/(versionId: version).

What do you think, is it possible to add such endpoint to schema-registry?
We are eager prepare the pull request:)

Kind regards,
Rafal Kluszczynski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants