Get file’s thumbnail
Get file’s thumbnail or regenerate if it does not exist.
note
[Since 2018.01] |
note
Works for images only
POST /api/v1/files/{fileId}/thumbnail HTTP/1.1
- Path parameters
| Parameter | Description |
|---|---|
fileId | The ID of the file. |
- Example request
curl 'http://localhost:8080/api/v1/files/189326318/thumbnail' -i -X GET \
-H 'X-co-auth-token: 887eb6716065dc51e803e73ec9526698'
- Example response
HTTP/1.1 200 OK
X-co-request-id: 35446c6c526e49456171704974634b68
Content-Disposition: inline
Content-Type: image/jpeg
Content-Length: 3066
[ content of the response is skipped ]