Synchronize/Upload Managed Directory (Internal Only)

Synchronizes/uploads an existing directory of a specific Managed File ID (or Name) from a Server Extension File Store, to the Server's File Store and is used exclusively in a clustered environment.

Request takes zipped file data as content, and on success returns a response containing the Managed File ID (or Name) of the directory.

This method is strictly used internally by PReS Connect.

Type: POST
URI: /rest/serverengine/filestore/dir/{fileId}
Parameters:

Path:

  • fileId – the Managed File ID (or Name) of the directory in File Store
Request:
Add. Headers: auth_token – Authorization Token (if server security settings enabled)
Content: Directory (as zipped file)
Content Type: application/octet-stream
Response:
Add. Headers:
Content: Managed File ID (or Name)
Content Type: text/plain
Status:
  • 200 OK – Directory successfully synchronized/uploaded to File Store
  • 401 Unauthorized – Server authentication required
  • 403 Forbidden – Server authentication has failed or expired
  • 405 Not Allowed – Directory already exists in File Store