hosting
GET /v1/sites/{siteId}/performance/slow-requests
List the slowest traced requests for a site.
Autentifikacija
Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija sa 403, a ne sa 404.
Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/performance/slow-requests \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
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.
Parametri
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
siteId (path) | Uuid | Da | Site ID (UUIDv7). |
limit (query) | integer | Ne | How many requests to return (1–100, default 20). |
Odgovor
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
data | SiteSlowRequest[] | Da | — |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404 · 409 · 429 · 503