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": [ /*ARRAY*/ | Each item in the array is: |
{ /*OBJECT*/ | |
"Username": "STRING" | User name |
"Name": "STRING" | The user's friend name |
"Role": "STRING" | Onvif role |
} | |
] | |
} |
Device HTTP API, v1.0
Copyright (c) 2016.