Export with conversion or print file by public link
Заметка
[Since 2021.04]
A request to export with conversion or print file public link.
POST /api/v1/public/{linkUid}/syncExport HTTP/1.1
- Path parameters
| Parameter | Description |
|---|---|
linkUid | The UID of the link |
- Request parameters
| Parameter | Description |
|---|---|
mediaType | Target Media type |
download | The mark to so set content disposition, true = inline, false = attach |
accessToken | The access token for file |
locale | Locale |
timezoneOffsetMins | Time zone in minutes, if missed will be set as 0 |
- Example request
curl 'http://localhost:8080/api/v1/public/c0ffdde3-ac97-4c78-ab5c-e929fca5c5de/syncExport' -i -X POST \
-H 'X-co-auth-token: b4dc56dea9050a9dc22a37f7b20c9ffc' \
-H 'Content-type: application/x-www-form-urlencoded'
- Example response headers
HTTP/1.1 200 OK
X-co-request-id: 306f344a477535665a566e7957493267
Content-Disposition: inline
ETag: W/"e0e102b9ff40785fac8902d8bcbf2279"
Content-Type: application/pdf
Content-Length: 9162
[ content of the response is skipped ]