[GET] /file
/api/dms/objects/{objectId}/contents/file
Description | To retrieve all content files of the DMS object with the given {objectId}. If the DMS object has multiple files attached, a ZIP archive with all content files is returned. If there is only one content file, the file itself is returned. A special case are objects with multiple TIFF files attached. They are merged to one multipage TIFF file and not to a ZIP archive. If the download should have a predefined name, the query parameter filename could be attachted to the request without a file extension. The file extension is generated from the content files. |
|---|---|
Request | GET |
Request optional | None Core-API Query Parameters:
|
Response | If it could be determined the mime type of the content. If it could not be determined the response format is application/octet stream. |
Minimum Version | 3.0.0 |
Changelog |
|
Request | /api/dms/objects/2563/contents/file |
Result | A byte sequence of the file or a ZIP archive if there are multiple content files attached to the object (e.g. image object types). |