hosting

GET /v1/sites/{siteId}/wordpress/activity

What changed on this WordPress, and who changed it.

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

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

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

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

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

Испробајте

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

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/wordpress/activity \
  -H "Authorization: Bearer zdk_live_…"

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

Every change this platform made to the site's WordPress — plugins and themes installed, activated, updated or deleted, users created and demoted, core updates, search-replaces, maintenance mode, console commands and update-policy changes — newest first. ⛔ Bounded twice, and both bounds are returned rather than assumed: a window_days window and a row limit. AuditLog is time-partitioned, so the window keeps the query off every historical partition and the limit keeps one very busy site from returning a response nobody can render. A screen that showed rows without stating the window would read as "this is everything". ⛔ action is a stable code, never a sentence — the client owns the wording, in every locale. detail carries the names of what changed and never a password, console output or an uploaded archive. Requires sites.view.

Параметри

НазивТипОбавезноШта је ово
siteId (path)UuidДаSite ID (UUIDv7).

Одговор

НазивТипОбавезноШта је ово
dataSiteWordPressActivityEntry[]Да—
window_daysintegerДаHow far back this read looked. ⛔ Returned, not assumed — a screen that renders rows without stating the window reads as "this is everything".
limitintegerДаThe most rows one read returns.

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

401 · 403 · 404 · 429 · 503