hosting

GET /v1/wordpress/overview

Count the caller's whole WordPress estate by posture.

Alle hosting-eindpunten

Authenticatie

Stuur een API-sleutel mee als bearer token. De sleutel moet over de permissie sites.view beschikken; een sleutel zonder deze permissie wordt geweigerd met een 403 in plaats van een 404.

Waar je organisatie-id komt te staan

Dit eindpunt accepteert org_id als queryparameter. Laat deze achterwege en de aanroep destilleert je gehele tenant-substructie; stuur deze mee om de aanroep te beperken tot één organisatie.

Uw organisatie-id staat op het scherm met API-sleutels in uw dashboard, naast de sleutel zelf. Dit is in elke aanroep die u doet dezelfde id.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

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

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

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

Parameters

NaamTypeVerplichtWat dit is
org_id (query)stringNeeNarrow 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…

Reactie

NaamTypeVerplichtWat dit is
totalintegerJa
installedintegerJa
core_updatesintegerJa
component_updatesintegerJa
currentintegerJa
unknownintegerJa
not_installedintegerJa
unreachableintegerJaSites whose homepage answered 4xx/5xx, or did not answer at all.
never_collectedintegerJaSites nobody has ever asked. Reported separately from `unknown`, which also covers *"we asked and the platform declined to say"*.
healthyintegerJaSites assessed, with no critical finding.
unhealthyintegerJaSites assessed, with at least one critical finding.
health_unknownintegerJa⛔⛔ **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_targetobjectJa
by_product_lineobjectJa

Fouten die dit eindpunt kan retourneren

401 · 403 · 429