catalog
GET /v1/catalog/php-versions
List the PHP versions offered to new sites.
Autenticazione
Questo endpoint è pubblico. Non richiede credenziali né alcuna organizzazione: è ciò che leggono il nostro sito di marketing e i nostri motori di risposta basati su IA.
Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.
Provalo
Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.
curl -X GET https://api.zinndigital.com/v1/catalog/php-versionsHai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API
Dettagli
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`).
Parametri
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
product_line (query) | string | No | Restrict to one product line by its code (e.g. `footprint_free`). Unknown code → empty list. |
If-None-Match (header) | string | No | A previously returned `ETag`; a match responds `304`. |
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
data | PhpVersionCatalogEntry[] | Sì | — |
Errori che questo endpoint può restituire
429