Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Getting video from archive -   Archive export Next page


General request format (1st way):

GET http://IP-address:port/web2/secure/video/action.do?version={version}&sessionid={sessionid}&video_in={video_in}&command=arc.frame&time={time}&range={range}&login={login}&password={password}

Request parameters:

Parameter

Is required

Description

versionYes

See Product version

sessionidNoSession ID
video_inYesCamera ID in the format "TYPE:ID", for example "CAM:1"
commandYesCommand to get video from archive: arc.frame
timeYesFrame time
rangeNoTime in seconds to specify search range of the nearest frame relatively the time parameter (the nearest frame all over archive is searched if this parameter is not specified);
imageWidthNoWidth in pixels (is counted automatically with saving proportions if it isn't specified or equal 0)
imageHeightNoHeight in pixels (is counted automatically with saving proportions if it isn't specified or equal 0)
login NoAxxon PSIM username, if set
password NoAxxon PSIM user password, if set

Request example:

GET http://127.0.0.1:8085/web2/secure/video/action.do?version=1.0.1.224&sessionid=29101F1&video_in=CAM:5&command=arc.frame&time=2013-03-22T13:04:52.312+04:00&range=0.1&login=USER&password=PASS

General request format (2nd way): 

GET http://IP-address:port/action.do?version={version}&video_in={video_in}&command=arc.frame&time={time}

Request parameters:

Parameter

Is required

Parameter

versionYes

See Product version

video_inYesCamera ID in the format "TYPE:ID", for example "CAM:1"
commandYesCommand to get video from archive: arc.frame
timeYesFrame time

Request example:

GET http://127.0.0.1:80/action.do?version=1.0.1.224&video_in=CAM:1&command=arc.frame&time=2018-08-12T22:29:06Z

Response example:

In return http-headings and the nearest frame from the [time - range, time + range] range in the jpeg format will be received. The reply body will be empty if there is no frame in the range.   

  • No labels