v1
latestOpenAPI 3.0.32026-07-24214879985.1 KBThis endpoint retrieves an image based on a specified timestamp. You can indicate whether the image must be captured exactly at that timestamp or allow a nearest match before or after. The timestamp must be submitted in ISO 8601 format. Each request must include one timestamp parameter and specify the desired image type — either main or preview. Alternatively, by submitting a pageToken, the next/previous image from the last image is returned. In this case, none of the other parameters are used. Be aware that the image type main is rate-limited, and should not be used in quick succession. Additionally, it requires that a recording is available at the given timestamp param. If no recording is available at the given timestamp param a 404 NOT FOUND will be returned. If an overlay is requested in the include parameter, then at least one overlayId must be provided as part of the overlayId__in parameter. The list of available overlay ids can be retrieved using the GET /media/recordedImage.jpeg:listFieldValues API.
Query parameters
The ID of the device that generates the media.
Token provided by X-Een-NextToken or X-Een-PrevToken header of a previous image call. If this parameter is present no other parameters are required, and any sent will be ignored
The stream type of the device used to generate the media.
Return first image with timestamp less then.
Return first image with timestamp less or equal.
Return image at this exact timestamp.
Return first image with timestamp greater or equal.
Return first image with timestamp greater then.
What info will be included in the returned overlay. At least one id must be provided if an overlay is requested for the include parameter.
[ "een.motionDetectionEvent.v1" ]
The target width of the image to be returned. If not specified while targetHeight is, we scale the width to keep the aspect ratio of the image.
The target height of the image to be returned. If not specified while targetWidth is, we scale the height to keep the aspect ratio of the image.
Extra options that can be included in the api response:
- overlayEmbedded: draws the overlay on top of the source image resulting in a single jpeg
- overlaySvgHeader: adds the X-Een-OverlaySvg header containing the overlays as a SVG image
Response
OK