Go to documentation repository
To receive a pre-authorized link to the camera (to receive both live or archived video), you must:
GET http://IP-address:port/web2/secure/video/action.do?version={version}&sessionid={sessionid}&video_in={video_in}&enable_token_auth={enable_token_auth}&valid_token_hours={valid_token_hours}&login={login}&password={password}
Parameter | Is required | Description |
---|---|---|
version | Yes | See Product version |
video_in | Yes | Camera ID in the format "TYPE:ID", for example "CAM:1" |
sessionid | No | Session ID |
targetid | Yes | Matches cam.id |
login | No | Axxon PSIM username, if set |
password | No | Axxon PSIM user password, if set |
enable_token_auth | Yes | Enable authorization by token =1. |
valid_token_hours | No | Signature validation time (in hours). The maximum value is a week. The default value is 12 hours. |
GET http://127.0.0.1:8085/web2/secure/video/action.do?version=1.0.1.224&sessionid=FC126734&video_in=CAM:1&enable_token_auth=1&valid_token_hours=1&login=USER&password=PASS
{ "path" : "action.do?hmac=GAqUa429sjY2E9jCTpuYeaMqReW3Y7HI" }
Parameter | Description |
---|---|
hmac | Token |
GET http://IP-address:port/web2/secure/video/action.do?hmac={hmac}
Parameter | Is required | Description |
---|---|---|
hmac | Yes | Earlier received token |
GET http://127.0.0.1:8085/web2/secure/video/action.do?hmac=GAqUa429sjY2E9jCTpuYeaMqReW3Y7HI
Note
This request method is deprecated. It is recommended to make a request via the Web server 2.0 module.
GET http://IP-address:{port}/action.do?hmac={hmac}
Parameter | Is required | Description |
---|---|---|
port | Yes | Port number specified for HTTP Server connection on the Web server object settings panel (see Parameters of connecting Clients to the Web-server) |
hmac | Yes | Earlier received token |
GET http://127.0.0.1:80/action.do?hmac=GAqUa429sjY2E9jCTpuYeaMqReW3Y7HI