I am trying to get the folder completion status of a device using the REST API. The below command works but the output is of no use as it doesn’t contain any device or folder information.
curl -X GET -H "X-API-Key: " http://127.0.0.1:8384/rest/db/completion {“completion”:0,“globalBytes”:0,“needBytes”:0,“needDeletes”:0}
I tried using the device & folder parameter, but every time I get a message that curl: No match.
curl -X GET -H "X-API-Key: " http://127.0.0.1:8384/rest/db/completion?device=deviceID&folder=foldername
What am I doing wrong here? or is there any other better way to get the folder completion status of a device.
Appreciate your help.
Thanks