Get media from opened document
A request to get content of media file, that is bundled in already opened document.
POST /api/v1/documents/{docId}/media/{mediaId:.+} HTTP/1.1
- Path parameters
| Parameter | Description |
|---|---|
docId | The ID of the file. |
mediaId | The ID of the media file. |
- Request parameters
| Parameter | Description |
|---|---|
quality | Quality for returned picture ( S M L ) [Since 2017.01] |
- Example request
curl 'http://localhost:9094/api/v1/documents/O3232hs18Aav0CUzW1X/media/3a43d901-66d8-467f-82e7-6aaad2984bcc' -H 'X-co-auth-token: 8705adfeb88111b472e089a6af6aa929'
- Example response
HTTP/1.1 200 OK
Content-Disposition: inline;filename=3a43d901-66d8-467f-82e7-6aaad2984bcc
Content-Type: image/png;charset=UTF-8
[ some example content ]