Drive > Statistics

Export : ShareLinks Activities

Changed on
get/2/drive/{drive_id}/statistics/activities/links/export

Request

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

Path parameters

drive_idinteger required

Drive identifier

Query parameters

frominteger required

Date from which to get statistics in unix-timestamp format

max_viewinteger

Filter result by a maximum view

min_viewinteger

Filter result by a minimum view

rightsstring[]
[
  "inherit"
]
untilinteger required

Date until when to get statistics in unix-timestamp format

valid_untilinteger nullable

Filter result by valid_until date

Response

OK

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

Result of the HTTP request

Example response

{
  "result": "success",
  "data": [
    {
      "url": "https://kdrive.infomaniak.com/app/share/xxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
      "right": "inherit"
    }
  ]
}

Changes

    • warning

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

    • info

      added the non-success response with the status