List log files of a web hosting package
The access, error, PHP error and cronjob logs of a package - current and rotated.
manitu_webhosting_web_log_list on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Lists the log files of a web hosting package of the manitu customer account this connection works in, by its site_id from manitu_webhosting_list: per type (access, error, php.error, cron) the current file (rotation null) and the older ones kept (rotation), with their size. Reading one: manitu_webhosting_web_log_get.
Arguments
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
Result structuredContent, checked against the schema
log_listarray of objectrequiredlog_list[].typestringrequiredaccess: every request; error: the web server's errors; php.error: PHP's errors; cron: one line per cronjob run - time, exit code, duration; a cronjob's output and errors are with the cronjob (manitu_webhosting_web_cronjob_get).
log_list[].rotationstring | nullrequiredWhich older file - as log get takes it; null: the current one.
log_list[].size_bytesinteger | nullrequiredAuthentication
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
log_listarray of objectrequiredlog_list[].typestringrequiredaccess: every request; error: the web server's errors; php.error: PHP's errors; cron: one line per cronjob run - time, exit code, duration; a cronjob's output and errors are with the cronjob (manitu_webhosting_web_cronjob_get).
log_list[].rotationstring | nullrequiredWhich older file - as log get takes it; null: the current one.
log_list[].size_bytesinteger | nullrequiredStatuses
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.