GET
/
cdn
/
statistics
/
shield_usage
/
series
curl --request GET \
  --url https://api.gcore.com/cdn/statistics/shield_usage/series \
  --header 'APIKey: <api-key>'
[
  {
    "id": 1,
    "active_from": "2020-01-21 04:36:35.473000+00:00",
    "active_to": null,
    "client_id": 1,
    "resource_id": 1,
    "cname": "resource-1.com"
  },
  {
    "id": 2,
    "active_from": "2020-03-21 04:36:30.269000+00:00",
    "active_to": "2020-04-21 04:36:33.062000+00:00",
    "client_id": 1,
    "cname": "resource-2.com"
  }
]

Authorizations

APIKey
string
header
required

API key for authentication.

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.