-
Notifications
You must be signed in to change notification settings - Fork 830
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
Relationship response example in website #1613
Comments
Please open a PR. |
I also noticed that the difference between relationship links and related resource links is often confusing to people being new to the specification. I think mostly because most REST APIs do not support a concept, which is similar to relationship links. But to be honest I'm not sure if showing two different response payload in example would help much in that regard. Maybe a FAQ entry, which discusses the intent behind relationship links and what problems they address, may be more helpful? The specification contains example response payloads for relationship links by the way: Lines 1137 to 1204 in 0f145e6
|
Could you please provide an example for relationship responses in the examples section of the website, as this is really confusing for newbies of the spec. I did not grasp the difference in the response of
xxx/relationship/yyy
andxxx/yyy
from the spec alone.There is a great example here:
https://discuss.jsonapi.org/t/self-vs-related-links-and-what-to-return/1236/13
Maybe it is possible to copy that example, it was of great help for me.
Thanks for the spec 😁
The text was updated successfully, but these errors were encountered: