Actions178
- Drive Actions
- Drive > Activity Actions
- Drive > Activity > Report Actions
- Drive > Files Actions
- Drive > Files > Action Actions
- Drive > Files > Archive Actions
- Drive > Files > Category Actions
- Drive > Files > Category > Right Actions
- Drive > Files > Dropbox Actions
- Drive > Files > External Import Actions
- Drive > Files > Favorite Actions
- Drive > Files > File/Directory Actions
- Drive > Files > File/Directory > Access Actions
- Drive > Files > File/Directory > Access > Invitation Actions
- Drive > Files > File/Directory > Access > Request Actions
- Drive > Files > File/Directory > Access > Teams Actions
- Drive > Files > File/Directory > Access > Users Actions
- Drive > Files > File/Directory > Comment Actions
- Drive > Files > File/Directory > Upload Actions
- Drive > Files > File/Directory > Upload > Session Actions
- Drive > Files > File/Directory > Version Actions
- Drive > Files > Search Actions
- Drive > Files > Share Link > Archive Actions
- Drive > Files > Share Link > Manage Actions
- Drive > Files > Trash Actions
- Drive > Invitations Actions
- Drive > Settings Actions
- Drive > Statistics Actions
- Drive > Users Actions
- Others Actions
- Users Actions
Drive > Files > File/Directory > Upload > Session → Start Session
AI-generatedSummary
Start Infomaniak Kdrive upload session
Inputs
- authentication — Authentication method; default OAuth2. Options: OAuth2, API Key.
- path_drive_id (required) — Drive identifier.
- body_total_chunks (required) — Total number of chunks attached to the session.
- body_total_size (required) — Expected total size of the file to upload in bytes. Mismatch returns an error.
- queryParameters — Optional additional query parameters. Includes query_with for loading related resource data.
- bodyParameters — Optional body fields. Includes body_conflict (error/rename/version) to handle existing files with the same name.
- body_directory_id — The directory destination root of the new file. Required without body_directory_path.
- body_directory_path — The destination path of the new file. Required without body_directory_id. Folders created automatically if path does not exist.
- body_file_id — File identifier of uploaded file. Alternative to replace a file by its identifier; file_name, directory_id, conflict and directory_path are automatically computed and cannot be provided.
- body_file_name — The name of the file to create. Slashes replaced by colons. Maximum 255 bytes.
- body_created_at — Override the creation date metadata of the new file. Capped at 24h from current time.
- body_last_modified_at — Override the update date metadata of the new file. Capped at 24h from current time.
- returnFullResponse — If true, returns the full API response. Default false.
Output shape
Session initiation response. Exact structure not declared in properties or source. Set returnFullResponse to true to include full API response.
Parameters body_directory_id and body_directory_path are mutually exclusive; one must be provided. The operation starts an upload session; subsequent steps (chunk upload, completion) require additional operations.