hosting

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

Show where one request's milliseconds went.

Све hosting крајње тачке

Сва документација за програмере →

Аутентификација

Пошаљите API кључ као bearer токен. Кључ мора имати дозволу sites.view; кључ без ње се одбија уз 403, а не 404.

Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

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

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом 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 and…
requestId (path)integerДаThe request's number within that tracing task.

Одговор

НазивТипОбавезноШта је ово
requestSiteSlowRequestДа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…
costsSiteRequestCost[]ДаThe costs, heaviest first.

Грешке које ова крајња тачка може вратити

401 · 403 · 404 · 409 · 429 · 503