List your files
Retrieve the list of files stored in the CDN.
Through this function it is possible to retrieve the UID code for each file to be used in subsequent operations.
POSTGET *https://api.dotmaui.com/client/1.0/cdn/
Parameters
Field | Type | Description | Required |
---|---|---|---|
apikey | String |
.Maui Api key |
True |
cmd | String |
Currently only the LS command is supported to display files (max 500) |
True |
limit | String |
Takes two numeric arguments separated by comma (ex: 10,10). The first argument specifies the offset of the first file to return, and the second specifies the maximum number of files to return. Default is 0,500.
|
False |
beauty | Boolean |
Format your JSON to make it more readable. Default is false.
|
False |
Success 200 - Default Mode
It will be a JSON string
{ "resources": { "0": { "creationDate": "2017-10-16T12:14:46.473Z", "UID": "7iikf1", "size": 44416, "url": "https://cdn.dotmaui.com/libs/img/33399.jpg" }, "1": { "creationDate": "2017-10-16T12:14:46.473Z", "UID": "TnHGii", "size": 67280, "url": "https://cdn.dotmaui.com/libs/img/33400.jpg" } }, "spaceUsed": 373885772, "freeSpace": 1073741824 }