Skip to main content
Glama

DolphinScheduler MCP Server

by ocean-zhc
28_workflow_schemas.json25.8 kB
{ "components": { "schemas": { "ProcessDefinition": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "code": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "version": { "type": "integer", "format": "int32" }, "releaseState": { "type": "string", "enum": [ "OFFLINE", "ONLINE" ] }, "projectCode": { "type": "integer", "format": "int64" }, "description": { "type": "string" }, "globalParams": { "type": "string" }, "globalParamList": { "type": "array", "items": { "$ref": "#/components/schemas/Property" } }, "globalParamMap": { "type": "object", "additionalProperties": { "type": "string" } }, "createTime": { "type": "string", "format": "date-time" }, "updateTime": { "type": "string", "format": "date-time" }, "flag": { "type": "string", "enum": [ "NO", "YES" ] }, "userId": { "type": "integer", "format": "int32" }, "userName": { "type": "string" }, "projectName": { "type": "string" }, "locations": { "type": "string" }, "scheduleReleaseState": { "type": "string", "enum": [ "OFFLINE", "ONLINE" ] }, "schedule": { "$ref": "#/components/schemas/Schedule" }, "timeout": { "type": "integer", "format": "int32" }, "modifyBy": { "type": "string" }, "warningGroupId": { "type": "integer", "format": "int32" }, "executionType": { "type": "string", "enum": [ "PARALLEL", "SERIAL_WAIT", "SERIAL_DISCARD", "SERIAL_PRIORITY" ] } } }, "ProcessInstance": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "processDefinitionCode": { "type": "integer", "format": "int64" }, "processDefinitionVersion": { "type": "integer", "format": "int32" }, "projectCode": { "type": "integer", "format": "int64" }, "state": { "type": "string", "enum": [ "WorkflowExecutionStatus{code=0, desc='submit success'}", "WorkflowExecutionStatus{code=1, desc='running'}", "WorkflowExecutionStatus{code=2, desc='ready pause'}", "WorkflowExecutionStatus{code=3, desc='pause'}", "WorkflowExecutionStatus{code=4, desc='ready stop'}", "WorkflowExecutionStatus{code=5, desc='stop'}", "WorkflowExecutionStatus{code=6, desc='failure'}", "WorkflowExecutionStatus{code=7, desc='success'}", "WorkflowExecutionStatus{code=12, desc='delay execution'}", "WorkflowExecutionStatus{code=14, desc='serial wait'}", "WorkflowExecutionStatus{code=15, desc='ready block'}", "WorkflowExecutionStatus{code=16, desc='block'}", "WorkflowExecutionStatus{code=17, desc='wait to run'}" ] }, "stateHistory": { "type": "string" }, "stateDescList": { "type": "array", "items": { "$ref": "#/components/schemas/StateDesc" } }, "recovery": { "type": "string", "enum": [ "NO", "YES" ] }, "startTime": { "type": "string", "format": "date-time" }, "endTime": { "type": "string", "format": "date-time" }, "runTimes": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "host": { "type": "string" }, "processDefinition": { "$ref": "#/components/schemas/ProcessDefinition" }, "commandType": { "type": "string", "enum": [ "START_PROCESS", "START_CURRENT_TASK_PROCESS", "RECOVER_TOLERANCE_FAULT_PROCESS", "RECOVER_SUSPENDED_PROCESS", "START_FAILURE_TASK_PROCESS", "COMPLEMENT_DATA", "SCHEDULER", "REPEAT_RUNNING", "PAUSE", "STOP", "RECOVER_WAITING_THREAD", "RECOVER_SERIAL_WAIT", "EXECUTE_TASK", "DYNAMIC_GENERATION" ] }, "commandParam": { "type": "string" }, "taskDependType": { "type": "string", "enum": [ "TASK_ONLY", "TASK_PRE", "TASK_POST" ] }, "maxTryTimes": { "type": "integer", "format": "int32" }, "failureStrategy": { "type": "string", "enum": [ "END", "CONTINUE" ] }, "warningType": { "type": "string", "enum": [ "NONE", "SUCCESS", "FAILURE", "ALL", "GLOBAL" ] }, "warningGroupId": { "type": "integer", "format": "int32" }, "scheduleTime": { "type": "string", "format": "date-time" }, "commandStartTime": { "type": "string", "format": "date-time" }, "globalParams": { "type": "string" }, "dagData": { "$ref": "#/components/schemas/DagData" }, "executorId": { "type": "integer", "format": "int32" }, "executorName": { "type": "string" }, "tenantCode": { "type": "string" }, "queue": { "type": "string" }, "isSubProcess": { "type": "string", "enum": [ "NO", "YES" ] }, "locations": { "type": "string" }, "historyCmd": { "type": "string" }, "dependenceScheduleTimes": { "type": "string" }, "duration": { "type": "string" }, "processInstancePriority": { "type": "string", "enum": [ "HIGHEST", "HIGH", "MEDIUM", "LOW", "LOWEST" ] }, "workerGroup": { "type": "string" }, "environmentCode": { "type": "integer", "format": "int64" }, "timeout": { "type": "integer", "format": "int32" }, "varPool": { "type": "string" }, "nextProcessInstanceId": { "type": "integer", "format": "int32" }, "dryRun": { "type": "integer", "format": "int32" }, "restartTime": { "type": "string", "format": "date-time" }, "testFlag": { "type": "integer", "format": "int32" }, "complementData": { "type": "boolean" }, "cmdTypeIfComplement": { "type": "string", "enum": [ "START_PROCESS", "START_CURRENT_TASK_PROCESS", "RECOVER_TOLERANCE_FAULT_PROCESS", "RECOVER_SUSPENDED_PROCESS", "START_FAILURE_TASK_PROCESS", "COMPLEMENT_DATA", "SCHEDULER", "REPEAT_RUNNING", "PAUSE", "STOP", "RECOVER_WAITING_THREAD", "RECOVER_SERIAL_WAIT", "EXECUTE_TASK", "DYNAMIC_GENERATION" ] }, "blocked": { "type": "boolean" } } }, "ProcessTaskRelation": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "processDefinitionVersion": { "type": "integer", "format": "int32" }, "projectCode": { "type": "integer", "format": "int64" }, "processDefinitionCode": { "type": "integer", "format": "int64" }, "preTaskCode": { "type": "integer", "format": "int64" }, "preTaskVersion": { "type": "integer", "format": "int32" }, "postTaskCode": { "type": "integer", "format": "int64" }, "postTaskVersion": { "type": "integer", "format": "int32" }, "conditionType": { "type": "string", "enum": [ "NONE", "JUDGE", "DELAY" ] }, "conditionParams": { "type": "string" }, "createTime": { "type": "string", "format": "date-time" }, "updateTime": { "type": "string", "format": "date-time" } } }, "ResultProcessInstance": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "msg": { "type": "string" }, "data": { "$ref": "#/components/schemas/ProcessInstance" }, "failed": { "type": "boolean" }, "success": { "type": "boolean" } } }, "DynamicSubWorkflowDto": { "type": "object", "properties": { "processInstanceId": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "index": { "type": "integer", "format": "int64" }, "parameters": { "type": "object", "additionalProperties": { "type": "string" } }, "state": { "type": "string", "enum": [ "WorkflowExecutionStatus{code=0, desc='submit success'}", "WorkflowExecutionStatus{code=1, desc='running'}", "WorkflowExecutionStatus{code=2, desc='ready pause'}", "WorkflowExecutionStatus{code=3, desc='pause'}", "WorkflowExecutionStatus{code=4, desc='ready stop'}", "WorkflowExecutionStatus{code=5, desc='stop'}", "WorkflowExecutionStatus{code=6, desc='failure'}", "WorkflowExecutionStatus{code=7, desc='success'}", "WorkflowExecutionStatus{code=12, desc='delay execution'}", "WorkflowExecutionStatus{code=14, desc='serial wait'}", "WorkflowExecutionStatus{code=15, desc='ready block'}", "WorkflowExecutionStatus{code=16, desc='block'}", "WorkflowExecutionStatus{code=17, desc='wait to run'}" ] } } }, "ResultListDynamicSubWorkflowDto": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "msg": { "type": "string" }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/DynamicSubWorkflowDto" } }, "failed": { "type": "boolean" }, "success": { "type": "boolean" } } }, "PageInfoProcessDefinition": { "type": "object", "properties": { "totalList": { "type": "array", "items": { "$ref": "#/components/schemas/ProcessDefinition" } }, "total": { "type": "integer", "format": "int32" }, "totalPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageNo": { "type": "integer", "format": "int32" } } }, "ResultPageInfoProcessDefinition": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "msg": { "type": "string" }, "data": { "$ref": "#/components/schemas/PageInfoProcessDefinition" }, "failed": { "type": "boolean" }, "success": { "type": "boolean" } } }, "ResultProcessDefinition": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "msg": { "type": "string" }, "data": { "$ref": "#/components/schemas/ProcessDefinition" }, "failed": { "type": "boolean" }, "success": { "type": "boolean" } } }, "ResultWorkflowInstanceCountVO": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "msg": { "type": "string" }, "data": { "$ref": "#/components/schemas/WorkflowInstanceCountVO" }, "failed": { "type": "boolean" }, "success": { "type": "boolean" } } }, "WorkflowInstanceCountVO": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "workflowInstanceStatusCounts": { "type": "array", "items": { "$ref": "#/components/schemas/WorkflowInstanceStatusCountDto" } } } }, "WorkflowInstanceStatusCountDto": { "type": "object", "properties": { "state": { "type": "string", "enum": [ "WorkflowExecutionStatus{code=0, desc='submit success'}", "WorkflowExecutionStatus{code=1, desc='running'}", "WorkflowExecutionStatus{code=2, desc='ready pause'}", "WorkflowExecutionStatus{code=3, desc='pause'}", "WorkflowExecutionStatus{code=4, desc='ready stop'}", "WorkflowExecutionStatus{code=5, desc='stop'}", "WorkflowExecutionStatus{code=6, desc='failure'}", "WorkflowExecutionStatus{code=7, desc='success'}", "WorkflowExecutionStatus{code=12, desc='delay execution'}", "WorkflowExecutionStatus{code=14, desc='serial wait'}", "WorkflowExecutionStatus{code=15, desc='ready block'}", "WorkflowExecutionStatus{code=16, desc='block'}", "WorkflowExecutionStatus{code=17, desc='wait to run'}" ] }, "count": { "type": "integer", "format": "int32" } } }, "ResultWorkflowDefinitionCountVO": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "msg": { "type": "string" }, "data": { "$ref": "#/components/schemas/WorkflowDefinitionCountVO" }, "failed": { "type": "boolean" }, "success": { "type": "boolean" } } }, "WorkflowDefinitionCountDto": { "type": "object", "properties": { "userName": { "type": "string" }, "userId": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } } }, "WorkflowDefinitionCountVO": { "type": "object", "properties": { "count": { "type": "integer", "format": "int32" }, "userList": { "type": "array", "items": { "$ref": "#/components/schemas/WorkflowDefinitionCountDto" } } } } } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ocean-zhc/dolphinscheduler-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server