Drive > Activity > Report

List of activity reports.

get/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

withstring

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

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

Example response

{
  "result": "success",
  "total": 221,
  "page": 2,
  "pages": 15,
  "items_per_page": 15
}

Changes

    • warning

      added the new unguarded_file_access_create enum value to the //// response property for the response status

    • warning

      added the new media_create enum value to the //// response property for the response status

    • warning

      added the new media_delete enum value to the //// response property for the response status

    • warning

      added the new media_rename enum value to the //// response property for the response status

    • warning

      added the new media_restore enum value to the //// response property for the response status

    • warning

      added the new media_trash enum value to the //// response property for the response status

    • warning

      added the new media_update enum value to the //// response property for the response status

    • warning

      added the new media_update_mime_type enum value to the //// response property for the response status