workflow

创建工单

create workflow

post/v2/projects/{project_name}/workflows

Request

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

Path parameters

project_namestring required

project name

Request body

descstring
ops_type_uidstring

OpsTypeUID 运维类型字典项标识;可选;空表示未设置;创建后不可改

sql_version_idinteger
task_idsinteger[]
workflow_subjectstring
workflow_template_idinteger

Response

OK

codeinteger
messagestring

Example response

{
  "message": "ok"
}

Changes

No recorded changes to this operation across all 75 revisions of this API.