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 > Version → List
AI-generatedSummary
List versions of a specified file or directory in Infomaniak Kdrive
Inputs
- authentication (required) — Authentication method to use for Infomaniak API requests. Supports OAuth2 or API Key; defaults to OAuth2.
- path_drive_id (required) — Identifier of the drive containing the file or directory. Must be provided as a number.
- path_file_id (required) — Identifier of the file or directory to list versions for. Must be provided as a number.
- query_order_by — Optional parameter defining the field used for sorting; part of the sort capacity.
- query_order — Optional parameter defining the default sort order; accepts 'asc' or 'desc'; part of the sort capacity.
- query_order_for — Optional parameter defining the sorting order for a field; defaults to the 'order' parameter; part of the sort capacity.
- returnFullResponse — If true, the full API response is returned; otherwise, parsed version items are returned. Defaults to false.
Output shape
When returnFullResponse is false, returns an array of version records for the specified file or directory. When true, returns the complete API response object as received from Infomaniak.
The operation paginates through results using the infomaniakApiRequestAllPages helper; all returned items adhere to the Infomaniak Kdrive version metadata structure.