deleteRecordFile.lua
[INDEX]

ABSTRACT

Delete the recorded file(s)

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

Device
STRING (MUST)

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

Test value:

SequenceID
STRING (MUST)

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

Test value:

FileFilter
STRING

The file name you want to delete, or a filter to match files. You can use '*' to match any characters. e.g. 'REC*' matchs all file names start with 'REC' (so 'REC00000001.ts', 'REC00000002.ts', ... will be matched); and '*0001*' matchs all file names contain characters '0001' (so 'REC00000001.ts', 'REC00000010.ts', ... will be matched).

This is optional. If not provided or be empty, means delete all files in specified sequence. This is similar to FileFilter="*".

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.

}

OTHER NOTES

KILOVIEW Device HTTP API, v1.0