reseller
GET /v1/reseller/overview
Everything you have — every URL, credential and setting, in one read.
Autentifikacija
Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu reseller.view; ključ bez nje se odbija sa 403, a ne sa 404.
Gde ide ID vaše organizacije
Ova krajnja tačka prihvata org_id kao parametar upita. Izostavite ga i poziv obuhvata celokupno stablo vašeg zakupca; pošaljite ga da biste suzili poziv na jednu organizaciju.
ID vaše organizacije nalazi se na ekranu sa API ključevima u vašoj kontrolnoj tabli, pored samog ključa. To je isti ID u svakom pozivu koji uputite.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
curl -X GET https://api.zinndigital.com/v1/reseller/overview \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
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 | Šta je ovo |
|---|---|---|---|
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 | Šta je ovo |
|---|---|---|---|
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 | — |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404 · 429