...
Use the following curl and endpoint to fetch an array with filedescriptors: url should use double quote or no quote in windows env:
Code Block |
---|
curl -H "Authorization:Basic d21.....uZT==" 'https://staging-dataupload.wmda.info/api/v2/fs/reports-ion0999/?children=f' |
You will get the result in xml format, and you can get json format, use the cmd below:
Code Block |
---|
curl -H "Authorization:Basic d21.....uZT==" 'https://staging-dataupload.wmda.info/api/v2/fs/reports-ion0999/?children=f&format=json' |
2. Fetch all the reports or the one you need.
...