send-file-get-status

Added at V2.3

Use the interface to obtain file upload related data, such as upload list, upload process.

HTTP Request

GET http://ip/usapi?method=send-file-get-status&disk-type=1&start=0&count=0
Parameter Description
method send-file-get-status
disk-type Disk where files are saved. 0: USB flash drive. 1: SD card
start Upload index, which starts from 0.
count The number of uploads.

Response Body

JSON structure is as follows:

{
  "result": 0,                     // Returned status
  "total-count-ongoing": 1,        // The number of files to be uploaded
  "total-count-done": 2,           // The number of files that has been uploaded
  "start": 0, 
  "count": 10,
  "status": {}                     // upload status
  "media-files": {},               // upload list
}
Item Description
result Returned status.
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""