Skip to main content
GET
Aggregated alias usage statistics

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Query Parameters

from
string
required

Beginning of the requested time period (ISO 8601/RFC 3339 format, UTC.)

to
string
required

End of the requested time period (ISO 8601/RFC 3339 format, UTC.)

group_by
string

Output data grouping.

Possible value:

  • resource - Data is grouped by CDN resources.
resource
integer

CDN resources IDs by that statistics data is grouped.

To request multiple values, use:

  • &resource=1&resource=2

If CDN resource ID is not specified, data related to all CDN resources is returned.

flat
boolean

The way the parameters are arranged in the response.

Possible values:

  • true – Flat structure is used.
  • false – Embedded structure is used (default.)

Response

Successful.

resource
object

Resources IDs by which statistics data is grouped.

1 (example)
object

CDN resource ID for which statistics data is shown.

client
object

Client IDs by which statistics data is grouped.

12 (example)
object

Client ID for which statistics data is shown.

metrics
object

Statistics parameters.