Skip to main content

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.

  1. Path parameters
ParameterDescription
fileIdThe ID of the file.
  1. Request parameters
ParameterDescription
mediaTypeExport file mediaType ( See exportFormats[].targets[] array at Authenticate user through FS service for mobile ) [Since 2018.01]
folderIdTarget folder ID
filenameTarget file’s name [Since 2017.04]
conflictStrategyConflict resolution strategy (keep_both / overwrite / versioned)
timezoneOffsetMinsTimezone to be used during the conversion process [Since 2017.03]
  1. 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 '{ }'
  1. Example response
HTTP/1.1 200 OK
X-co-request-id: 76337a5030554555464449426c303549