Bring one earlier saved version of a Hive automation back as the current DRAFT. Nothing is erased and nothing goes live: setting it live is a separate step a person approves in Hive.

post/api/v1/tools/restore_flow_version

Request

  • Base URL: https://hivepublish.com
  • URL: https://hivepublish.com/api/v1/tools/restore_flow_version
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Required for every write.

Request body

flowIdstring required

The Hive automation to restore into.

versionIdstring required

The version to restore, from read_flow_versions.

expectedDraftVersionIdstring

The draftVersionId read_flow_document returned, or leave it out when there is no draft.

expectedDraftRevisioninteger

The revision read_flow_document returned, or leave it out when there is no draft.

Response

Tool result

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.