hosting

GET /v1/wordpress/overview

Count the caller's whole WordPress estate by posture.

Toate punctele finale hosting

Autentificare

Trimiteți o cheie API ca token de tip bearer. Cheia trebuie să aibă permisiunea sites.view; o cheie care nu o are va fi respinsă cu 403, nu 404.

Unde merge ID-ul organizației tale

Acest punct final acceptă org_id ca parametru de interogare. Omiteți-l și apelul va acoperi întregul subarbore al chiriașului dvs.; trimiteți-l pentru a restrânge apelul la o singură organizație.

ID-ul organizației tale se află pe ecranul cheilor API din panoul de control, lângă cheia însăși. Este același ID în fiecare apel pe care îl faci.

Încearcă

Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.

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

Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API

Detalii

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

NumeTipObligatoriuCe este
org_id (query)stringNuNarrow 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…

Răspuns

NumeTipObligatoriuCe este
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

Erori pe care le poate returna acest punct final

401 · 403 · 429