hosting
GET /v1/hosting/applications
List the applications a NEW site on a product line can be built with.
Autentifikimi
Drgoni një çelës API si një token mbajtës. Ky pikëndalim nuk specifikon një leje specifike në specifikim, prandaj jepini çelësit tuaj minimumin e nevojshëm dhe kontrolloni përgjigjen në vend që të supozoni.
Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.
Provoje
Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.
curl -X GET https://api.zinndigital.com/v1/hosting/applications \
-H "Authorization: Bearer zdk_live_…"Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së
Detajet
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.
Parametrat
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
product_line (query) | string | Jo | The product line to answer for, e.g. `mainstream`. |
Përgjigja
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
data | SiteApplication[] | Po | — |
Gabimet që ky pikëndalim mund të kthejë
401 · 403 · 429