List databases of a web hosting package
The databases of one web hosting package, and how many it allows.
manitu_webhosting_web_database_list on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Lists the databases (MariaDB, MySQL, PostgreSQL) of a web hosting package of the manitu customer account this connection works in, by its site_id from manitu_webhosting_list: for each its database_id, server type, host, database name and user name - what a CMS or shop is set up with -, its description, whether manitu still knows its password, and how many tables and how much data it held when last counted. count_max is how many databases the package allows. The password is never in this list.
Arguments
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
Result structuredContent, checked against the schema
database_listarray of objectrequireddatabase_list[].database_idintegerrequiredThe database - what the other database tools take.
database_list[].server_typestring | nullrequiredThe kind of database server: mariadb, mysql or postgres; null if it cannot be told right now.
database_list[].hostnamestringrequiredThe database server to connect to - from the web hosting package's own scripts.
database_list[].namestringrequiredThe name of the database (db<number>).
database_list[].usernamestringrequiredThe user to connect with (u<number>).
database_list[].descriptionstring | nullrequiredWhat the customer wrote about it (his description), null if nothing - not its name or user name.
database_list[].password_storedbooleanrequiredmanitu still knows the password. false: the customer had it forgotten - the database keeps it, dumps and copies need a new one (set with password_action regenerate).
database_list[].table_countinteger | nullrequiredHow many tables it has, as last counted; null if never counted.
database_list[].data_size_mbinteger | nullrequiredHow much data and indexes it holds in MB (rounded down), as reported by the database server when last counted; the files on disk can be larger. null if never counted.
database_list[].counted_atstring | nullrequiredWhen table_count and data_size_mb were counted.
database_list[].created_atstring | nullrequiredWhen it was created.
count_maxinteger | nullrequiredHow many databases the package allows.
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.
Response in data; the rest of the body as on every call
database_listarray of objectrequireddatabase_list[].database_idintegerrequiredThe database - what the other database tools take.
database_list[].server_typestring | nullrequiredThe kind of database server: mariadb, mysql or postgres; null if it cannot be told right now.
database_list[].hostnamestringrequiredThe database server to connect to - from the web hosting package's own scripts.
database_list[].namestringrequiredThe name of the database (db<number>).
database_list[].usernamestringrequiredThe user to connect with (u<number>).
database_list[].descriptionstring | nullrequiredWhat the customer wrote about it (his description), null if nothing - not its name or user name.
database_list[].password_storedbooleanrequiredmanitu still knows the password. false: the customer had it forgotten - the database keeps it, dumps and copies need a new one (set with password_action regenerate).
database_list[].table_countinteger | nullrequiredHow many tables it has, as last counted; null if never counted.
database_list[].data_size_mbinteger | nullrequiredHow much data and indexes it holds in MB (rounded down), as reported by the database server when last counted; the files on disk can be larger. null if never counted.
database_list[].counted_atstring | nullrequiredWhen table_count and data_size_mb were counted.
database_list[].created_atstring | nullrequiredWhen it was created.
count_maxinteger | nullrequiredHow many databases the package allows.
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.