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
Others → Accessibles Drives
AI-generatedSummary
Retrieve a list of drives accessible to the account in the Infomaniak Kdrive service.
Inputs
- authentication (required) — Authentication method to use for the API request. Options: OAuth2 or API Key. Default: OAuth2.
- query_account_id (required) — Account identifier. Default: 0 (current account). Must be provided.
- queryParameters — Additional query parameters for filtering, tagging, maintenance status, and pagination. Default: empty object.
- query_with — Optional: Allows loading additional data about a resource, which may include related resources. Type: string. Default: empty string.
- query_in_maintenance — Filter items in maintenance status. Type: boolean. Default: false.
- query_maintenance_reasons — Filter items by maintenance reasons. Type: JSON. Default: empty object.
- query_tags — Filter items by tags. Type: JSON. Default: empty object.
- query_page — Optional parameter that defines the page number. Part of the
paginationcapacity. Type: number. Default: 0. - query_per_page — Optional parameter that defines the number of items per page. Part of the
paginationcapacity. Type: number. Default: 0. - query_total — If true, return the total number of items and total pages in the response. Equivalent to using the
?with=totalparameter. Type: boolean. Default: false. - returnAll — When true, retrieve all items available from the query. When false, the
limitparameter controls the number of items returned. Type: boolean. Default: true. - limit — Maximum number of items to return. Part of the
paginationcapacity. Applied whenreturnAllis false. Type: number. Default: 50. Min: 1, Max: 500. - returnFullResponse — If true, return the full API response without item transformation. Type: boolean. Default: false.
Output shape
A list of drive objects representing accessible drives. The shape and count of items depend on returnAll, limit, and queryParameters settings.
When
returnAllis true, pagination parameters (query_page,query_per_page) affect how items are fetched but all items are ultimately returned. Whenquery_totalis true, the response includespagesandtotalfields.
Examples
Example 1: List all accessible drives for the current account using OAuth2 authentication.
authentication: OAuth2; query_account_id: 0 (current account); returnAll: true; all other query parameters omitted.