Get Zone Metrics Summary
/cdn/zones/{zone_uuid}/metrics/summaryGet summary metrics for a CDN zone: total requests, bandwidth, cache hit rate (HIT over HIT and MISS), error
rates and, with compare, the change against the previous period.
Autorización
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Parámetros de ruta
Parámetros de consulta
previous_period adds the change against the period of the same length just before.
"previous_period"Window in minutes looking back, 60 by default, at most 43200 (30 days). Not with from.
Start of an absolute window: an ISO 8601 date (UTC when it has no zone) or Unix seconds.
End of the absolute window (default now, never later than 30 seconds ago).
Comma-separated ISO country codes.
Comma-separated AS numbers.
2xx, 3xx, 4xx or 5xx.
Comma-separated exact response codes.
HIT or MISS.
mobile, desktop or bot.
Path prefix, for example /assets.
Comma-separated hosts (up to 20), lower case.
Comma-separated HTTP methods (up to 9).
Visitor address. Needs the cdn_visitors:view permission.
Host of the referer, or - for no referer.
Comma-separated: 1.0, 1.1, 2, 3.
Comma-separated: 1.0, 1.1, 1.2, 1.3, none.
Comma-separated types (up to 10); one ending in / is a family, image/.
Comma-separated locations (BCN01) or instances (bcn01-2).
Comma-separated uuids of rules of the zone or names of the system (up to 20).
Respuestas
Successful Response
application/json
Start of the window read (UTC).
End of the window read, excluded (UTC).
0000000The summary of the period before (compare=previous_period).
Propiedades (6)
Change against the period before: percent for the volumes, percentage points for the rates. None when the period before had no request to compare with.