6915dfb03e5d

latestOpenAPI 3.1.02026-08-14324343719.4 KB
Codemode Runs

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

post/v1/codemode-scripts/{configObjectId}/versions

Path parameters

configObjectIdstring required

Request body

namestring required
descriptionstring
codestring required
{"stackTrail":"paths:/v1/codemode-scripts/{configObjectId}/versions:post:requestBody:content:application/json:schema:properties:exampleInput","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/codemode-scripts/{configObjectId}/versions:post:requestBody:content:application/json:schema:properties:inputSchema","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/codemode-scripts/{configObjectId}/versions:post:requestBody:content:application/json:schema:properties:outputSchema","oasType":"schema","type":"unknown","description":"Optional JSON Schema for the value returned by this Program."}
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

Script version created.

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