hosting

GET /v1/wordpress/overview

Count the caller's whole WordPress estate by posture.

Усі кінцеві точки hosting

Уся документація для розробників

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл sites.view; ключ без нього відхиляється з кодом 403, а не 404.

Де вказується ідентифікатор вашої організації

Цей ендпоїнт приймає org_id як параметр запиту. Залиште його порожнім, і виклик охопить увесь ваше дерево орендарів; надішліть його, щоб звузити виклик до однієї організації.

Ідентифікатор вашої організації знаходиться на екрані API-ключів у вашій панелі керування, поруч із самим ключем. Це той самий ідентифікатор у кожному вашому запиті.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

curl -X GET https://api.zinndigital.com/v1/wordpress/overview \
  -H "Authorization: Bearer zdk_live_…"

Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API

Деталі

The manager's tiles, counted over every site in scope rather than over the current page. ⛔ A tile derived from one page would read "3 sites need attention" and mean "3 on this page", which is the reading a customer will not make. never_collected is reported separately from unknown on purpose: the first is "nobody has ever asked this site", the second also covers "we asked and the platform declined to say". Requires sites.view.

Параметри

НазваТипОбов'язковеЩо це таке
org_id (query)stringНіNarrow to one organisation in the caller's subtree. Equivalent to the X-Zinn-Org header, which is now read centrally for every org-scoped operation — this parameter wins where…

Відповідь

НазваТипОбов'язковеЩо це таке
totalintegerТак
installedintegerТак
core_updatesintegerТак
component_updatesintegerТак
currentintegerТак
unknownintegerТак
not_installedintegerТак
unreachableintegerТакSites whose homepage answered 4xx/5xx, or did not answer at all.
never_collectedintegerТакSites nobody has ever asked. Reported separately from unknown, which also covers "we asked and the platform declined to say".
healthyintegerТакSites assessed, with no critical finding.
unhealthyintegerТакSites assessed, with at least one critical finding.
health_unknownintegerТак⛔⛔ Sites we have not assessed, and the counter that makes the other two honest. healthy + unhealthy + health_unknown == total, always. Without it an estate nobody had ever…
by_deploy_targetobjectТак
by_product_lineobjectТак

Помилки, які може повертати ця кінцева точка

401 · 403 · 429