hosting
GET /v1/sites/{siteId}/performance/slow-requests
List the slowest traced requests for a site.
પ્રમાણીકરણ
એપીઆઈ કી (API key) ને બેરર ટોકન તરીકે મોકલો. કી પાસે sites.view પરવાનગી હોવી આવશ્યક છે; તેના વગરની કીને 404 ને બદલે 403 સાથે અસ્વીકાર કરવામાં આવશે.
આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.
આયમાવો
કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/performance/slow-requests \
-H "Authorization: Bearer zdk_live_…"साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ 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