Fetching live JPEG snapshot using REST API

I have a use case which requires fetching a JPEG image from a selection of cameras every ~30 seconds using a REST API. The JPEG image should be as recent as possible. I am unable to find an obvious endpoint for this in the REST documentation.

Could you please let me know if fetching images through the REST APi is currently supported?

The REST API does unfortunately not support getting JPEG image snapshot. REST API will be extended gradually in the future, and it is the hope and ambition that it will span a full range of functionality towards the Milestone XProtect VMS. Keep an eye out on the news whenever there is a new version.

For now my recommendation is to use the MIP Library, here is a good sample: https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/camerastreamresolution/readme.html&tree=tree_2.html

Hi @Bo Ellegård Andersen (Milestone Systems)​

Has support for the snapshot retrieval been added to the REST API? Specifically, for Milestone 2024 and above.

Thanks,

Dani

I too need this

The JpegGetLive task was added to the Rest API in 2025R1.

https://doc.developer.milestonesys.com/mipvmsapi/api/config-rest/v1/#tag/DeviceConfig/operation/postTaskForCameras