getDraftDefaultWorkflow
Get draft default workflow
GET /rest/api/3/workflowscheme/{id}/draft/default HTTP/1.1Parameters
{
"id": {
"description": "The ID of the workflow scheme that the draft belongs to.",
"required": true,
"location": "path",
"type": "integer",
"format": "int64"
}
}Response Schema
{
"additionalProperties": false,
"description": "Details about the default workflow.",
"properties": {
"updateDraftIfNeeded": {
"description": "Whether a draft workflow scheme is created or updated when updating an active workflow scheme. The draft is updated with the new default workflow. Defaults to `false`.",
"type": "boolean"
},
"workflow": {
"description": "The name of the workflow to set as the default workflow.",
"type": "string"
}
},
"required": [
"workflow"
],
"type": "object"
}