Having trouble getting any sort of answer over in the nextcloud discord so I thought I’d ask here. Maybe one of you lovely people know.
I’m looking for some help with querying the Nextcloud API. Specifically, I would like to pull data that shows the storage size and file count but per external storage I have mapped. Is there an endpoint or a combination of API calls that can provide this information? Any examples or guidance on how to structure this request would be greatly appreciated.
Edit:
I’ve been experimenting with the /ocs/v2.php/apps/files_external/api/v1/mounts
endpoint, which provides a list of my external storages, but I can’t seem to retrieve details like storage usage or file count. Could you help identify an endpoint or provide some guidance on how to structure this query? I’m using basic authentication with an app password. If you think you can help, I’d really appreciate it!