Statistics Resource

A statistics is a collection of metrics for requested date range.

Changelog

1.8.2
  • Introduced statistics
  • Pre-defined date filters.
  • Users count and session based statistics.

Endpoints

Representations

JSON Properties

NameTypeDescription
dataarrayList of requested metrics. See concrete endpoints for exact values
dateFromdatetimeRequested start date for statistics
dateTodatetimeRequested end date for statistics

Example

{
    "data": [
        {
            "date": "2019-10-02",
            "usersCount": 120
        },
        {
            "date": "2019-10-03",
            "usersCount": 200
        },
        {
            "date": "2019-10-04",
            "usersCount": 513
        },
        {
            "date": "2019-10-05",
            "usersCount": 119
        },
        {
            "date": "2019-10-06",
            "usersCount": 137
        },
        {
            "date": "2019-10-07",
            "usersCount": 219
        },
        {
            "date": "2019-10-08",
            "usersCount": 201
        }
    ],
    "dateFrom": "2019-09-02",
    "dateTo": "2019-09-08"
}