workflow

创建审批流程模板

Changed on

create workflow template

post/v1/projects/{project_name}/workflow_templates

Request

  • Base URL
    /sqle (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /sqle/v1/projects/{project_name}/workflow_templates
  • Auth
    API key in header Authorization

Path parameters

project_namestring required

project name

Request body

allow_submit_when_less_audit_level'normal' | 'notice' | 'warn' | 'error'
descstring
is_defaultboolean
workflow_template_namestring
workflow_type'workflow' | 'data_export'

Response

OK

codeinteger
messagestring

Example response

{
  "message": "ok"
}

Changes