Can I temporarily override my Auto-upload Query Filter?

Yes, you can change the Query Filter State of the Box settings to ignore your Auto-upload Query Filter via the UI or API

UI

The three choices shown in the UI correspond to these API values:

  • armed to upload everything, ignoring the filter
  • disarmed to upload nothing, ignoring the filter
  • default to upload only the Events that match your Auto-upload Query Filter

The Box settings on the https://camio.com/boxes page shows these choices:

Screen_Shot_2020-04-06_at_10.20.02_AM.png

API

"armed" to upload everything

curl \
-H "Authorization: token YOURTOKEN" \
-H "Content-Type: application/json" \
-d '{"device_id":"njLqpBkMrOIwnr","event_auto_upload_query_filter_state": "armed"}' \
-X POST https://camio.com/api/devices/requests/configuration

"disarmed" to upload nothing

curl \
-H "Authorization: token YOURTOKEN" \
-H "Content-Type: application/json" \
-d '{"device_id":"njLqpBkMrOIwnr","event_auto_upload_query_filter_state": "disarmed"}' \
-X POST https://camio.com/api/devices/requests/configuration

"default" to upload Events matching Auto-upload Query Filter

curl \
-H "Authorization: token YOURTOKEN" \
-H "Content-Type: application/json" \
-d '{"device_id":"njLqpBkMrOIwnr","event_auto_upload_query_filter_state": "default"}' \
-X POST https://camio.com/api/devices/requests/configuration
Have more questions? Submit a request

Comments