Versions Compared

Key

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

...

Download a file from Oceans 2.0 Archiving System by specifying the file name. The file will be downloaded without any compression.

Parameters 

ParameterTypeDescriptionExample
Required
filenamestringA valid name of a file in DMAS Archiving System.NAXYS_02345_P008_20100107T185747.660Z.wav
tokenstringCredential token. 
Optional


decompressboolean (string)If not present or false, getFile will return the files as they are in the archive - many files will be compressed with gzip and have a .gz extension. If true, all compressed files will be decompressed.

true

false

Response

Success

HTTP status code 200 will be returned in HTTP header and the requested file will be downloaded.

...