Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

How to enable the plugin on the camera through the API?

Answered

Comments

2 comments

  • Official comment
    Nx Support

    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.

  • Permanently deleted user

    It helped. Everything works. Thanks.

    0

Please sign in to leave a comment.