Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Activity → Get Total Count Drive Activities Of All The Users.

AI-generated

Summary

Retrieve the total count of drive activities across all users.

Inputs

  • authentication — Authentication method to use. Defaults to OAuth2. Can be set to API Key for key-based access.
  • path_drive_id (required) — Drive identifier. A numeric ID corresponding to the target drive.
  • queryParameters — Optional collection of query parameters to filter and paginate the activities request. Includes depth, range, terms, file filters, and user filters.
  • queryParameters.query_depth — Filter by depth. One of: children, file, folder, or unlimited.
  • queryParameters.query_from — Starting index for pagination (default: 0).
  • queryParameters.query_terms — Search terms to filter activities.
  • queryParameters.query_until — Ending index for pagination (default: 0).
  • queryParameters.query_files — JSON object for file-level filtering.
  • queryParameters.query_users — JSON object for user-level filtering.
  • queryParameters.query_actions — JSON object for action-level filtering.
  • returnFullResponse — If true, returns the full API response object instead of just the extracted count/items.

Output shape

A number representing the total count of drive activities, or the full API response object if returnFullResponse is enabled.

All parameters not explicitly set default to their declared defaults. The operation counts activities across all users; user‑specific filtering is achieved via the query_users parameter.

Links

Discussion