catalog

GET /v1/catalog/php-versions

List the PHP versions offered to new sites.

सभी catalog एंडपॉइंट्स

प्रमाणन

यह एंडपॉइंट सार्वजनिक है। यह कोई क्रेडेंशियल और कोई संगठन नहीं लेता है—यह वही है जिसे हमारी अपनी मार्केटिंग साइट और AI उत्तर इंजन पढ़ते हैं।

यह एंडपॉइंट कोई संगठन आईडी नहीं लेता है। आपकी कुंजी पहले से ही उस संगठन की पहचान करती है जिससे वह संबंधित है, और प्रतिक्रिया उसी के दायरे में है।

इसे आज़माएँ

कोणार्कित ब्रैकेट्स में दी गई किसी भी चीज़ को अपने मानों से बदलें, और की प्लेसहोलर को अपने डैशबोर्ड की एक की से बदलें।

curl -X GET https://api.zinndigital.com/v1/catalog/php-versions

साइन इन हैं? आपके डैशबोर्ड में मौजूद API कंसोल आपकी वास्तविक संगठन आईडी और आपकी अपनी कुंजी स्वतः भर देता है, और लाइव API के विरुद्ध अनुरोध चलाता है ताकि आप वास्तविक प्रतिक्रिया देख सकें। इस एंडपॉइंट को API कंसोल में खोलें

विवरण

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`).

पैरामीटर

नामप्रकारआवश्यकयह क्या है
product_line (query)stringनहींRestrict to one product line by its code (e.g. `footprint_free`). Unknown code → empty list.
If-None-Match (header)stringनहींA previously returned `ETag`; a match responds `304`.

प्रतिक्रिया

नामप्रकारआवश्यकयह क्या है
dataPhpVersionCatalogEntry[]हाँ

त्रुटियाँ जो यह एंडपॉइंट लौटा सकता है

429