hosting
GET /v1/hosting/applications
List the applications a NEW site on a product line can be built with.
توثيقِ شناخت
ایک API کلید بطور بیر ٹوکن (bearer token) ارسال کریں۔ یہ اینڈ پوائنٹ اسپیسیفیکیشن میں کسی مخصوص اجازت کا ذکر نہیں کرتا، اس لیے فرض کرنے کے بجائے اپنی کلید کو کم از کم درکار اجازت دیں اور رسپانس چیک کریں۔
یہ اینڈ پوائنٹ کوئی آرگنائزیشن آئی ڈی نہیں لیتا۔ آپ کی کلید پہلے ہی اس آرگنائزیشن کی شناخت کرتی ہے جس سے یہ تعلق رکھتی ہے، اور اس کا جواب اسی کے مطابق محدود ہوتا ہے۔
آزمائیں
کوئی بھی چیز جو زاویہ دار قوسین میں ہو اسے اپنی اقدار سے بدلیں، اور کلیدی پلیس ہولڈر کو اپنے ڈیش بورڈ کی کسی کلید سے بدلیں۔
curl -X GET https://api.zinndigital.com/v1/hosting/applications \
-H "Authorization: Bearer zdk_live_…"لاگ ان ہیں؟ آپ کے ڈیش بورڈ میں موجود API کنسول آپ کی حقیقی تنظیم کی آئی ڈی اور آپ کی اپنی کلید خود بخود پُر کر دیتا ہے، اور لائیو API پر درخواست چلاتا ہے تاکہ آپ اصل ردعمل دیکھ سکیں۔ اس اینڈ پوائنٹ کو API کنسول میں کھولیں
تفصیلات
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.
پیرامیٹرز
| نام | قسم | لازمی | یہ کیا ہے |
|---|---|---|---|
product_line (query) | string | نہیں | The product line to answer for, e.g. `mainstream`. |
جواب
| نام | قسم | لازمی | یہ کیا ہے |
|---|---|---|---|
data | SiteApplication[] | ہاں | — |
وہ خرابیان جو یہ اینڈ پوائنٹ واپس کر سکتا ہے
401 · 403 · 429