hosting

GET /v1/wordpress/overview

Count the caller's whole WordPress estate by posture.

Všechny koncové body hosting

Autentizace

Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.

Sem patří ID vaší organizace

Tento koncový bod přijímá org_id jako parametr dotazu. Pokud ho vynecháte, volání pokryje celý podstrom vašeho nájemce; jeho odesláním volání zúžíte na jednu organizaci.

ID vaší organizace najdete na obrazovce API klíčů ve vašem přehledu, hned vedle samotného klíče. Je to stále stejné ID v každém volání, které provedete.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

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

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

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`.

Parametry

NázevTypPožadovánoCo to je
org_id (query)stringNeNarrow 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…

Odpověď

NázevTypPožadovánoCo to je
totalintegerAno
installedintegerAno
core_updatesintegerAno
component_updatesintegerAno
currentintegerAno
unknownintegerAno
not_installedintegerAno
unreachableintegerAnoSites whose homepage answered 4xx/5xx, or did not answer at all.
never_collectedintegerAnoSites nobody has ever asked. Reported separately from `unknown`, which also covers *"we asked and the platform declined to say"*.
healthyintegerAnoSites assessed, with no critical finding.
unhealthyintegerAnoSites assessed, with at least one critical finding.
health_unknownintegerAno⛔⛔ **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_targetobjectAno
by_product_lineobjectAno

Chyby, které může tento koncový bod vrátit

401 · 403 · 429