EndpunkteScan workflowsPublicAction flowsTriggeridChainMode
Preview or confirm an enabled public action chain
Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.
POST
Same-origin, rate-limited public endpoint. The trigger must remain enabled. The configured fixed code overrides submitted code. Preview does not need an Idempotency-Key; execute requires a UUID key and expectedPlanHash. All actions roll back on failure.
triggerId*stringFormat
uuidmode*stringMögliche Werte
"preview""execute"Idempotency-Key?stringUUID identifying one queue operation; safe to reuse for retries.
Format
uuidapplication/json- body
workflowId*stringMuster
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidcode*stringLänge
1 <= length <= 2048codeType?|Mögliche Werte
"qr_code""data_matrix""aztec""pdf417""code_128""code_93""code_39""codabar""ean_13""ean_8""upc_a""upc_e""itf"nullselectedResourceIds?array<>Einträge
items <= 24Standard
[]inputs?Standard
{}expectedPlanHash?stringMuster
^[a-f0-9]{64}$Idempotent replay
application/json- response
workflowId*stringMuster
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidrevision*integerBereich
-9007199254740991 <= value <= 9007199254740991identifier*stringplanHash*stringMuster
^[a-f0-9]{64}$replayed?booleansteps*array<>curl -X POST 'https://example.com/api/public/action-flows/497f6eca-6276-4993-bfeb-53cbbbba6f08/chain/preview' \ -H 'Content-Type: application/json' \ -d '{ "workflowId": "43c4fa9b-0cbc-4b57-a121-9d7d46a3eaa4", "code": "string"}'Beispielantwort
{ "workflowId": "43c4fa9b-0cbc-4b57-a121-9d7d46a3eaa4", "revision": -9007199254740991, "identifier": "string", "planHash": "string", "replayed": true, "steps": [ { "id": "string", "label": "string", "type": "string", "skipped": true, "target": "string", "eventName": "string", "code": "string", "quantityBefore": -9007199254740991, "quantityAfter": -9007199254740991, "statusBefore": "string", "statusAfter": "string", "locationBefore": "string", "locationAfter": "string", "metadata": { "property1": null, "property2": null }, "customFields": { "property1": null, "property2": null }, "components": [ { "name": "string", "quantity": -9007199254740991, "codes": [ "string" ] } ] } ]}