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

Deteremine how to support multiple response formats #39

Open
JeroenDeDauw opened this issue Dec 2, 2015 · 0 comments
Open

Deteremine how to support multiple response formats #39

JeroenDeDauw opened this issue Dec 2, 2015 · 0 comments

Comments

@JeroenDeDauw
Copy link
Owner

The way GitHub does this using the request Accept header seems nice. For QueryR this would mean:

Default format using one of:

application/json
application/vnd.queryr+json

Explicit version specification (solves part of #1):

application/vnd.queryr.v1+json

Specifying alternate formats:

application/vnd.queryr.v1.jsonld+json

Or should the above better be done as follows? (Might be answered in this RFC)

application/vnd.queryr.v1+jsonld

The Accept header would be the only way to specify the response format.

Any alternate suggestions?

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

No branches or pull requests

1 participant