Drive > Activity > Report

Create a new report.

post/2/drive/{drive_id}/activities/reports

Request

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

Path parameters

drive_idinteger required

Drive identifier

Query parameters

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.

Request body

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

List of files for which to retrieve activities

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

Report language

termsstring
untilinteger
user_idinteger nullable

User identifier

usersinteger[]

Example request

{
  "actions": [
    "acl_insert"
  ]
}

Response

Created

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

Result of the HTTP request

datainteger

Example response

{
  "result": "success"
}

Changes

    • info

      added the new unguarded_file_access_create enum value to the request property /

    • info

      added the non-success response with the status

    • info

      added the new media_create enum value to the request property /

    • info

      added the new media_delete enum value to the request property /

    • info

      added the new media_rename enum value to the request property /

    • info

      added the new media_restore enum value to the request property /

    • info

      added the new media_trash enum value to the request property /

    • info

      added the new media_update enum value to the request property /

    • info

      added the new media_update_mime_type enum value to the request property /