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) |
} | |
} |
Device HTTP API, v1.0
Copyright (c) 2016.