Replies: 4 comments
-
For what I can see from the specification, APIS built using the JSON:API spec return a specific form of JSON. If the request can be made as an HTTP GET I guess it is sufficient to write a SERVICE clause such as:
This will allow to query the content through Facade-X |
Beta Was this translation helpful? Give feedback.
-
i was able to successfully do something like this today. the API endpoint returns json but i needed to add an HTTP header in the request (with an authorization token). so i had to do a fork which additionally treats all properties as HTTP headers. then i just did something like:
|
Beta Was this translation helpful? Give feedback.
-
@akuckartz i think this works. here is an example using the arxiv REST API. it returns xml instead of json but sparql anything handles the json just fine too. https://github.com/justin2004/weblog/tree/master/dynamic_pagination_with_sparql_anything |
Beta Was this translation helpful? Give feedback.
-
I think we can mark this as solved. |
Beta Was this translation helpful? Give feedback.
-
Any idea on how to integrate data exposed using a JSON:API based API ?
That would help to integrate data contained in Drupal-systems. See https://www.drupal.org/docs/core-modules-and-themes/core-modules/jsonapi-module
Beta Was this translation helpful? Give feedback.
All reactions