メインコンテンツまでスキップ

Restore an earlier version as the newest.

POST/api/v1/workflow-templates/{workflow_template_id}/versions/{workflow_template_version_id}/restoreworkflows:author
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Saves a copy of the version as a new version on top of the newest, and that copy is the one that runs. Running workflows keep the version they started on.

スコープworkflows:author
非同期いいえ
MCP ツールrestore_workflow_template_version
Portal の権限rollback_workflow_template_versions

パラメーター​

名前場所型必須説明
workflow_template_idpathstring必須
workflow_template_version_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

応答​

ステータス説明本文
200Success.application/json WorkflowTemplateVersion または object
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflict, idempotency_in_progressapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須

WorkflowTemplateVersion​

フィールド型必須説明
created_atstring (date-time) または null必須
created_byUserRef必須
is_currentboolean必須true for the version that runs now.
node_countinteger必須≥ -2147483648; ≤ 2147483647
parent_workflow_template_version_idstring または null必須The version this one was saved on top of; null for the first.
workflow_template_idstring必須
workflow_template_version_idstring必須