hosting

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

Show where one request's milliseconds went.

Minden hosting végpont

Az összes fejlesztői dokumentáció

Hitelesítés

Küldjön egy API-kulcsot bearer tokenként. A kulcsnak rendelkeznie kell a(z) sites.view jogosultsággal; az ezzel nem rendelkező kulcsok esetén a rendszer 403-as hibát ad vissza 404 helyett.

Ez a végpont nem fogad el szervezeti azonosítót. Az Ön kulcsa már azonosítja azt a szervezetet, amelyhez tartozik, és a válasz is erre vonatkozik.

Próbálja ki

Cserélje ki a hegyes zárójelek közötti részt a saját értékeivel, a kulcshelyőrzőt pedig a vezérlőpultján található kulccsal.

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

Be van jelentkezve? A vezérlőpultban lévő API-konzol kitölti a valós szervezetazonosítóját és a saját kulcsát, és a kérést az éles API-n futtatja, hogy láthassa a tényleges választ. Nyissa meg ezt a végpontot az API konzolban

Részletek

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.

Paraméterek

NévTípusKötelezőMi ez
siteId (path)UuidIgenSite ID (UUIDv7).
taskId (path)stringIgenThe 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 and…
requestId (path)integerIgenThe request's number within that tracing task.

Válasz

NévTípusKötelezőMi ez
requestSiteSlowRequestIgenOne 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…
costsSiteRequestCost[]IgenThe costs, heaviest first.

Hibák, amelyeket ez a végpont visszaadhattatlan

401 · 403 · 404 · 409 · 429 · 503