Download Managed File or Directory

Obtains an existing file or directory of a specific Managed File ID (or Name) from the File Store.

Request takes no content, and on success returns a response containing the file or directory data (as zipped file).

Type: GET
URI: /rest/serverengine/filestore/file/{fileId}
Parameters:

Path:

  • fileId – the Managed File ID (or Name) of the file or directory in File Store
Request:
Add. Headers: auth_token – Authorization Token (if server security settings enabled)
Content:
Content Type:
Response:
Add. Headers:

Content-Disposition

  • File – "attachment; filename={OrigFileName}"
  • Directory – "attachment; filename={OrigDirName}.zip"
Content: File or Directory (zipped as file)
Content Type:
  • File – application/octet-stream
  • Directory – application/zip
Status:
  • 200 OK – File or directory successfully downloaded from File Store
  • 401 Unauthorized – Server authentication required
  • 403 Forbidden – Server authentication has failed or expired
  • 404 Not Found – File or directory not found in File Store
 
   
  • Last Topic Update: Jan-22-2018 13:07
  • Last Published: 2018-05-14 : 9:58 AM