Monitor States are Presets that allow you to modify multiple monitors at once. This functionality is similar to ZoneMinder's "Alarm States".
http://xxx.xxx.xxx.xxx/[API KEY]/monitorStates/[GROUP KEY]
Only the values that you provide are changed. You can export your Monitor to get a list of possible choices.
data
query string needs to contain the monitors
array. In this array you can place any set of configurations to change for your monitors
http://xxx.xxx.xxx.xxx/[API KEY]/monitorStates/[GROUP KEY]/[PRESET_NAME]/insert?data={"monitors":[]}
http://xxx.xxx.xxx.xxx/[API KEY]/monitorStates/[GROUP KEY]/[PRESET_NAME]/insert?data={"monitors":[{"mid":"[MONITOR_ID_1]","mode":"stop","details":{"detector":"0"}}]}
http://xxx.xxx.xxx.xxx/[API KEY]/monitorStates/[GROUP KEY]/[PRESET_NAME]/insert?data={"monitors":[{"mid":"[MONITOR_ID_1]","mode":"start","details":{"detector":"1"}}]}
http://xxx.xxx.xxx.xxx/[API KEY]/monitorStates/[GROUP KEY]/[PRESET_NAME]/delete
http://xxx.xxx.xxx.xxx/[API KEY]/monitorStates/[GROUP KEY]/[PRESET_NAME]