Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory > Access → Get Multi Access

AI-generated

Summary

Retrieve access permissions for a file or directory in Infomaniak Kdrive.

Inputs

  • authentication (required) — Authentication method for Infomaniak API. Default: OAuth2. Options: OAuth2 (oauth2), API Key (apiKey).
  • path_drive_id (required) — Drive identifier. Type: number. Default: 0.
  • path_file_id (required) — File identifier. Type: number. Default: 0.
  • queryParameters — Additional query parameters. Optional parameter 'query_with' allows loading additional data about a resource, which may include related resources. Type: collection. Default: {}.
  • returnFullResponse — Return the full API response instead of just the access data. Type: boolean. Default: false.

Output shape

object or boolean

If returnFullResponse is true, returns the full API response; otherwise returns the access permissions data for the specified file/directory.

Examples

Example 1: Get access for a specific file in a drive

authentication=oauth2, path_drive_id=123, path_file_id=456, returnFullResponse=false

Links

Discussion