connections
GET /v1/waap/domains
Domains protected by the organisation's WAAP account, and what the policy did.
Autentikasi
Kirimkan kunci API sebagai token bearer. Titik akhir ini tidak menyatakan izin tertentu dalam spesifikasi, jadi berikan kunci Anda izin minimum yang diperlukan dan periksa responsnya alih-alih berasumsi.
Endpoint ini tidak memerlukan id organisasi. Kunci Anda telah mengidentifikasi organisasi tempatnya berafiliasi, dan respons akan dibatasi untuk organisasi tersebut.
Coba
Ganti apa pun di dalam tanda kurung sudut dengan nilai Anda sendiri, dan placeholder kunci dengan kunci dari dasbor Anda.
curl -X GET https://api.zinndigital.com/v1/waap/domains \
-H "Authorization: Bearer zdk_live_…"Sudah masuk? Konsol API di dasbor Anda akan mengisi ID organisasi asli dan kunci Anda sendiri, serta menjalankan permintaan terhadap API langsung sehingga Anda dapat melihat respons aktualnya. Buka titik akhir ini di konsol API
Detail
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.
Tanggapan
| Nama | Jenis | Wajib | Tentang apa ini |
|---|---|---|---|
domains | WaapDomain[] | Ya | — |
Kesalahan yang dapat dikembalikan oleh titik akhir ini
401 · 429