I use the API to change a couple of cameras from Modect to Monitor and back at specific times during the day. It was working in .20, but doesn't work anymore.
Has there been a change, or is there something I can trace to help?
Code: Select all
/usr/bin/curl -XPOST http://localhost/zm/api/monitors/3.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
{"message":"Error"}