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*/ | |||||||||||||||||||
"AutoRecord": "STRING" | Auto record enabling when plugging in a disk:
| ||||||||||||||||||
"DiskSelection": "STRING" | The disk selection policy:
| ||||||||||||||||||
"Format": "STRING" | Recording format:
| ||||||||||||||||||
"Prefix": "STRING" | Recording file prefix. The recording file name is started with this prefix, followed 8 digitals (auto increment). The default prefix is "REC". | ||||||||||||||||||
"Limitation": "STRING" | File limitation:
| ||||||||||||||||||
"LimitSize": INTEGER | If the Limitation is 'size' or 'size-loop', specify the size limitation, in KB | ||||||||||||||||||
"LimitTime": INTEGER | If the Limitation is 'time' or 'time-loop', specify the time limitation, in seconds. | ||||||||||||||||||
"Overwrite": "STRING" | If the disk full, how to process recording:
| ||||||||||||||||||
} | |||||||||||||||||||
} |
KILOVIEW Device HTTP API, v1.0
Copyright (c) 2016, KILOVIEW Electronics.