Export file with extra parameters
note
[Since 2016.04]
A request to asynchronous export/print file to specified format with extra parameters.
POST /api/v1/files/{fileId}/export HTTP/1.1
Generates Notification file export notification.
- Path parameters
| Parameter | Description |
|---|---|
fileId | The ID of the file. |
- Request parameters
| Parameter | Description |
|---|---|
mediaType | Export file mediaType ( See exportFormats[].targets[] array at Authenticate user through FS service for mobile ) [Since 2018.01] |
folderId | Target folder ID |
filename | Target file’s name [Since 2017.04] |
conflictStrategy | Conflict resolution strategy (keep_both / overwrite / versioned) |
timezoneOffsetMins | Timezone to be used during the conversion process [Since 2017.03] |
- Example request
curl 'http://localhost:8080/api/v1/files/189357214/export?mediaType=application%2Fpdf&folderId=189357149&conflictStrategy=keep_both' -i -X POST \
-H 'Content-Type: application/json' \
-H 'X-co-auth-token: 47594e4041c0ff32416a307192e1e946' \
-d '{ }'
- Example response
HTTP/1.1 200 OK
X-co-request-id: 76337a5030554555464449426c303549