REST API Endpoints

I would like to know if I can get the report on following using the REST API. If so, what are the endpoints. If not what option do I have to get that remotely.

  • ONVIF Bridge Service status
  • Mobile server status
  • Camera Stream (check if there is video signal in the stream)
  • Get related logs on the hardware (camera) e.g. communications (online/offline), outage duration, latency

The two first can be seen in the Management Client, System Dashboard, System Monitor. Unfortunately there is no API for the System Dashboard.

The camera stream can be be monitored for communication errors, this tells you if there is a video signal from the camera. The Events and State API is recommended. (WebSocket not REST) - https://doc.developer.milestonesys.com/mipvmsapi/api-overview/integrations/events/

The logs can currently only be read programmatically by using the MIP SDK library. There are plans for a more modern logs interface, but I cannot say when it will arrive. For a MIP SDK sample see - https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/logread/readme.html&tree=tree_2.html

If you are more interested in the errors and less in the logs, then I guess you can again follow the error events as outlined about monitoring camera streams.

Thank you for your response.

Regarding Events and State API to monitor communication error for camera stream, does it tell if there is any feed in the camera even if the stream is showing? Effectively there is no communication error but there might be no feed in the stream.