Drive > Files > File/Directory

Download

Download file content or directory as Zip file.

<note> Please note that this may respond a 302 to actually download the requested content. </note>
get/2/drive/{drive_id}/files/{file_id}/download

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Query parameters

as'pdf' | 'text'

Convert file before download

Headers

x-kdrive-file-passwordstring

File password to open it for conversion, if the file is password-protected

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.