Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleInvalid after update from Oct, 27, 2022
curl -i POST 'https://sandbox-datamanager-api.wmda.info/api/v1/files/upload' \
--header 'Authorization: Bearer ••••••' \
--header 'Content-Type: multipart/form-data'
--form 'file=@c:/path/to/file/ION-0999-D.gpg' \
--form 'ion="9999"' \
--form 'folder="upload"'

Upload

Below is a suggestion for curl call based on the Data Manager swagger docdoc 

Code Block
titleInvalid after update from Oct, 27, 2022
curl -i POST --location 'https://sandbox-datamanager-api.wmda.info/api/v1/files/upload' \
--header 'Authorization: Bearer ••••••' \
--header 'Content-Type: multipart/form-data'
--form 'file=@c:/path/to/file/ION-0999-D.gpg' \
--form 'ion="9999"' \
--form 'folder="upload"'


Download

Download reports

You may use the API also to fetch your reports . And you may need 2 steps are needed

1.Fetch the files list and get the file names.

...