Go to documentation repository
Page History
...
GET http://IP-address:port/web2/secure/video/config.properties?version={version}&login={login}&password={password}
Request parameters:
Parameter | Is required | Description |
---|---|---|
version | Yes | See Product version |
login | No | Intellect username, if set |
password | No | Intellect user password, if set |
...
Request example:
GET http://127.0.0.1:8085/web2/secure/video/config.properties?version=4.7.8.0&login=USER&password=PASS
...
Response example:
Config.properties text file.
...
Code Block | ||
---|---|---|
| ||
password.enabled=true login.enabled=true password.invalid=false cam.0.id=2 cam.0.name=Face cam.0.rights=11 cam.1.id=3 cam.1.name=Camera 3 cam.1.rights=11 cam.2.id=5 cam.2.name=Camera 5 cam.2.rights=11 cam.2.telemetry_id=1.1 cam.count=3# |
Response parameters:
Parameter | Description |
---|---|
password.enabled | false - no password required true - password required |
login.enabled | false - no login required true - login required |
password.invalid | false - specified password is correct true - specified password is not correct |
cam.count | Total count of cameras in the configuration (id starts at 0). |
cam.N.id | Camera ID |
cam.N.name | Camera name |
cam.N.rights | Rights (they are checked on the server; available on the client in order not to show the user odd options). The parameter is represented by flags. If the flag is set, then the interface element is to be shown; if not – hidden. static final int RIGHT_VIEW = 0x1; // live video is available (always 1) static final int RIGHT_CONTROL = 0x2; // control (telemetry, arming and disarming) static final int RIGHT_CONFIG = 0x4; // reserved static final int RIGHT_HISTORY = 0x8; // access to archive |
cam.N.telemetry_id | Telemetry ID (there can be no value if there is no telemetry – then hide telemetry control elements). |