plays

Create Workflow Play Code Snapshot

post/api/workflow-play-code-snapshots

Request

  • Base URL
    https://platform.verbiflow.com/api/bridge
  • URL
    https://platform.verbiflow.com/api/bridge/api/workflow-play-code-snapshots
  • Auth
    • HTTP bearer and API key in header x-flage-org-id
    • or HTTP bearer and API key in header x-flage-org-slug

Request body multipart/form-data

code_bundlestring binary required

Immutable workflow source zip referenced by manifest_json.

expected_code_revision_idstring nullable

Legacy compare-and-set revision paired with target_play_id.

manifest_jsonstring required

JSON-encoded WorkflowPlayCodeManifest. Its digests and archive paths are verified against code_bundle before publication.

publication_jsonstring nullable

JSON-encoded new or existing publication target. Current SDK callers use this field instead of the legacy target fields.

target_play_idstring nullable

Legacy canonical Play target when publication_json is absent.

workflow_slugstring nullable

Legacy existing-Play lookup slug when publication_json is absent.

Response

Successful Response

archive_sha256string required

SHA-256 of the exact immutable source archive.

code_revision_idstring required

Immutable published code revision id.

content_lengthinteger required

Compressed source archive size in bytes.

object_keystring required

Internal immutable object-store key for the archive.

play_idstring required

Canonical Play id created or revised.

source_hashstring required

Digest of the normalized source tree.

synced_atstring required

ISO 8601 revision publication time.

workflow_slugstring required

Stable workflow slug bound to the Play.

Changes

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