api change camera states

Post Reply
zemerdon
Site Admin
Posts: 310
Joined: Mon Jan 23, 2023 8:13 pm

api change camera states

Post by zemerdon »

stop camera

curl -XPOST http://192.168.1.13/zm/api/monitors/3.json -d "Monitor[Function]=None&None[Enabled]=1"

monitor only

curl -XPOST http://192.168.1.13/zm/api/monitors/2.json -d "Monitor[Function]=Monitor&Monitor[Enabled]=1"

start camera with mocord

curl -XPOST http://192.168.1.13/zm/api/monitors/3.json -d "Monitor[Function]=Mocord&Monitor[Enabled]=1"

Please choose one of the following values : None, Monitor, Modect, Record, Mocord, Nodect
Post Reply