hosting
GET /v1/sites/{siteId}/performance/slow-requests
List the slowest traced requests for a site.
Аутентификација
Пошаљите API кључ као bearer токен. Кључ мора имати дозволу 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). |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
data | SiteSlowRequest[] | Да | — |
Грешке које ова крајња тачка може вратити
401 · 403 · 404 · 409 · 429 · 503