[GET] /{fileIndex}
/api/dms/objects/{objectId}/contents/file/{fileIndex}
Description | To retrieve the content file with the given fileIndex of a none typless DMS object with the given objectId. The fileIndex number starts with 1 for the first content file of the DMS object. If the DMS object has multiple content files attached, then further content files can be accessed with higher index numbers. Please note this endpoint is not available for typeless objects. The content of typeless objects can only fetched completly. |
---|---|
Request | GET |
Response | The mime type of the content if it could be determine. If it is not determinable the response format is application/octet stream. |
Minimum Version | 3.0.0 |
Changelog | 5.3.1: The determination of the Response Format was improved. |
Request | /api/dms/objects/2563/contents/file/1 |
Result | A byte sequence of the file. |