How to enable the plugin on the camera through the API?
Answered
0
-
Official comment
Hi Alexey,
Basically what you need is to do the following:
Perform a POST API request '/ec2/setResourceParams' with the following payload:
[
{
"name": "userEnabledAnalyticsEngines",
"resourceId": <camera_UUID>,
"value": "[\"<analytics_engine_UUID>\"]"
}
]If you don't know where to find the UUID of a camera, you can check the '/ec2/getCameras' GET request, and for engine_UUID please refer to a reply to '/ec2/getAnalyticsEngines' GET request.
Please let us know if everything works out fine for you.
-
It helped. Everything works. Thanks.
0
Please sign in to leave a comment.
Comments
2 comments