GET
/
cdn
/
statistics
/
shield_usage
/
series
Origin shielding usage statistics
curl --request GET \
  --url https://api.gcore.com/cdn/statistics/shield_usage/series \
  --header 'Authorization: <api-key>'
{
  "active_from": "<string>",
  "active_to": "<string>",
  "client_id": 123,
  "resource_id": 123,
  "cname": "<string>"
}

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

Response

200 - application/json

Successful.

The response is of type object.