CubePathDOCS
CDN

Get Requests by PoP

get/cdn/zones/{zone_uuid}/metrics/pops

Get requests distribution by PoP for a CDN zone (grouped by location prefix, e.g. BCN01, MIA01).

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

zone_uuid*string

Parámetros de consulta

minutes?integer | null

Window in minutes looking back, 60 by default, at most 43200 (30 days). Not with from.

from?string | null

Start of an absolute window: an ISO 8601 date (UTC when it has no zone) or Unix seconds.

to?string | null

End of the absolute window (default now, never later than 30 seconds ago).

country?string | null

Comma-separated ISO country codes.

asn?string | null

Comma-separated AS numbers.

status_range?string | null

2xx, 3xx, 4xx or 5xx.

status?string | null

Comma-separated exact response codes.

cache_status?string | null

HIT or MISS.

device_type?string | null

mobile, desktop or bot.

path_prefix?string | null

Path prefix, for example /assets.

host?string | null

Comma-separated hosts (up to 20), lower case.

method?string | null

Comma-separated HTTP methods (up to 9).

client_ip?string | null

Visitor address. Needs the cdn_visitors:view permission.

referer_host?string | null

Host of the referer, or - for no referer.

http_version?string | null

Comma-separated: 1.0, 1.1, 2, 3.

tls_version?string | null

Comma-separated: 1.0, 1.1, 1.2, 1.3, none.

content_type?string | null

Comma-separated types (up to 10); one ending in / is a family, image/.

rule?string | null

Comma-separated uuids of rules of the zone or names of the system (up to 20).

Respuestas

Successful Response

application/json

from?string | null

Start of the window read (UTC).

to?string | null

End of the window read, excluded (UTC).

zone_uuid*string
domain*string
period_minutes*integer
data*array<CDNPopItem>
Propiedades (4)
pop*string | null
requests*integer
bandwidth*integer
cache_hit_pct*number