Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory → Get Size

AI-generated

Summary

Retrieves the size of the specified file or directory in Infomaniak Kdrive.

Inputs

  • authentication — Authentication method for Infomaniak API. Defaults to OAuth2; API Key is an alternative.
  • path_drive_id (required) — Drive identifier. Must be provided for the operation to execute.
  • path_file_id (required) — File identifier. Must be provided for the operation to execute.
  • queryParameters — Additional query parameters to include in the API request. Supports a 'depth' parameter with options 'folder' or 'unlimited'.
  • returnFullResponse — If true, the full API response is returned instead of just the size data. Defaults to false.

Output shape

Depends on returnFullResponse setting. When false, returns the file/directory size (number). When true, returns the full API response object.

The exact return shape is governed by the node's implementation and the returnFullResponse parameter.

Links

Discussion