Go to documentation repository
Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.
General request format:
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.
If a password is set but not specified in the request:
password.enabled=true login.enabled=true password.invalid=true#
If the password is correct or access is allowed without the password, then the server sends the following configuration:
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). |