有人面对VAPIX 3
api吗?我需要启用/禁用相机的操作规则。从互联网上翻阅一些 api,我没有找到任何关于操作规则的具体信息,所以我嗅探了来自网络面板的请求。在所需的操作上,它发送 4 个肥皂请求:
curl 'http://**.***.***.***:****/vapix/services?timestamp=1395407004744'
-X POST -H 'Host: **.***.***.***:****'
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:28.0) Gecko/20100101 Firefox/28.0'
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
-H 'Accept-Language: en-US,en;q=0.5'
-H 'Accept-Encoding: gzip, deflate'
-H 'SOAPAction: http://www.axis.com/vapix/ws/action1/RemoveActionRule'
-H 'Content-Type: text/xml; charset=utf-8'
-H 'Referer: http://**.***.***.***:****/operator/action_rule_setup.shtml?doAction=modify&ruleId=18×tamp=1395406986842'
curl 'http://**.***.***.***:****/vapix/services?timestamp=1395407005154'
-X POST -H 'Host: **.***.***.***:****'
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:28.0) Gecko/20100101 Firefox/28.0'
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
-H 'Accept-Language: en-US,en;q=0.5'
-H 'Accept-Encoding: gzip, deflate'
-H 'SOAPAction: http://www.axis.com/vapix/ws/action1/RemoveActionConfiguration'
-H 'Content-Type: text/xml; charset=utf-8'
-H 'Referer: http://**.***.***.***:****/operator/action_rule_setup.shtml?doAction=modify&ruleId=18×tamp=1395406986842'
curl 'http://**.***.***.***:****/vapix/services?timestamp=1395407005333'
-X POST
-H 'Host: **.***.***.***:****'
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:28.0) Gecko/20100101 Firefox/28.0'
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
-H 'Accept-Language: en-US,en;q=0.5'
-H 'Accept-Encoding: gzip, deflate'
-H 'SOAPAction: http://www.axis.com/vapix/ws/action1/AddActionConfiguration'
-H 'Content-Type: text/xml; charset=utf-8'
-H 'Referer: http://**.***.***.***:****/operator/action_rule_setup.shtml?doAction=modify&ruleId=18×tamp=1395406986842'
curl 'http://**.***.***.***:****/vapix/services?timestamp=1395407005575'
-X POST
-H 'Host: **.***.***.***:****'
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:28.0) Gecko/20100101 Firefox/28.0'
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
-H 'Accept-Language: en-US,en;q=0.5'
-H 'Accept-Encoding: gzip, deflate'
-H 'SOAPAction: http://www.axis.com/vapix/ws/action1/AddActionRule'
-H 'Content-Type: text/xml; charset=utf-8'
-H 'Referer: http://**.***.***.***:****/operator/action_rule_setup.shtml?doAction=modify&ruleId=18×tamp=1395406986842'
我真的需要删除/创建禁用/启用操作吗?