Drive > Statistics

Chart : files size

Changed on

Chart data, list files size value over time

get/2/drive/{drive_id}/statistics/sizes

Request

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

Path parameters

drive_idinteger required

Drive identifier

Query parameters

frominteger required

Date from which to get statistics in unix-timestamp format

intervalinteger required

Statistics hours interval between from and until

metricsstring[] required
untilinteger required

Date until when to get statistics in unix-timestamp format

Response

OK

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

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

    • warning

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