hosting

GET /v1/sites/{siteId}/performance/slow-requests

List the slowest traced requests for a site.

Բոլոր hosting վերջնակետերը

Բոլոր մշակողների փաստաթղթերը

Նույնականացում

Ուղարկեք API բանալին որպես bearer token: Բանալին պետք է ունենա sites.view թույլտվությունը. առանց դրա բանալին մերժվում է 403, և ոչ թե 404 կարգավիճակով:

Այս վերջնակետը կազմակերպության ID չի ընդունում: Ձեր բանալին արդեն իսկ նույնականացնում է այն կազմակերպությունը, որին պատկանում է, և պատասխանը սահմանափակված է դրանով:

Փորձել

Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:

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

Մուտք գործե՞լ եք: Ձեր վահանակի API վահանակը լրացնում է ձեր իրական կազմակերպության ID-ն և ձեր սեփական բանալին և գործարկում է հարցումը ուղիղ API-ի դեմ, որպեսզի կարողանաք տեսնել փաստացի պատասխանը: Բացեք այս վերջնակետը API վահանակում

Մանրամասներ

Real requests this site served, slowest first, measured on the machine by CloudLinux X-Ray. Each row carries how long the request took, how much of that time the account spent stopped at its resource ceiling, and why the request could not be served from the page cache. ⭐ throttled_ms is reported separately from duration_ms on purpose: it is the number that turns "the site is slow" into "the plan is too small", and folding it into the total hides the one thing the customer can act on. ⛔ An empty list is a 200. Tracing is enrolled when the box converges and fills over hours, so "nothing traced yet" is an ordinary state on a healthy machine, not a failure. Requires sites.view. No visitor IP addresses appear in the response — the field does not exist at any layer beneath this one.

Պարամետրեր

ԱնունՏեսակՊահանջվում էԻնչ է դա
siteId (path)UuidԱյոSite ID (UUIDv7).
limit (query)integerՈչHow many requests to return (1–100, default 20).

Պատասխան

ԱնունՏեսակՊահանջվում էԻնչ է դա
dataSiteSlowRequest[]Այո

Այս վերջնակետի կողմից վերադարձվող սխալները

401 · 403 · 404 · 409 · 429 · 503