...
GET http://IP-addressAddress:port/prefix/archive/media/{VIDEOSOURCEID}/{STARTTIME} – gets frame by its STARTTIME. Frame is returned in JPEG format.
...
Parameter | Required | Description | |||||
---|---|---|---|---|---|---|---|
threshold | No | If there is no frame at a given time, then the first frame from the [STARTTIME; STARTTIME + threshold] range is returned, where threshold is specified in milliseconds. If there is no frame in the specified range, then there will be a 404 Not Found error in the response. | |||||
w h | No | w – frame width, h – frame height.
| |||||
left top right bottom | No | left – horizontal indent from the upper left corner. Possible values are 0 to 1. The default is 0. top – vertical indent from the upper left corner. Possible values are 0 to 1. The default is 0. right – the ratio of the original image width. Possible values are 0 to 1. The default is 1. bottom – the ratio of the original image hight. Possible values are 0 to 1. The default is 1. |
Sample request: 1:
GET http://127.0.0.1:80/archive/media/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0/20210910T092100
Query result:
Sample request: 2:
GET http://127.0.0.1:80/archive/media/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0/20210910T092200?archive=hosts/SERVER1/MultimediaStorage.AntiqueWhite/MultimediaStorage
Query result:
GET http://IP-addressAddress:port/prefix/archive/contents/frames/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} – getting the time of frames registration in the archive.
...