getDeviceNames.lua
[INDEX]

ABSTRACT

Get the device name configuration

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

_LANG

Optional. If specify '_LANG' parameter, then language used for getting names 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_NAME":
"STRING"

The built-in device name (not changable)

"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

Device HTTP API, v1.0