Can I retrieve using the REST API same information that I can retrieve from ImageServer using alarms methodcall?
I tried to call /api/rest/v1/alarms?time=gt:‘2024-05-22T00:00:00Z’,lt:‘2024-05-23T00:00:00Z’, but unlike ImageServer for the same time range, REST API doesn’t return any alarms.
It seems to me that despite having the same name - alarm - those are different things, right?
Yes. Those are different things.
The Imageserver protocol alarms are what we today would call sequences. It hasn’t been renamed as the compatibility has been maintained. However at Milestone we have stopped using this but is relying on RecorderCommandService.SequencesGet instead.
When it comes to what is today called alarms these are actually alarms, setup by an Alarm Definition, and triggered by some event. It is what you can see in the Smart Client Alarm Manager workspace.
You can read these alarms in more than one way, but not on the Imageserver protocol.
If not using the MIP library there is the Rest API as you have mentioned and also a SOAP based service, options are listed here.
If you have follow-up questions please clarify, do you want recorded sequences of video or do you want alarms?
I was interested in the sequences. I didn’t notice that those can also be retrieved from RecorderCommandService, as opposed to ImageServer.
Thanks.