Skip to main content
GET
Origin shielding 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.)

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.

Response

200 - application/json

Successful.

active_from
string

Date and time when paid feature was enabled (ISO 8601/RFC 3339 format, UTC.)

active_to
string | null

Date and time when paid feature was disabled (ISO 8601/RFC 3339 format, UTC.)

It returns null if the paid feature is enabled.

client_id
integer

Client ID.

resource_id
integer

CDN resource ID.

cname
string

CDN resource CNAME.

Example: