Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

PurposeHTTP methodURLparametersexample
get all devicesGEThttp://localhost:7557/devices
curl -i 'http://localhost:7557/devices' -X GET
get Serialnr of specific deviceGETserial numbercurl -i 'http://localhost:7557/devices/?query={"_deviceId._SerialNumber":"abcd"}' -X GET
show tasks like factory resetGEThttp://localhost:7557/tasks
wget -qO- http://localhost:7557/tasks
Delete all tasks


for id in $(wget -qO- http://localhost:7557/tasks | grep -o '"_id":"[[:xdigit:]]\+"' | cut -d'"' -f4); do curl -i "http://localhost:7557/tasks/$id" -X DELETE; done
  • No labels