hosting

GET /v1/sites/{siteId}/cdn/statistics

Edge hits, bytes and country breakdown for a site.

Dhammaan hosting bixiyayaasha

Xaqiijinta aqoonsiga

U dir furaha API ah calaamad dusha ah (bearer token). Furaha waa inuu wataa ruqadda sites.view; furaha aan wadan waxaa loo diidayaa 403, ee ma aha 404.

Boggan ma qaato aqoonsiga ururka. Furahaagu wuxuu horay u aqoonsanayaa ururka uu ka tirsan yahay, jawaabtuna waxay ku kooban tahay halkaas.

Isku day

Ku beddel wax kasta oo ku dhex jira qeebaha xaglaha ah qiimayaashaada, sidoo kalena haystaaha furaha ku beddel fure ka dhex muuqda dashboordigaaga.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/cdn/statistics \
  -H "Authorization: Bearer zdk_live_…"

Ma sign-garaysay? Qalabka API ee ku jira dashboard-kaagu wuxuu buuxiyaa aqoonsigaaga ururka ee dhabta ah iyo furahaaga gaarka ah, wuxuuna ku shaqeysiiyaa codsiga API-ga nool si aad u aragto jawaabta dhabta ah. Kani ka fur barta kontoroolka ee API

Details

Points are returned in the vendor's own buckets and in time order, not re-aggregated: re-bucketing would invent numbers the CDN did not measure. Requires `sites.view`.

Cabiraha

MagacaNoocLoo baahan yahayMaxay tahay
siteId (path)UuidHaaSite ID (UUIDv7).
window (query)string<Last24Hours, Last30Days, Last12Months>MayaWhich bucket of hits and bytes to return.
period (query)string<Last1Hour, Last24Hours, Last7Days>MayaWhich window the country breakdown covers. ⛔ **A different vocabulary from `window`** — the two vendor endpoints underneath do not share one, and `Last30Days` is a valid `window…

Jawaab

MagacaNoocLoo baahan yahayMaxay tahay
windowstringHaa
windowsstring[]Haa
hitsSiteCdnPoint[]Haa
bytesSiteCdnPoint[]Haa
periodstringHaaThe window the country breakdown covers, or empty when the requested `period` is not one this vendor endpoint accepts.
periodsstring[]Haa
countriesSiteCdnCountry[]Haa

Cilladaha ay bartaani soo celin karto

401 · 403 · 404 · 422 · 429 · 503