renameRecordFile.lua
[INDEX]

ABSTRACT

Rename the recored file

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

Device
STRING (MUST)

The disk device identifier what stores the file you want to rename (Please refer the API getRecordList.lua, get the field of 'RecordDevice' in result)

Test value:

SequenceID
STRING (MUST)

Which sequence ID the file related to (Please refer the API getRecordList.lua, get the field of 'SequenceID')

Test value:

From
STRING (MUST)

Source file name

Test value:

To
STRING (MUST)

New file name

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.

}

NOTES

NOTE: Please don't rename the file current recording! If that, this API should return Result=500 and Message=BUSY

OTHER NOTES

KILOVIEW Device HTTP API, v1.0