-
-
Notifications
You must be signed in to change notification settings - Fork 31
Datasource: JSON
Rello edited this page Feb 4, 2020
·
8 revisions
With the JSON datasource, you can extract data from an external JSON service
- grab Nextcloud statistics from monitoring API (see below)
- URL needs to be accessible by Nextcloud
- Report -> advanced config
- add "JSON" Dataload
- maintain parameters
- testrun until the required parameters arrive
- URL of json
- authentication
- json path
- timestamp t/f
Monitor the Nextcloud instance via its internal API
- monitoring app needs to be enabled
- access token needs to be created
- URL: http://server/nextcloud/ocs/v2.php/apps/serverinfo/api/v1/info?format=json
- Auth: user:token
- Path: ocs/data/nextcloud/storage
- Timestamp true