Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Thumbnails request  Video query Next page


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

versionYesSee Product version
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/config.properties?version=1.0.1.224&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:

ParameterDescription
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.countTotal count of cameras in the configuration (id starts at 0)
cam.N.idCamera ID
cam.N.nameCamera 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_idTelemetry ID (there can be no value if there is no telemetry – then hide telemetry control elements)
  • No labels