System logs
Note: This request require administrator privilege
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/admin/syslog.cgi
Server will return the up-to-date system log.
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <syslog length>\r\n
\r\n
<system log information>\r\n
Configuration file
Note: This request requires administrator privilege
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/admin/configfile.cgi
Server will return the up-to-date configuration file.
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <configuration file length>\r\n
\r\n
<configuration data>\r\n
System Information
Note: This request requires normal user privilege
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/sysinfo.cgi
Server will return the system information.
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <system information length>\r\n
\r\n
Model=<model name of server>\r\n
HostName=<host name of server>\r\n
Location=<video on text of server>\r\n
[Preset<0>=<first preset location>\r\n]
[Preset<1>=<second preset location>\r\n]
[...]
PTZEnabled=<PTZ status>\r\n
Where the <PTZ status> is a 32-bits integer, each bit can be set separately as follows:
Bit 0
=> Support camera control function 0(not support), 1(support)
Bit 1
=> Build-in or external camera. 0(external), 1(build-in)
55