⚠Due to planned maintenance you will experience short (<30 min) downtime between 08:00 - 08:30 CET.
...
1.Fetch the files list and get the file names.
Use the following curl and endpoint file list API to fetch an array of file list for the folder "report"report:
Code Block |
---|
curl --location 'https://sandbox-datamanager-api.wmda.info/api/v1/files/list' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ••••••' \ --data '{ "ion": 9999, "folder": "report" }' |
...
2. Fetch all the reports or the one you need.
Use the file download API to download the file you needed. You can only download one file a time.
Code Block |
---|
curl --location 'https://sandbox-datamanager-api.wmda.info/api/v1/files/download' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ••••••' \ --data '{ "ion": 9999, "folder": "report", "fileName": "<filename>.txt" }' |
...