Open JeroenDeDauw opened 8 years ago
The way GitHub does this using the request Accept header seems nice. For QueryR this would mean:
Accept
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?
The way GitHub does this using the request
Accept
header seems nice. For QueryR this would mean:Default format using one of:
Explicit version specification (solves part of #1):
Specifying alternate formats:
Or should the above better be done as follows? (Might be answered in this RFC)
The Accept header would be the only way to specify the response format.
Any alternate suggestions?