CubePathDOCS
CDN

Get Top URLs With Most Misses

get/cdn/zones/{zone_uuid}/metrics/top-uncached-urls

Get the paths that go to your origin most often (cache misses). A path that is not cacheable and one that was not cached yet are both misses.

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

limit?integer
Por defecto20
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.

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/.

pop?string | null

Comma-separated locations (BCN01) or instances (bcn01-2).

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<CDNCacheUrlItem>
Propiedades (5)
url*string
requests*integer
bandwidth*integer
total_requests*integer
hit_rate*number