/api/getEvents only get the request NVR server event?

Answered

Comments

3 comments

  • Avatar
    Sergey Yuldashev

    Hi!

    Unfortunately system-wide method is not yet implemented.

    We'll discuss the best way to introduce it, thank you for letting us know it would be useful.

    0
    Comment actions Permalink
  • Avatar
    Joe T

    Any update on this? This looks to still be an issue on 4.2.

    0
    Comment actions Permalink
  • Avatar
    Sergey Yuldashev

    Hi Joe T,

    Indeed, the request is still server-wide.

    The implementation update is under development now, but won't get into the upcoming 5.0 version.

    As a workaround I would suggest using the below approach:

    1. Retrieve the ids for all servers merged into system with ec2/getMediaServers request
    2. Retrieve the events from all servers using one of the options and combine them together:
    • Use the http://<server_address>:<server_port>/proxy/http/<server_guid>/api/getEvents to get the events from the particular server with the id=server_guid
    • Use the standard request uri but add an http header to pass the request to the server with id=server_guid:
      X-server-guid: <server_guid>
    0
    Comment actions Permalink

Please sign in to leave a comment.