Skip to content

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

Open
ethanresnick wants to merge 1 commit into
json-api:gh-pagesfrom
ethanresnick:error-uris
Open

feat(errors): define some common error URIs#1357
ethanresnick wants to merge 1 commit into
json-api:gh-pagesfrom
ethanresnick:error-uris

Conversation

@ethanresnick

Copy link
Copy Markdown
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

Panman82 commented Apr 5, 2019

Copy link
Copy Markdown

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.

2 participants