{
"title": "properties",
"oneOf": [
{
"type": "object",
"required": [
"command",
"action"
],
"properties": {
"command": {
"type": "string",
"description": "Edit command to execute",
"enum": [
"generate-action-workflow",
"generate-action-pre-transformation",
"generate-action-post-transformation"
]
},
"action": {
"description": "Resource action ID or pending action definition",
"type": "string",
"oneOf": [
{
"$ref": "resource-model-common#/definitions/action-identifier"
},
{
"$ref": "resource-model-common#/definitions/action"
}
]
},
"overwrite": {
"description": "Tells the component generator to either disregard and overwrite an existing component on the action (when true) or to refuse to generate a new component (when false).",
"type": "boolean"
},
"updateAction": {
"description": "Tells the component generator to either update the action in the database (when true) or to only generate and return the new component (when false)",
"type": "boolean"
}
}
}
]
}
Return
DetailsExampleSchema
Name
Type
Description
response
object
-
Copied to Clipboard
{
"message": "A server error occurred while processing this request",
"data": "null",
"metadata": {
"errors": []
}
}