-
Notifications
You must be signed in to change notification settings - Fork 0
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 vs. core's REST Module #43
Comments
The JSON:API is working properly. there is/was only a misinterpretation of the documentation it says: To get a node by its nid you have to use the filtering capabilities of the json api: As a sort of explanation. |
OK, great. So the csis-helpers-module should be extended to retrieve also the uuid. In the meantime we can use the filter capabilities but should be aware, that the awkward syntax may trigger some false positive security alerts: |
resolved |
According to this guide, it should be possible to access this node using Drupal 8's JSON:API via the following URI: https://csis.myclimateservice.eu/jsonapi/node/data-package/76
However, 404 Page not found is returned. Accessing the same node via the REST module does work: https://csis.myclimateservice.eu/node/76?_format=json
According to JSON:API vs. core's REST Module, the JSON:API should be the preferred method for accessing entities.
@fgeyer16 @patrickkaleta Could you please check why the JSON:API isn't working?
@therter Could you please make sure that the Map Component uses the JSON:API?
The text was updated successfully, but these errors were encountered: