Skip to main content

A list of all currently available JavaScript API calls, for example: "external.c2pplayback" to open the camera.

Answered

Comments

11 comments

  • Ichiro
    • Network Optix team

    Hi Jordan IUNCKER,

    I have put this question to developer forum for you. 
    Thanks, please keep following on this thread.

    0
  • Andrey Terentyev
    • Network Optix team

    Hi,

    A developer friend want try to create a 3D mapping work with Nx, so he need to setup API to open camera directly on the map on a popup, use trigger, alarm etc...

    Does the "Open layout" action suit your needs?

    0
  • Jordan IUNCKER

    Yes for example, 

    Opening a camera is: external.c2pplayback

    I think you have other API calls to open for example a layout.

    and an API call to use SOFT TRIGGER ?

    Do you have a small list? 

    0
  • Andrey Terentyev
    • Network Optix team

    Hi Jordan,

    We don't yet have any docs publically available. We hope for having an article published in the nearest future.

    Here is a code example https://github.com/networkoptix/nx_open_integrations/tree/master/js_api_example

    0
  • Jordan IUNCKER

    Hello Andrey Terentyev

     

    Thank you.

    Can you explain a bit about what we can do with this? I mean more than with the REST API? 

    0
  • Andrey Terentyev
    • Network Optix team

    In version 5.0 we extended possibilities of so calls client api. It facilitates manipulating elements inside GUI client.

    The external.c2pplayback is one of the methods we published time ago.

    and an API call to use SOFT TRIGGER ?

    Soft trigger is a part of camera event rule which can be created/manipulated via Server APIs /ec2/getEventRules and /ec2/saveEventRules. You can read details in the API documentation in the Serve Web interface. Here is an article on the topic

    https://support.networkoptix.com/hc/en-us/articles/115016055728-API-tip-How-to-create-or-modify-Event-Rule

    0
  • Jordan IUNCKER

    Hi Andrey Terentyev

    Any news about the JS API?

    Can you send me a documentation with all the JS API calls? Like "external.c2pplayback"? 
    This API call opens a device in Nx but not live... We have to open the camera with live stream

    Thanks

     

    0
  • Jordan IUNCKER

    Hi Andrey Terentyev

    This link dont list all JS API Calls

    Please, any docs like the REST API Doc etc... ? 

     

     

    0
  • Andrey Terentyev
    • Network Optix team

     

    This link dont list all JS API Calls

    There is no other documentation on JS API, at the moment.

    Please, any docs like the REST API Doc etc... ? 

    The REST API documentation is available in the Server web interface, as it used to be.

    https://localhost:7001/#/api-tool/main?version=current%20api

    0
  • Jordan IUNCKER

    Hello Andrey Terentyev & Norman 

    Can you explain how to open camera in live and not in play-back with the JavaScript API ? 

    Best regards,

    0

Please sign in to leave a comment.