-
Notifications
You must be signed in to change notification settings - Fork 7
Download JSON Format
Puranjay Jain edited this page May 30, 2016
·
9 revisions
Each of the downloading / downloaded entity is stored as json objects (in an array)
// the object which contains the basic download object values
{
uuid: 'uuid',
url: 'https://somewebsite.com/video.mp4', //url of the media
fileName: 'C:\Users\User\Music\Song.mp4', // full path to file
size: 0, // e.g 459834 bytes converted to mb when displayed, full size of download
lastTry: '17/05/2016 9:06 AM', // last attempt at downloading the file
downloaded: 0, // e.g 459834 bytes converted to mb when displayed, bytes downloaded
status: 'Paused', // can have values as 'Paused', 'Downloading', 'Error', 'Done', Starting
}
A selected
Boolean is also added for the table on the download pages (each of them)
Note some internally used values are also used sometimes for that info and an always updated api refer this