catalog
GET /v1/catalog/compute
List the sellable cloud machine sizes.
احراز هویت
این نقطه پایانی عمومی است. هیچ مدرک احراز هویت و هیچ سازمانی نمیپذیرد — این همان چیزی است که سایت بازاریابی خودمان و موتورهای پاسخدهنده هوش مصنوعی میخوانند.
این نقطه پایانی هیچ شناسه سازمانی را دریافت نمیکند. کلید شما در حال حاضر سازمان مربوطه را مشخص میکند و پاسخ در همان محدوده ارائه میشود.
امتحان کنید
هر چیزی را که داخل براکتهای زاویهدار قرار دارد با مقادیر خودتان جایگزین کنید، و نگهدارنده کلید را با کلیدی از داشبورد خود جایگزین نمایید.
curl -X GET https://api.zinndigital.com/v1/catalog/computeوارد شدهاید؟ کنسول API در داشبورد شما شناسه سازمان واقعی و کلید خودتان را پر میکند و درخواست را روی API زنده اجرا میکند تا بتوانید پاسخ واقعی را ببینید. این نقطه پایانی را در کنسول API باز کنید
جزئیات
Every Zinn® Cloud size a customer may buy, with every cadence it is priced at, read straight from the catalogue rows an operator edits in admin. Public — no authentication, no tenant, no principal — and cacheable exactly like listCatalogPlans (strong ETag + max-age=60). This is not getComputeCatalogue made public, and it deliberately cannot become it. That endpoint (GET /v1/compute/catalogue, sites.view) reads the provider matrix, which is an org-scoped live call to the vendor with the org's own credentials. This one is a pure read of our own plan and price rows, which is why it can be served to a logged-out visitor at all. The corollary is part of the contract: this endpoint returns no providers and no data centres. Both are defaulted server-side at checkout, once an org exists to read them with. Only sizes that can actually be bought are listed. A size with no vendor spec token, or with no price at any sellable cadence, is one the cart refuses — listing it would be a configurator that offers a size and then answers 422. Returned whole, not cursor-paginated, matching listCatalogPlans: a configurator needs every size at once to render a comparison, not 50 at a time.
پارامترها
| نام | نوع | الزامی | چیست |
|---|---|---|---|
If-None-Match (header) | string | خیر | A previously returned ETag; a match responds 304. |
پاسخ
| نام | نوع | الزامی | چیست |
|---|---|---|---|
data | PublicComputeTier[] | بله | — |
خطاهایی که این نقطه پایانی میتواند برگرداند
429