29cfd2dde619

latestOpenAPI 3.1.02026-08-13310343675.6 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":"Explicit JSON Schema for the returned value. It must be present before this Script can back a custom Artifact view."}
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
canManageboolean required