Hi - I have been using the REST API’s JpegGetLive endpoint. Is there any functionality to get a JPEG from a recording timestamp (Not using SOAP), or when is this planned?
Fortunately there is.
Unfortunately the documentation is missing this. I will instead illustrate with an example..
POST /api/rest/v1/cameras/[cameraId]?task=JpegGet
body -
{
“timeStamp” : “2026-03-05T10:35:54.000+02:00”
}
-
PS.
I will ask Milestone Development if the documentation can be corrected to include this.
I wasn’t aware of this! Do you know what version of Milestone this is supported in? I’m not having success
This task, JpegGet, is very new, introduced in 2025R3.
Tip. A quick way to see if you have that task…
GET /api/rest/v1/cameras/[cameraId]?tasks
Hi Bo! Is there an option to indicate a resolution for the snapshot over the REST api?
No.
You can only get the recorded resolution.
I see the usefulness of what you ask and will make a note to Milestone Product Management so that is might be consider for future enhancement development work.
There is also a JpegGetLive, where you specify “width” and “height” properties instead of the “timestamp” for JpegGet. But use with case, it uses CPU to transcode on the Recording Server.