API Problem: Recursive Fetch to Search Camera not Succeed

Answered

Comments

3 comments

  • Avatar
    Andrey Terentyev

    Hello Rebew Yeh ,

    I'm sorry, it's not quite clear what are you trying to achieve.

    Could you please give more details on what is your objective? What is the desired final result of using these APIs?

    0
    Comment actions Permalink
  • Avatar
    Rebew Yeh

    Hello Andrey Terentyev

    • manualCamera/search
    • manualCamera/status

    These two command are combos.

    [/search] to get 'processUuid' 

    [/status] use processUuid to get result of 'search' 

    Result:

    I have two cameras online, so the desired final result is to add new cameras to NX server by these API.

    The expect result is that I get the two cameras' information, like the second image.
    But when I use js 'fetch' to do these action, I got problem like the first image.

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Hello,

    Here is an article on how to add a camera over API. Hope it helps.

    https://support.networkoptix.com/hc/en-us/articles/360026015473-Adding-a-camera-or-a-RTSP-stream-using-API

    ADDCAMERA

    0
    Comment actions Permalink

Please sign in to leave a comment.