Would it be possible to modify this module to allow you to provide a local API endpoint for data retrieval? For example the query settings allow for a file path, or an absolute URL. Would it be possible that you could provide it a local route url and retrieve json data that way?
The example I am providing is this:
I have a Drupal website setup, and I also have a secondary non Drupal database configured and setup. I have a custom module and controller/routes to serve data from the secondary database to API endpoints. I would like to use this module to access those local endpoints to retrieve the data from the secondary database, so that I can use views with that data.
Comments
Comment #2
venugopp commentedHere is a patch allowing to add drupal token to the URL.
EG: [site:url]modules/contrib/views_json_source/data/sample/example1.json
Comment #4
venugopp commented