Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Is required

Description

versionYes

See Product version

video_inYesCamera ID in the format "TYPE:ID", for example "CAM:1"
sessionidNoSession ID
targetidYesMatches cam.id
login NoIntellect username, if set
passwordNoIntellect user password, if set
enable_token_authYes Enable authorization by token =1.
valid_token_hoursNo

Signature validation time (in hours). The maximum value is a week. 

The default value is 12 hours.

Request example:

GET http://127.0.0.1:8085/web2/secure/video/action.do?version=4.10.0.0&sessionid=FC126734&video_in=CAM:1&enable_token_auth=1&valid_token_hours=1&login=USER&password=PASS

Response example:

Code Block
languagexml
{
"path" : "action.do?hmac=GAqUa429sjY2E9jCTpuYeaMqReW3Y7HI"
}

...

Parameter

Is required

Description

portYesPort number specified for HTTP Server connection on the Web server object settings panel (see Setting the parameters of connecting Clients to the Web-server).
hmacYes

Token

Request example:

GET http://127.0.0.1:808580/action.do?hmac=GAqUa429sjY2E9jCTpuYeaMqReW3Y7HI