-
-
Notifications
You must be signed in to change notification settings - Fork 38
Datasource: JSON
Rello edited this page Aug 25, 2026
·
9 revisions
The External JSON data source reads JSON from a URL that the Nextcloud server can reach. For URLs on a private network, see Data source reference.
Use it either as a real-time report source or in a data load that stores snapshots in an Internal Database dataset.
- URL
- HTTP method: GET or POST
- Object path: slash-separated object keys; separate individual values with commas
-
Content-Type and Custom headers: headers are written as
Name: value,Name: value -
Authentication:
user:passwordfor Basic authentication - Request body for POST requests
- Timestamp of data load for stored snapshots
For scalar values, use paths such as ocs/data/nextcloud/storage,ocs/data/nextcloud/shares. For an array, use braces to select the output fields, for example {BTC,tmsp,price}. A path before the braces selects a nested array: data/data{forecast,from,intensity/forecast}.
- Enable the Monitoring app and create an application password.
- Use
https://cloud.example/ocs/v2.php/apps/serverinfo/api/v1/info?format=json. - Set Authentication to
user:app-password. - Set Object path to
ocs/data/nextcloud/storage,ocs/data/nextcloud/shares. - Enable a timestamp only when storing historic snapshots.
Test the request before scheduling it. Do not put credentials in a public report link.