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

feat(errors): define some common error URIs #1357

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

ethanresnick
Copy link
Member

This is inspired by my comment here:

I’d love to create a set of error URIs on jsonapi.org that show canonical docs when dereferenced. Then, all the server implementations can point to those and get docs for free.

This also allows client implementations to recognize common errors automatically, if server implementations use these URIs.

@wimleers Like I mentioned in the other issue, you should have push access to this branch, so feel free to add other errors you think are relevant.

@dgeb Thoughts on having URIs like this on jsonapi.org?

@Panman82
Copy link

Panman82 commented Apr 5, 2019

FWIW, I already point to specific scheme headers for some errors, for cases where the spec says something MUST be this way and the request isn't...

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

Successfully merging this pull request may close these issues.

None yet

2 participants