Files
Central file storage and management. Files are uploaded via a resumable chunked upload protocol and can be attached to any supported entity (Contact, Todo, Business Case, Product, etc.).
*Upload flow: Use POST /{module}/{id}/file with multipart/form-data and the resumable chunk parameters (resumableChunkNumber, resumableIdentifier, resumableTotalChunks, etc.). Poll upload progress with GET /{module}/{id}/file?resumableIdentifier={id}.
Download: GET /file/{fileId}/download streams the file. MIME type and file size are validated on upload. Storage path is sanitised to prevent directory traversal.
Permissions: File access follows the permissions of the parent entity it is attached to.
Files Operations
- get/record/{recordId}/file
- get/record/{recordId}/file/{fileId}
- delete/record/{recordId}/file/{fileId}
- get/record/{recordId}/file/
- put/record/{recordId}/file-weight
- get/file/{fileId}
- put/file/{fileId}
- delete/file/{fileId}
- get/file/{fileId}/show
- get/file/{fileId}/download
- get/file/
- post/file
- get/space/{spaceId}/file
- get/space/{spaceId}/file/{fileId}
- put/space/{spaceId}/file/{fileId}
- delete/space/{spaceId}/file/{fileId}
- get/space/{spaceId}/file/