catalog
GET /v1/catalog/php-versions
List the PHP versions offered to new sites.
Doğrulama
Bu nöqtə açıqdır. O, heç bir etimadnamə və təşkilat tələb etmir — bu, öz marketinq saytımızın və süni intellekt cavab mühərriklərimizin oxuduğu hissədir.
Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.
Sınaqdan keçir
Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.
curl -X GET https://api.zinndigital.com/v1/catalog/php-versionsSistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın
Təfərrüatlar
The PHP versions a new site can be created with, each with its support `status` (`active` current line, `hardened_legacy` CloudLinux-patched alt-php, `eol`), whether it is the default, and the product lines it is offered on. **Public** catalog reference data — no auth, no tenant scope. Only versions offered to new sites appear; a version retired for new sites (grandfathered on existing sites) is omitted. `?product_line=` narrows to one line (an unknown code yields an empty list, never an error). Cacheable exactly like `listCatalogPlans` (strong `ETag` + `max-age=60`).
Parametrlər
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
product_line (query) | string | Xeyr | Restrict to one product line by its code (e.g. `footprint_free`). Unknown code → empty list. |
If-None-Match (header) | string | Xeyr | A previously returned `ETag`; a match responds `304`. |
Cavab
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
data | PhpVersionCatalogEntry[] | Bəli | — |
Bu son nöqtənin qaytara biləcəyi xətalar
429