-
Notifications
You must be signed in to change notification settings - Fork 37
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
Update requirements for top-level "included" #212
Comments
There is issue #183 opened to discuss the support of JSON API's |
My opinion:
What do you think? |
@merkys, so to sum up, from the POV of the OPTiMaDe spec, what I understand by your points (just to ensure we're on the same page): The top-level And then either:
|
@CasperWA, now I see the conflicting statements I've made :) So when And there are two alternative ways to deal with the implicit case, i.e., when
I have a feeling (can't prove it, though) that 2. might be against JSON API spec., as presence of |
Considering these two things, it seems to me that when |
My interpretation is (and would sound) the same :)
I meant option 2. being the default when |
Great! I think we can try putting this into the spec. now 👍 |
From the consortium meeting on 26.11.2019 we have decided the following:
If a related resource is of type
references
it SHOULD be included under the top-levelincluded
field.For any other related resource types it MAY be included under the top-level
included
field.There is as of yet no consensus on limitation on how many resource objects may be returned under
included
.There is also no consensus on whether we want to use the
include
query parameter.The text was updated successfully, but these errors were encountered: