deviceInfo.lua
[INDEX]

ABSTRACT

Get device basic information

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

_LANG

Optional.If specify '_LANG' parameter, then language used for getting information is decided by this parameter, or it is default by Chinese.

cn

Chinese

en

English

Test value:

RETURNS

Return a JSON style result. The JSON format is:

{
/*OBJECT*/

"Result":
NUMBER

200 means OK, other error code meanings are similar to HTTP Response.

"Status":
"STRING"

Status message. Responsing result status of API executive, if there errors, it will describe reasons.

"Data": {
/*OBJECT*/

Device informations

"SERIAL_NO":
"STRING"

Device serial number

"DEVICE_NAME":
"STRING"

The built-in device name (not changable)

"DEVICE_VENDOR":
"STRING"

Device vendor

"DEVICE_COPYRIGHT":
"STRING"

Copyright information

"DEVICE_TYPE":
"STRING"

KILOVIEW internal device type

"OEM_TYPE":
"STRING"

OEM device type

"HARDWARE_VERSION":
"STRING"

Hardware version

"SOFTWARE_VERSION":
"STRING"

Software version

"HOST_NAME":
"STRING"

Host name (changable, a network host name)

"FRIENDLY_NAME":
"STRING"

Device friendly name (changable, this should appears in Onvif discovery result)

}
}

OTHER NOTES

KILOVIEW Device HTTP API, v1.0