Skip to content
Jay Lee edited this page Nov 16, 2016 · 1 revision

File Sharing

Purpose

The File Sharing API handles file management in the SnapMD platform. For the most part, these endpoints are found under the "filesharing" resource, but they will likely be standardized under the "files" endpoint in a later version of the API. Profile images are not currently placed under the File Sharing API, but may be in the future.

Endpoint List

  • v2/documents/{documentType}/hospitals/{hospitalId}
  • v2.1/filesharing/downloads
  • v2.1/filesharing/downloads/{downloadId}
  • v2/filesharing/file/{fileSharingType}/{fileId}
  • v2/filesharing/file/{fileSharingType}/{fileId}/attach/{consultationId}
  • v2/filesharing/file/{fileSharingType}/{fileId}/copy/{targetFolderId}
  • v2/filesharing/file/{fileSharingType}/{fileId}/share
  • v2/filesharing/file/{fileSharingType}/{uploadFolderId}
  • v2.1/filesharing/files/{fileId}/history
  • v2.1/filesharing/files/{fileId}/restore
  • v2.1/filesharing/files/download/{filePublicLinkId}
  • v2.1/filesharing/files/move
  • v2/filesharing/folder/{fileSharingType}
  • v2/filesharing/folder/{fileSharingType}/{folderId}
  • v2/filesharing/folder/{fileSharingType}/{folderId}/copy/{targetFolderId}
  • v2/filesharing/folder/{fileSharingType}/tag
  • v2/filesharing/folder/admin
  • v2.1/images/{id:guid}

Clone this wiki locally