Check again which PHP versions a website works with
manitu fetches the start page under every PHP version of the package now.
manitu_webhosting_web_vhost_php_compatibility_check on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Checks again 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: manitu fetches its start page once under every PHP version of the package, which takes some seconds per version. Answers as manitu_webhosting_web_vhost_php_compatibility_get. Changes nothing on the website - no need to ask. Refused with a conflict for a website that shows no folder (not_a_website_with_folder), one switched off (inactive) or within minutes of the last check (checked_recently).
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.