Skip to main content

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
  1. Path parameters
ParameterDescription
linkUidThe UID of the link
  1. Request parameters
ParameterDescription
mediaTypeTarget Media type
downloadThe mark to so set content disposition, true = inline, false = attach
accessTokenThe access token for file
localeLocale
timezoneOffsetMinsTime zone in minutes, if missed will be set as 0
  1. 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'
  1. 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 ]