Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory > Access → Allow External Applications

AI-generated

Summary

Allow external application access to Infomaniak Kdrive file/directory

Inputs

  • authentication — Authentication method to use for the API request.
  • path_drive_id (required) — Drive identifier.
  • path_file_id (required) — File identifier.
  • body_type (required) — Application type. 365: The 365 application. collabora: The collabora application.
  • bodyParameters — Optional collection of additional body fields. Includes body_mode to specify edit or view mode for opening external WOPI documents.
  • returnFullResponse — Return the full API response as items, or a summarized result.

Output shape

items

If returnFullResponse is false, output is a summarized result. If true, the full API response is returned.

Examples

Example 1: Grant Collabora edit access to a file in a specific drive

Set authentication, drive ID, file ID, body_type to collabora, body_mode to edit, and returnFullResponse to true.

Links

Discussion