Versions Compared

Key

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

...

Use the file download API to download the file you needed. You can only download one file a time. 

Code Block
titleData Manager API file download
curl POST '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"
}'

...

For those registries that are permitted to use the full dataset the statement below will fetch that. You can download the file in the folder "download"

Code Block
titleData Manager API file download
curl POST 'https://sandbox-datamanager-api.wmda.info/api/v1/files/download' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ••••••' \
--data '{
  "ion": 9999,
  "folder": "download",
  "fileName": "wmda_data_v22.zip.gpg"
}

...