hosting
GET /v1/hosting/applications
List the applications a NEW site on a product line can be built with.
Autentifikacija
Pošaljite API ključ kao bearer token. Ova krajnja točka ne navodi određenu dozvolu u specifikaciji, stoga dajte svom ključu najmanje što mu je potrebno i provjerite odgovor umjesto da pretpostavljate.
Ova krajnja točka ne prihvaća ID organizacije. Vaš ključ već identificira organizaciju kojoj pripada, a odgovor je ograničen na nju.
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/hosting/applications \
-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 platform-level sibling of `GET /v1/hosting/locations`: authenticated but not tenant-scoped, because it is a statement about what this platform sells rather than about any customer's estate. It exists because the create-site form needs the application list at the one moment no site — and therefore no hosting package — exists to read it from. Scoped by `product_line`, and that narrowing is the point: the footprint-free line deliberately offers a narrower set than mainstream. A missing or unknown `product_line` answers an **empty list**, never everything — an unfiltered fallback would show a footprint-free customer the helpdesks and CRMs that line exists to keep off their sites.
Parametri
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
product_line (query) | string | Ne | The product line to answer for, e.g. `mainstream`. |
Odgovor
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
data | SiteApplication[] | Da | — |
Pogreške koje ova krajnja točka može vratiti
401 · 403 · 429