Have manitu update the software on a website

manitu updates the software (Nextcloud) on a website, for the price it offers.

WWriteNot idempotentbetaNeeds service_webhosting
Tool
manitu_webhosting_web_vhost_application_updateon https://mcp.manitu.de/mcp
POST
/v1/webhosting/web/vhost/application/updateon https://api.manitu.de
Try it
Changes the account. Agents say what will happen and wait for an explicit yes before calling it.
readOnlyHint falsedestructiveHint falseidempotentHint falseopenWorldHint false

Has manitu update the software on a website (vHost) of a web hosting package of the manitu customer account this connection works in, by site_id and fqdn from manitu_webhosting_web_vhost_list - only where manitu_webhosting_web_vhost_application_get shows update.by_manitu (today Nextcloud), for the price stated there. It runs in the background: follow it with manitu_workflow_get and its workflow_token; manitu charges only when it succeeds. CONSENT IN TWO CALLS: the first call (without consent_token) is answered with the conflict consent_required - its consent_list holds the AGB as a link and the price as a text, and a consent_token. Show the customer every item; only after an explicit yes to all of them call again with the consent_token (valid 15 minutes, once). Never agree on the customer's behalf. Refused with a conflict when nothing is on offer (update_not_available), the web space is nearly full (quota_nearly_full), the website shows no folder (not_a_website_with_folder), an update is running (workflow_running, with its workflow_token), the customer may not order (order_not_allowed, with reason_list) or the package cannot be changed now (not_configurable).

site_idinteger | stringrequired

The site_id from manitu_webhosting_list - never guess one.

pattern ^[1-9][0-9]*$min 1
fqdnstringrequired

The website from manitu_webhosting_web_vhost_list. Never guess one.

min length 3max length 253
consent_tokenstringwrite-only

The consent_token from the consent_required answer of the same call - only after the customer agreed to everything in its consent_list. Valid 15 minutes, once.

min length 1max length 255
workflowstring | nullrequired

What is being done, e.g. power_reboot or ngcobalt_site_web_database_copy.

One of create destroy power_start power_stop power_reboot reinstall ptr_set vnc_enable vnc_disable rescuesystem_enable rescuesystem_disable snapshot_create snapshot_delete snapshot_delete_all snapshot_revert telemetry_await iso_eject none account_contract_termination_finish ngcobalt_site_web_application_installation_set ngcobalt_site_web_application_installation_update ngcobalt_site_web_permission_set ngcobalt_site_web_database_copy network_librenms_discover null
workflow_idstring | nullrequired

The id of this run, as vserver/workflow/list names it; null for a workflow not kept as tasks.

statusstringrequired

pending: waiting to start; running: started, not finished (can take a while); done: finished, everything went through; error: finished, but it or part of it failed.

One of pending running done error
created_atstring | nullrequired

When it was asked for.

Format date-time
started_atstring | nullrequired

When it started; null while pending, and for a workflow that does not record it.

Format date-time
ended_atstring | nullrequired

When it finished; null until then.

Format date-time
updated_atstring | nullrequired

When it last changed.

Format date-time
workflow_tokenstring | nullrequired

Pass it to manitu_workflow_get to see how far the workflow is - as it is, never built or changed. A secret of this workflow: do not show it to anyone. null if there is none.

fqdnstringrequired

The website.

price_centintegerrequired

The price agreed to, in euro cent - charged only when the update succeeds.

One of X-API-Key, Authorization: Bearer … - never more than one in a request. More

site_idinteger | stringrequired

The site_id from manitu_webhosting_list - never guess one.

pattern ^[1-9][0-9]*$min 1
fqdnstringrequired

The website from manitu_webhosting_web_vhost_list. Never guess one.

min length 3max length 253
consent_tokenstringwrite-only

The consent_token from the consent_required answer of the same call - only after the customer agreed to everything in its consent_list. Valid 15 minutes, once.

min length 1max length 255
workflowstring | nullrequired

What is being done, e.g. power_reboot or ngcobalt_site_web_database_copy.

One of create destroy power_start power_stop power_reboot reinstall ptr_set vnc_enable vnc_disable rescuesystem_enable rescuesystem_disable snapshot_create snapshot_delete snapshot_delete_all snapshot_revert telemetry_await iso_eject none account_contract_termination_finish ngcobalt_site_web_application_installation_set ngcobalt_site_web_application_installation_update ngcobalt_site_web_permission_set ngcobalt_site_web_database_copy network_librenms_discover null
workflow_idstring | nullrequired

The id of this run, as vserver/workflow/list names it; null for a workflow not kept as tasks.

statusstringrequired

pending: waiting to start; running: started, not finished (can take a while); done: finished, everything went through; error: finished, but it or part of it failed.

One of pending running done error
created_atstring | nullrequired

When it was asked for.

Format date-time
started_atstring | nullrequired

When it started; null while pending, and for a workflow that does not record it.

Format date-time
ended_atstring | nullrequired

When it finished; null until then.

Format date-time
updated_atstring | nullrequired

When it last changed.

Format date-time
workflow_tokenstring | nullrequired

Pass it to manitu_workflow_get to see how far the workflow is - as it is, never built or changed. A secret of this workflow: do not show it to anyone. null if there is none.

fqdnstringrequired

The website.

price_centintegerrequired

The price agreed to, in euro cent - charged only when the update succeeds.

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.