NX V6 PTZ API

Completed

Comments

2 comments

  • Avatar
    Ichiro

    Hi Jackson,

    Thanks for your question, I have created an internal ticket on behalf of you. 
    Please check your mail inbox and we will coordinate with you via the ticket.

    Thanks.

     

    0
    Comment actions Permalink
  • Avatar
    Ichiro

    We have confirmed that it is a bug that the Nx Server replies to the Get PTZ presets API /rest/v3/devices/{deviceId}/ptz/presets with the zero deviceId.
    This issue will be fixed in the next release. (i.e. Nx 6.0.2 and onward.)


    Regarding the Activate PTZ Preset API, the presetId is a string in the API structure, therefore, it should be circled by the curly brackets. Therefore, the API request should be like:

    POST /rest/v3/devices/<deviceId>/ptz/presets/{<presetId>}/activate

    Body:
    {
    "speed": <speed>
    }

     
     
    Thank you.

    0
    Comment actions Permalink

Please sign in to leave a comment.