hosting

GET /v1/wordpress/overview

Count the caller's whole WordPress estate by posture.

Svi hosting krajnji točke

Sva developerska dokumentacija

Autentifikacija

Pošaljite API ključ kao nosivi token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija s kodom 403, a ne 404.

Gdje dolazi ID vaše organizacije

Ova krajnja točka uzima org_id kao parametar upita. Izostavite ga i poziv obuhvaćett cijelo stablo vašeg najma; pošaljite ga kako biste suzili poziv na jednu organizaciju.

ID vaše organizacije nalazi se na zaslonu API ključeva u vašoj nadzornoj ploči, pored samog ključa. To je isti ID u svakom pozivu koji uputite.

Isprobajte

Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.

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

Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli

Pojedinosti

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.

Parametri

NazivVrstaObaveznoŠto je to
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…

Odgovor

NazivVrstaObaveznoŠto je to
totalintegerDa
installedintegerDa
core_updatesintegerDa
component_updatesintegerDa
currentintegerDa
unknownintegerDa
not_installedintegerDa
unreachableintegerDaSites whose homepage answered 4xx/5xx, or did not answer at all.
never_collectedintegerDaSites nobody has ever asked. Reported separately from unknown, which also covers "we asked and the platform declined to say".
healthyintegerDaSites assessed, with no critical finding.
unhealthyintegerDaSites assessed, with at least one critical finding.
health_unknownintegerDa⛔⛔ 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_targetobjectDa
by_product_lineobjectDa

Pogreške koje ova krajnja točka može vratiti

401 · 403 · 429