reseller
GET /v1/reseller/overview
Everything you have — every URL, credential and setting, in one read.
Autentifikacija
Pošaljite API ključ kao nosivi token. Ključ mora imati dozvolu reseller.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/reseller/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 reseller reference card: the address your clients sign in at, the nameservers you hand them, your sending domain, your API base and key counts, where your clients' support goes, which product lines you sell, how many languages their panel offers, and how many client accounts you run. Every block carries the route that changes it, and the gaps (`gateway_gap`, `invoicing_gap`, `support.gap`) are reported as booleans so a screen can say what is missing rather than render a blank field. Requires `reseller.view`.
Parametri
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
org_id (query) | Uuid | Ne | Which of your organizations this applies to. Required only when you belong to more than one here — otherwise it is inferred, and an id outside your direct memberships is a 404 r… |
Odgovor
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
program | ResellerOverviewProgram | Da | — |
panel | ResellerOverviewPanel | Da | — |
mail | ResellerOverviewMail | Da | — |
dns | ResellerOverviewDns | Da | — |
api | ResellerOverviewApi | Da | — |
support | ResellerOverviewSupport | Da | — |
commerce | ResellerOverviewCommerce | Da | — |
languages | ResellerOverviewLanguages | Da | — |
notifications | ResellerOverviewNotifications | Da | — |
clients | ResellerOverviewClients | Da | — |
Pogreške koje ova krajnja točka može vratiti
401 · 403 · 404 · 429