Drive > Files > External import

Import kDrive sharelink

Import the content of a kDrive sharelink

post/2/drive/{drive_id}/imports/sharelink

Path parameters

drive_idinteger required

Drive identifier

Request body

destination_folder_idstring required

ID of the destination folder for the copy

except_file_idsinteger[]

Ids of files to be imported. If missing or empty, all files of the share link will be imported

file_idsinteger[]

Ids of files to be imported. If missing or empty, all files of the share link will be imported

passwordstring

Password to access the sharelink, if password-protected

sharelink_tokenstring

Encrypted, base64 sharelink token to use for password-protected sharelink instead of clear password

sharelink_uuidstring required

UUID of the share link to import

source_drive_idinteger required

ID of the kDrive containing the sharelink to copy

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": [
    {
      "application": "dropbox",
      "status": "canceled"
    }
  ]
}

Changes

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