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

JSON API Server Responsibilities #57

Open
3 tasks
MP0w opened this issue Apr 30, 2016 · 0 comments
Open
3 tasks

JSON API Server Responsibilities #57

MP0w opened this issue Apr 30, 2016 · 0 comments

Comments

@MP0w
Copy link
Member

MP0w commented Apr 30, 2016

Server responsibilities (needs #56)

  • Servers MUST send all JSON API data in response documents with the header Content-Type: application/vnd.api+json without any media type parameters
  • Servers MUST respond with a 415 Unsupported Media Type status code if a request specifies the header Content-Type: application/vnd.api+json with any media type parameters.
  • Servers MUST respond with a 406 Not Acceptable status code if a request's Accept header contains the JSON API media type and all instances of that media type are modified with media type parameters.

http://jsonapi.org/format/

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

No branches or pull requests

1 participant