Description of webserver settings

Request to get the settings:

https://[address_server]:[port]/settings/webserver/?sid=[id_session]

Response:

{
    "name" : "webserver",
    "type" : "WebServer",
    "subdirs" : [

    ],
    "values" : [
        "channels",
        "connections_per_ip",
        "connections_summary",
        "echd_address",
        "echd_enable",
        "echd_export_dir",
        "enable_80_port",
        "enable_flv",
        "enable_http_port",
        "enable_jpeg",
        "enable_mjpeg",
        "enable_persons_reading",
        "enable_persons_writing",
        "enable_rtsp",
        "enable_sdk",
        "enable_webview",
        "flv_bitrate",
        "http_80_port",
        "http_port",
        "jit_export_max_interval_min",
        "jpeg_quality",
        "mjpeg_quality",
        "rtsp_authorization_type",
        "rtsp_port",
        "sdk_auto_events",
        "sdk_events",
        "sdk_face_recognizer_events",
        "sdk_method_calls",
        "sdk_object_tree",
        "sdk_password",
        "sdk_pos_events",
        "sdk_ptz",
        "sdk_screenshot",
        "sdk_settings_read",
        "sdk_settings_write",
        "videoserver_port"
    ]
} 

Retrieve a value (R):

https://[address_server]:[port]/settings/webserver/[setting]?sid=[id_session]

Write a value (W):

https://[address_server]:[port]/settings/webserver/[setting]=[value]?sid=[id_session]

Table 123. 

values Description Type   TRASSIR
channels GUID of channels available without password integer RW ≥3.1
connections_per_ip   integer RW ≥4.0
connections_summary   integer RW ≥4.0
echd_address Data center address string RW ≥4.0
echd_enable

Allow connection to data center:

0 - yes, 1 - no

integer RW ≥4.0
echd_export_dir Data center data export directory string RW ≥4.0
enable_80_port

Use port 80 to watch via web interface:

0 - yes, 1 - no

string RW ≥3.3
enable_flv

FLV streaming:

0 - disabled, 1 -enabled

integer RW ≥3.1
enable_http_port

Use HTTP port to watch via Web interface:

0 - yes, 1 - no

integer RW ≥4.0
enable_flv

JPEG streaming:

0 - disabled, 1 -enabled

integer RW ≥3.1
enable_mjpeg

Streaming in MJPEG quality

0 - disabled, 1 -enabled

integer RW ≥3.1
enable_persons_reading

Enable reading from persons base:

0 - yes, 1 - no

integer RW ≥4.1
enable_persons_writing

Enable writing to persons base:

0 - yes, 1 - no

integer RW ≥4.1
enable_rtsp

Streaming by RTSP

0 - disabled, 1 -enabled

integer RW ≥3.1
enable_sdk

Disable TRASSIR SDK:

0 - yes, 1 - no

integer RW ≥3.1
enable_webview

Enable viewing via Web interface:

0 - yes, 1 - no

integer RW ≥3.1
flv_bitrate FLV bitrate integer RW ≥3.1
http_80_port   integer RW ≥4.0
http_port HTTPS port integer RW ≥3.1
jit_export_max_interval_min   integer RW ≥4.1
jpeg_quality JPEG quality integer RW ≥3.1
mjpeg_quality MJPEG quality integer RW ≥3.1
rtsp_authorization_type

Authorization type:

0 -without authorization, 1 - RTSP authorization

integer RW ≥4.0
rtsp_port RTSP port integer RW ≥3.1
sdk_auto_events

Allow AutoTRASSIR events request:

0 - yes, 1 - no

integer RW ≥3.1
sdk_events

Allow server events request:

0 - yes, 1 - no

(see Request for server events)

integer RW ≥3.1
sdk_face_recognizer_events

Allow face detection events request:

0 - yes, 1 - no

integer RW ≥4.1
sdk_events

Allow methods call:

0 - yes, 1 - no

(see Description of work methods with an objects of the server)

integer RW ≥3.1
sdk_object_tree

Allow object tree request:

0 - yes, 1 - no

(see Request for the TRASSIR object tree)

integer RW ≥3.1
sdk_password SDK password: string W ≥3.1
sdk_pos_events

Allow POS events request:

0 - yes, 1 - no

(see Request for ActivePOS events)

integer RW ≥3.1
sdk_ptz

Allow PTZ control:

0 - yes, 1 - no

(see PTZ-camera control)

integer RW ≥3.1
sdk_screenshot

Allow screenshot request:

0 - yes, 1 - no

(see Request a screenshot)

integer RW ≥3.1
sdk_settings_read

Allow settings reading:

0 - yes, 1 - no

(see Read and write server settings)

integer RW ≥3.1
sdk_settings_write

Allows settings writing:

0 - yes, 1 - no

(see Read and write server settings)

integer RW ≥3.1
sdk_settings_write Streaming port by HTTP integer RW ≥3.1