Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory > Comment → Add Comment

AI-generated

Summary

Add a comment to a file or directory in Infomaniak Kdrive.

Inputs

  • authentication — Authentication method. Choose OAuth2 or API Key. Default: OAuth2.
  • path_drive_id (required) — Drive identifier.
  • path_file_id (required) — File identifier.
  • queryParameters — Additional query parameters for the API request. Optional parameter 'query_with' allows loading additional data about a resource, which may include related resources.
  • body_body (required) — Comment body text to add.
  • returnFullResponse — If true, returns the full API response as an item; otherwise, the response is parsed into n8n items. Default: false.

Output shape

Returns n8n items. When returnFullResponse is false (default), items are parsed from the API response. When true, the raw API response is returned as an item property.

The operation consumes the drive_id and file_id as required path parameters, sends the comment body, and uses the selected authentication method.

Examples

Example 1: Add a comment to a specific file in a drive.

Set path_drive_id to the target drive's ID, path_file_id to the target file's ID, provide the comment text in body_body, and select the appropriate authentication method.

Links

Discussion