Show which PHP versions a website works with
Per PHP version of the package: what the website's start page answered when manitu checked.
manitu_webhosting_web_vhost_php_compatibility_get on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Returns which PHP versions a website (vHost) of a web hosting package of the manitu customer account this connection works in works with, by site_id and fqdn from manitu_webhosting_web_vhost_list, as manitu last checked: for every PHP version of the package whether the start page works, fails or is unclear under it, with the HTTP status. A hint for choosing a version (manitu_webhosting_set php_version), not a guarantee for every page. checked_at says how fresh it is; manitu_webhosting_web_vhost_php_compatibility_check checks again. Only for a website that shows a folder (conflict not_a_website_with_folder).
Arguments
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
fqdnstringrequiredThe website from manitu_webhosting_web_vhost_list (type website, showing a folder). Never guess one.
Result structuredContent, checked against the schema
fqdnstringrequiredThe website.
checked_atstring | nullrequiredWhen it was checked last; null: never yet (manitu_webhosting_web_vhost_php_compatibility_check).
version_listarray of objectrequiredEvery PHP version the package offers.
version_list[].php_versionstringrequiredThe PHP version, as webhosting set takes it (php_version), e.g. php8.3.
version_list[].is_defaultbooleanrequiredThe package's default version.
version_list[].resultstring | nullrequiredworks, fails or unclear - for the start page only; null: not checked with this version yet.
version_list[].http_statusinteger | nullrequiredThe HTTP status the start page answered; null: none, or the software refused the version itself.
Authentication
One of X-API-Key, Authorization: Bearer … - never more than one in a request. More
Request body JSON; unknown fields are refused
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
fqdnstringrequiredThe website from manitu_webhosting_web_vhost_list (type website, showing a folder). Never guess one.
Response in data; the rest of the body as on every call
fqdnstringrequiredThe website.
checked_atstring | nullrequiredWhen it was checked last; null: never yet (manitu_webhosting_web_vhost_php_compatibility_check).
version_listarray of objectrequiredEvery PHP version the package offers.
version_list[].php_versionstringrequiredThe PHP version, as webhosting set takes it (php_version), e.g. php8.3.
version_list[].is_defaultbooleanrequiredThe package's default version.
version_list[].resultstring | nullrequiredworks, fails or unclear - for the start page only; null: not checked with this version yet.
version_list[].http_statusinteger | nullrequiredThe HTTP status the start page answered; null: none, or the software refused the version itself.
Statuses
200Success.400The request does not match the declared input schema.401No credential was presented, or it was not recognised.403The credential is not permitted to use this operation.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.