Drive > Activity

Get drive activities of all the users.

Changed on

Get all activities from drive as defined in options

get/2/drive/{drive_id}/activities

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/2/drive/{drive_id}/activities
  • Auth
    HTTP bearer

Path parameters

drive_idinteger required

Drive identifier

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

lang'de' | 'en' | 'es' | 'fr' | 'it' | 'nl' | 'pt' required

Override the language of the request, in most cases when an e-mail is triggered in the request.

actionsstring[]
[
  "acl_insert"
]
depth'children' | 'file' | 'folder' | 'unlimited'
filesinteger[]

List of files for which to retrieve activities

frominteger
termsstring
untilinteger
usersinteger[]
pageinteger

Optional parameter that define the page number<br /> Part of the pagination capacity

per_pageinteger

Optional parameter that define the number of items per page<br /> Part of the pagination capacity

totalboolean

If set to true, return the total number of items. Total pages (<strong>pages</strong>) in response is also returned. <note>You can also use ?with=total parameter</note>

string
OR
string[]

Optional parameter that define the field used for sorting<br /> Part of the sort capacity

order'asc' | 'desc'

Optional parameter that define the default sort order<br /> Part of the sort capacity

order_forobject

Optional parameter that define the sorting order for a field<br /> By default order is used<br /> Part of the sort capacity

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

totalinteger

Total number of items Added when using query parameter page

pageinteger

Number of the current page Added when using query parameter page

pagesinteger

Total number of pages Added when using query parameter page

items_per_pageinteger

Number of items per page Added when using query parameter page

Changes

    • info

      added the enum value unguarded_file_access_create to the property items/ of the query request parameter actions

    • info

      added the enum value media_create to the property items/ of the query request parameter actions

    • info

      added the enum value media_delete to the property items/ of the query request parameter actions

    • info

      added the enum value media_rename to the property items/ of the query request parameter actions

    • info

      added the enum value media_restore to the property items/ of the query request parameter actions

    • info

      added the enum value media_trash to the property items/ of the query request parameter actions

    • info

      added the enum value media_update to the property items/ of the query request parameter actions

    • info

      added the enum value media_update_mime_type to the property items/ of the query request parameter actions