Versions Compared

Key

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

...

Run curl call as below to get the ion(s) you have access.  You may get one or multiple ions based on your access permission.
"-i" option can be used to check the detail of the communication if something go wrong.

Code Block
titleData Manager API file upload
curl -i GET 'https://sandbox-datamanager-api.wmda.info/api/v1/ions/list' \
--header 'Authorization: Bearer ••••••' \
--header 'Content-Type: application/json'

...

Code Block
titleData Manager API file upload
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"'

...