Drive > Files > External import

Import kDrive sharelink

Changed on

Import the content of a kDrive sharelink

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

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/2/drive/{drive_id}/imports/sharelink
  • Auth
    HTTP bearer

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

    • warning

      added the new external_import_size_computation_failed_error enum value to the // response property for the response status

    • warning

      the / request property's min was set to 1.00

    • warning

      the / request property's min was set to 1.00

    • warning

      the request property's min was set to 1.00