hosting
GET /v1/sites/{siteId}/performance/slow-requests/{taskId}/{requestId}
Show where one request's milliseconds went.
प्रमाणन
बेरर टोकन के रूप में एक API कुंजी भेजें। कुंजी के पास sites.view अनुमति होनी चाहिए; इसके बिना एक कुंजी को 404 के बजाय 403 के साथ अस्वीकार कर दिया जाता है।
यह एंडपॉइंट कोई संगठन आईडी नहीं लेता है। आपकी कुंजी पहले से ही उस संगठन की पहचान करती है जिससे वह संबंधित है, और प्रतिक्रिया उसी के दायरे में है।
इसे आज़माएँ
कोणार्कित ब्रैकेट्स में दी गई किसी भी चीज़ को अपने मानों से बदलें, और की प्लेसहोलर को अपने डैशबोर्ड की एक की से बदलें।
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/performance/slow-requests/{taskId}/{requestId} \
-H "Authorization: Bearer zdk_live_…"साइन इन हैं? आपके डैशबोर्ड में मौजूद API कंसोल आपकी वास्तविक संगठन आईडी और आपकी अपनी कुंजी स्वतः भर देता है, और लाइव API के विरुद्ध अनुरोध चलाता है ताकि आप वास्तविक प्रतिक्रिया देख सकें। इस एंडपॉइंट को API कंसोल में खोलें
विवरण
The cost breakdown for a single traced request: which WordPress plugin, PHP extension, PHP function or SQL query consumed the time, heaviest first, with the call site relative to the site's own document root. ⭐ Rows are merged by name — the vendor emits one row per call site, so a plugin called from four places arrives four times and would otherwise render as four small percentages instead of one real one. ⭐ SQL literals arrive already redacted by the vendor (`WHERE autoload IN ('xxx')`) and are neither restored nor re-redacted here. Requires `sites.view`. A task that does not belong to this site answers `503` with a sentence, never another tenant's data.
पैरामीटर
| नाम | प्रकार | आवश्यक | यह क्या है |
|---|---|---|---|
siteId (path) | Uuid | हाँ | Site ID (UUIDv7). |
taskId (path) | string | हाँ | The tracing task the request belongs to, from `task_id` on the list row. ⛔ Part of the path rather than inferred, because `requestId` restarts at 1 for **every** tracing task an… |
requestId (path) | integer | हाँ | The request's number within that tracing task. |
प्रतिक्रिया
| नाम | प्रकार | आवश्यक | यह क्या है |
|---|---|---|---|
request | SiteSlowRequest | हाँ | One real request this site served, as measured on the machine by CloudLinux X-Ray. ⛔ There is deliberately no visitor IP address here. The vendor's payload carries one; it is dr… |
costs | SiteRequestCost[] | हाँ | The costs, heaviest first. |
त्रुटियाँ जो यह एंडपॉइंट लौटा सकता है
401 · 403 · 404 · 409 · 429 · 503