latestOpenAPI 3.1.02026-08-21315335690.2 KB

1653c7c4d53e

Workflows

Create an immutable Workflow version using the immediately preceding matching test receipt and unchanged draft

post/v1/workflows/{configObjectId}/versions

Path parameters

configObjectIdstring required

Request body

namestring required
descriptionstring
codestring required
{"stackTrail":"paths:/v1/workflows/{configObjectId}/versions:post:requestBody:content:application/json:schema:properties:exampleInput","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/workflows/{configObjectId}/versions:post:requestBody:content:application/json:schema:properties:inputSchema","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/workflows/{configObjectId}/versions:post:requestBody:content:application/json:schema:properties:outputSchema","oasType":"schema","type":"unknown","description":"Optional JSON Schema for the value returned by this Workflow."}
receiptIdstring required

Copy receiptId from the immediately preceding successful draft test. Submit the exact same name, description, code, exampleInput, inputSchema, outputSchema, and requiredCapabilities used by that test.

Response

Workflow version created.

pluginIdstring required
configObjectIdstring required
titlestring required
descriptionstring nullable required
canRunboolean required
canManageboolean required