Show progress of a workflow

How far a workflow is that another route started, by its workflow_token.

RReadIdempotentbeta
Tool
manitu_workflow_geton https://mcp.manitu.de/mcp
POST
/v1/workflow/geton https://api.manitu.de
Try it
readOnlyHint truedestructiveHint falseidempotentHint trueopenWorldHint false

Tells how far a workflow is that a manitu tool started in the manitu customer account this connection works in - a restart or snapshot of a virtual server, a database copy and the like - by the workflow_token that tool answered, passed as it is. status pending or running: not done yet - wait and ask again, not more often than about once a minute; some take many minutes. done: finished. error: it failed - tell the customer, do not simply start it again (result.error_list may say why). result has what it left for the customer once finished - an installed application's administrator and where to log in, the versions of an update. Refused (forbidden) when this access may not see the package or server the workflow works on. The token is a secret of this workflow: never show it.

workflow_tokenstringrequiredwrite-only

The workflow_token the starting tool answered - passed as it is, never built.

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
resultobject | nullrequired

What it left for the customer, when it is finished - null for a workflow that keeps none.

result.adminobject | nullrequired

The administrator of an application manitu installed.

result.admin.usernamestringrequired
result.admin.passwordstring | nullrequired

A secret; null where it is withheld (secrets_withheld).

result.admin.mail_addressstringrequired
result.administration_urlstring | nullrequired

Where an installed application is administered.

result.versionobject | nullrequired

The versions of an application update.

result.version.oldstring | nullrequired
result.version.newstring | nullrequired
result.dumpobject | nullrequired

The dump files a database copy wrote, relative to the package.

result.dump.sourcestring | nullrequired
result.dump.targetstring | nullrequired
result.error_listarray of stringrequired

Why it failed, as codes - e.g. quota_exceeded, extra_files_found, nextcloud_too_old.

secrets_withheldbooleanrequired

A secret in result is left out here (an answer to an agent).

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

workflow_tokenstringrequiredwrite-only

The workflow_token the starting tool answered - passed as it is, never built.

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
resultobject | nullrequired

What it left for the customer, when it is finished - null for a workflow that keeps none.

result.adminobject | nullrequired

The administrator of an application manitu installed.

result.admin.usernamestringrequired
result.admin.passwordstring | nullrequired

A secret; null where it is withheld (secrets_withheld).

result.admin.mail_addressstringrequired
result.administration_urlstring | nullrequired

Where an installed application is administered.

result.versionobject | nullrequired

The versions of an application update.

result.version.oldstring | nullrequired
result.version.newstring | nullrequired
result.dumpobject | nullrequired

The dump files a database copy wrote, relative to the package.

result.dump.sourcestring | nullrequired
result.dump.targetstring | nullrequired
result.error_listarray of stringrequired

Why it failed, as codes - e.g. quota_exceeded, extra_files_found, nextcloud_too_old.

secrets_withheldbooleanrequired

A secret in result is left out here (an answer to an agent).

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.