You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the REST API examples included in Github and cbapi.readthedocs.io show GET usage and what is returned, but there are very few examples showing PUT methods for updating sensors and sensor groups, for example.
PUT methods may require different parameters in the JSON payload that might not be documented. For example, I tried to update a sensor ID with {"uninstall": "true"} but it also required that I include "groupid" or it would throw a traceback.
Could you add some more robust documentation around using PUT, POST, or DELETE methods for sensors and sensor groups (or everywhere) with examples using curl (for REST API).
The text was updated successfully, but these errors were encountered:
Most of the REST API examples included in Github and cbapi.readthedocs.io show GET usage and what is returned, but there are very few examples showing PUT methods for updating sensors and sensor groups, for example.
PUT methods may require different parameters in the JSON payload that might not be documented. For example, I tried to update a sensor ID with {"uninstall": "true"} but it also required that I include "groupid" or it would throw a traceback.
Could you add some more robust documentation around using PUT, POST, or DELETE methods for sensors and sensor groups (or everywhere) with examples using curl (for REST API).
The text was updated successfully, but these errors were encountered: