29cfd2dde619

OpenAPI 3.1.02026-08-13310343675.6 KB
Codemode Runs

Test the exact saved Script draft and return the receiptId required to create that unchanged version

post/v1/codemode-scripts/test

Request body

namestring required
descriptionstring
codestring required
{"stackTrail":"paths:/v1/codemode-scripts/test:post:requestBody:content:application/json:schema:properties:exampleInput","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/codemode-scripts/test:post:requestBody:content:application/json:schema:properties:inputSchema","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/codemode-scripts/test: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."}
configObjectIdstring required

Response

Script draft tested.

receiptIdstring required
{"stackTrail":"paths:/v1/codemode-scripts/test:post:responses:200:content:application/json:schema:properties:value","oasType":"schema","type":"unknown"}
markdownstring required
codeDigeststring required
resultDigeststring required
inputSchemaDigeststring nullable required
outputSchemaDigeststring nullable required
rendererVersion'codemode-markdown-v1' required
finishedAtstring date-time required