connections
GET /v1/waap/domains
Domains protected by the organisation's WAAP account, and what the policy did.
Autentificare
Trimiteți o cheie API ca token de tip bearer. Acest punct final nu specifică o permisiune anume în specificație, așa că acordați cheii cele mai puține drepturi necesare și verificați răspunsul în loc să faceți presupuneri.
Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.
Î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/waap/domains \
-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
Web application and API protection on the customer's own account. ⛔⛔ **`mode` is mandatory reading and no client may render a domain as "protected" without it.** `monitor` evaluates every rule, logs every match and **delivers the traffic anyway** — it produces analytics, shows threats detected, and blocks nothing. On a dashboard it is indistinguishable from `block` unless the mode is shown. `locked` is a fourth state the **provider** assigns (usually for billing) and the customer cannot change; it is not a mode they chose and a toggle will not clear it. ⛔ `total_requests` and `blocked_requests` are `null` when the provider does not report them — never `0`. "Nothing was blocked" and "we cannot see what was blocked" are opposite answers.
Răspuns
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
domains | WaapDomain[] | Da | — |
Erori pe care le poate returna acest punct final
401 · 429