netdata-nextcloud
netdata-nextcloud copied to clipboard
Add support to NC-Token
NextCloud 25 allows to use the /ocs/v2.php/apps/serverinfo/api/v1/info
endpoint without user/password. As described at settings/admin/serverinfo
page:
To use an access token, please generate one then set it using the following command:
occ config:app:set serverinfo token --value yourtoken
Then pass the token with the "NC-Token" header when querying the above URL.