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*/ | |
"Users": /*ARRAY*/ | ["user1","user2",...] Each array item is an user name NOTE: The supervisor 'admin' will not be listed |
} | |
} |
Call this API require HTTP authorization. The username and password are same as web login.
For API calling test, the default authorization username is 'admin' and password is 'admin' ( 'Authorization' field of HTTP request header is:"Basic YWRtaW46YWRtaW4=" ). You can change it bellow:
Authorization:
KILOVIEW Device HTTP API, v1.0
Copyright (c) 2016, KILOVIEW Electronics.