summaryrefslogtreecommitdiff
path: root/data/en_us/emrstudio/2023-10-09
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/emrstudio/2023-10-09
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/emrstudio/2023-10-09')
-rw-r--r--data/en_us/emrstudio/2023-10-09/api-docs.php2337
1 files changed, 454 insertions, 1883 deletions
diff --git a/data/en_us/emrstudio/2023-10-09/api-docs.php b/data/en_us/emrstudio/2023-10-09/api-docs.php
index 0eae9dc..777c6c3 100644
--- a/data/en_us/emrstudio/2023-10-09/api-docs.php
+++ b/data/en_us/emrstudio/2023-10-09/api-docs.php
@@ -1,73 +1,48 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'EmrStudio',
- 'version' => '2023-10-09',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'EmrStudio', 'version' => '2023-10-09'],
'directories' => [
[
'id' => 190476,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'DescribeManualTaskInstance',
- 'ListManualTaskInstances',
- ],
+ 'children' => ['DescribeManualTaskInstance', 'ListManualTaskInstances'],
],
[
'id' => 190477,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ListManualTasks',
- 'DescribeManualTask',
- ],
+ 'children' => ['ListManualTasks', 'DescribeManualTask'],
],
[
'id' => 190469,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ListTaskInstances',
- 'DescribeTaskInstance',
- ],
+ 'children' => ['ListTaskInstances', 'DescribeTaskInstance'],
],
[
'id' => 190470,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ListTasks',
- 'DescribeTask',
- ],
+ 'children' => ['ListTasks', 'DescribeTask'],
],
[
'id' => 190471,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ListWorkflowInstances',
- 'DescribeWorkflowInstance',
- ],
+ 'children' => ['ListWorkflowInstances', 'DescribeWorkflowInstance'],
],
[
'id' => 190472,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ListWorkflows',
- 'DescribeWorkflow',
- ],
+ 'children' => ['ListWorkflows', 'DescribeWorkflow'],
],
[
'id' => 190473,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'DescribeProject',
- 'ListProjects',
- ],
+ 'children' => ['DescribeProject', 'ListProjects'],
],
],
'components' => [
@@ -77,12 +52,8 @@
'DescribeManualTaskInstance' => [
'summary' => '获取手动任务实例',
'path' => '/dolphinscheduler/v3/projects/{projectId}/manualTaskInstances/{manualTaskInstanceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -92,40 +63,23 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '216078',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduce3835LZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduce3835LZ'],
],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'manualTaskInstanceId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123abc***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123abc***'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
],
'responses' => [
@@ -135,111 +89,45 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****',
- ],
- 'ManualTaskInstanceId' => [
- 'title' => '资源一级ID',
- 'description' => '代表资源一级ID的资源属性字段',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'ManualTaskInstanceName' => [
- 'title' => '资源名称',
- 'description' => '代表资源名称的资源属性字段',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'TaskType' => [
- 'title' => '任务类型',
- 'description' => '任务类型',
- 'type' => 'string',
- 'example' => 'SHELL',
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubmitTime' => [
- 'title' => '提交时间',
- 'description' => '提交时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'StartTime' => [
- 'title' => '开始时间',
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'EndTime' => [
- 'title' => '结束时间',
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'ExternalAppId' => [
- 'title' => '外部应用ID',
- 'description' => '外部应用ID',
- 'type' => 'string',
- 'example' => 'application_123_***',
- ],
- 'TaskParams' => [
- 'title' => '任务参数',
- 'description' => '任务参数',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "yarnUser": "",'."\n"
- .' "conditionResult": "null",'."\n"
- .' "rawScript": "sleep 300",'."\n"
- .' "submitOnYarnFlag": false,'."\n"
- .' "emrClusterId": "",'."\n"
- .' "yarnPriority": "",'."\n"
- .' "dependence": "null",'."\n"
- .' "yarnMemory": "",'."\n"
- .' "localParams": [],'."\n"
- .' "switchResult": "null",'."\n"
- .' "resourceList": [],'."\n"
- .' "yarnQueue": "",'."\n"
- .' "yarnVCores": "",'."\n"
- .' "associateManualTaskFlag": false'."\n"
- .'}',
- ],
- 'ResourceGroupId' => [
- 'title' => '资源组ID',
- 'description' => '资源组ID',
- 'type' => 'string',
- 'example' => 'wg-123abc***',
- ],
- 'EmrClusterId' => [
- 'title' => 'EMR集群ID',
- 'description' => 'EMR集群ID',
- 'type' => 'string',
- 'example' => 'c-b933c5aac7f7***',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'],
+ 'ManualTaskInstanceId' => ['title' => '资源一级ID', 'description' => '代表资源一级ID的资源属性字段', 'type' => 'string', 'example' => '123abc***'],
+ 'ManualTaskInstanceName' => ['title' => '资源名称', 'description' => '代表资源名称的资源属性字段', 'type' => 'string', 'example' => 'test'],
+ 'TaskType' => ['title' => '任务类型', 'description' => '任务类型', 'type' => 'string', 'example' => 'SHELL'],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubmitTime' => ['title' => '提交时间', 'description' => '提交时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'StartTime' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'EndTime' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'ExternalAppId' => ['title' => '外部应用ID', 'description' => '外部应用ID', 'type' => 'string', 'example' => 'application_123_***'],
+ 'TaskParams' => ['title' => '任务参数', 'description' => '任务参数', 'type' => 'string', 'example' => '{'."\n"
+ .' "yarnUser": "",'."\n"
+ .' "conditionResult": "null",'."\n"
+ .' "rawScript": "sleep 300",'."\n"
+ .' "submitOnYarnFlag": false,'."\n"
+ .' "emrClusterId": "",'."\n"
+ .' "yarnPriority": "",'."\n"
+ .' "dependence": "null",'."\n"
+ .' "yarnMemory": "",'."\n"
+ .' "localParams": [],'."\n"
+ .' "switchResult": "null",'."\n"
+ .' "resourceList": [],'."\n"
+ .' "yarnQueue": "",'."\n"
+ .' "yarnVCores": "",'."\n"
+ .' "associateManualTaskFlag": false'."\n"
+ .'}'],
+ 'ResourceGroupId' => ['title' => '资源组ID', 'description' => '资源组ID', 'type' => 'string', 'example' => 'wg-123abc***'],
+ 'EmrClusterId' => ['title' => 'EMR集群ID', 'description' => 'EMR集群ID', 'type' => 'string', 'example' => 'c-b933c5aac7f7***'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"ManualTaskInstanceId\\": \\"123abc***\\",\\n \\"ManualTaskInstanceName\\": \\"test\\",\\n \\"TaskType\\": \\"SHELL\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"SubmitTime\\": \\"2024-03-27 00:00:00\\",\\n \\"StartTime\\": \\"2024-03-27 00:00:00\\",\\n \\"EndTime\\": \\"2024-03-27 00:00:00\\",\\n \\"ExternalAppId\\": \\"application_123_***\\",\\n \\"TaskParams\\": \\"{\\\\n \\\\\\"yarnUser\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"conditionResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"rawScript\\\\\\": \\\\\\"sleep 300\\\\\\",\\\\n \\\\\\"submitOnYarnFlag\\\\\\": false,\\\\n \\\\\\"emrClusterId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnPriority\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"dependence\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"yarnMemory\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"localParams\\\\\\": [],\\\\n \\\\\\"switchResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"resourceList\\\\\\": [],\\\\n \\\\\\"yarnQueue\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnVCores\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"associateManualTaskFlag\\\\\\": false\\\\n}\\",\\n \\"ResourceGroupId\\": \\"wg-123abc***\\",\\n \\"EmrClusterId\\": \\"c-b933c5aac7f7***\\"\\n}","type":"json"}]',
],
'ListManualTaskInstances' => [
'summary' => '获取手动任务实例列表',
'path' => '/dolphinscheduler/v3/projects/{projectId}/manualTaskInstances',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -249,91 +137,48 @@
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '216082',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduce3835LZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduce3835LZ'],
],
'parameters' => [
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'searchVal',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123abc***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '123abc***'],
],
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'executionStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SUCCESS',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'SUCCESS'],
],
[
'name' => 'startTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-27 00:00:00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2024-03-27 00:00:00'],
],
[
'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-27 00:00:00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2024-03-27 00:00:00'],
],
],
'responses' => [
@@ -343,110 +188,41 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****',
- ],
- 'nextToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'totalSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'],
+ 'nextToken' => ['description' => '', 'type' => 'string', 'example' => '123abc***'],
+ 'totalSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'data' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ManualTaskInstanceId' => [
- 'title' => '资源一级ID',
- 'description' => '代表资源一级ID的资源属性字段',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'ManualTaskInstanceName' => [
- 'title' => '资源名称',
- 'description' => '代表资源名称的资源属性字段',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'TaskType' => [
- 'title' => '任务类型',
- 'description' => '任务类型',
- 'type' => 'string',
- 'example' => 'SHELL',
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubmitTime' => [
- 'title' => '提交时间',
- 'description' => '提交时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'StartTime' => [
- 'title' => '开始时间',
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'EndTime' => [
- 'title' => '结束时间',
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'ExternalAppId' => [
- 'title' => '外部应用ID',
- 'description' => '外部应用ID',
- 'type' => 'string',
- 'example' => 'application_123_***',
- ],
- 'TaskParams' => [
- 'title' => '任务参数',
- 'description' => '任务参数',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "yarnUser": "",'."\n"
- .' "conditionResult": "null",'."\n"
- .' "rawScript": "sleep 300",'."\n"
- .' "submitOnYarnFlag": false,'."\n"
- .' "emrClusterId": "",'."\n"
- .' "yarnPriority": "",'."\n"
- .' "dependence": "null",'."\n"
- .' "yarnMemory": "",'."\n"
- .' "localParams": [],'."\n"
- .' "switchResult": "null",'."\n"
- .' "resourceList": [],'."\n"
- .' "yarnQueue": "",'."\n"
- .' "yarnVCores": "",'."\n"
- .' "associateManualTaskFlag": false'."\n"
- .'}',
- ],
- 'ResourceGroupId' => [
- 'title' => '资源组ID',
- 'description' => '资源组ID',
- 'type' => 'string',
- 'example' => 'wg-123abc***',
- ],
- 'EmrClusterId' => [
- 'title' => 'EMR集群ID',
- 'description' => 'EMR集群ID',
- 'type' => 'string',
- 'example' => 'c-b933c5aac7f7***',
- ],
+ 'ManualTaskInstanceId' => ['title' => '资源一级ID', 'description' => '代表资源一级ID的资源属性字段', 'type' => 'string', 'example' => '123abc***'],
+ 'ManualTaskInstanceName' => ['title' => '资源名称', 'description' => '代表资源名称的资源属性字段', 'type' => 'string', 'example' => 'test'],
+ 'TaskType' => ['title' => '任务类型', 'description' => '任务类型', 'type' => 'string', 'example' => 'SHELL'],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubmitTime' => ['title' => '提交时间', 'description' => '提交时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'StartTime' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'EndTime' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'ExternalAppId' => ['title' => '外部应用ID', 'description' => '外部应用ID', 'type' => 'string', 'example' => 'application_123_***'],
+ 'TaskParams' => ['title' => '任务参数', 'description' => '任务参数', 'type' => 'string', 'example' => '{'."\n"
+ .' "yarnUser": "",'."\n"
+ .' "conditionResult": "null",'."\n"
+ .' "rawScript": "sleep 300",'."\n"
+ .' "submitOnYarnFlag": false,'."\n"
+ .' "emrClusterId": "",'."\n"
+ .' "yarnPriority": "",'."\n"
+ .' "dependence": "null",'."\n"
+ .' "yarnMemory": "",'."\n"
+ .' "localParams": [],'."\n"
+ .' "switchResult": "null",'."\n"
+ .' "resourceList": [],'."\n"
+ .' "yarnQueue": "",'."\n"
+ .' "yarnVCores": "",'."\n"
+ .' "associateManualTaskFlag": false'."\n"
+ .'}'],
+ 'ResourceGroupId' => ['title' => '资源组ID', 'description' => '资源组ID', 'type' => 'string', 'example' => 'wg-123abc***'],
+ 'EmrClusterId' => ['title' => 'EMR集群ID', 'description' => 'EMR集群ID', 'type' => 'string', 'example' => 'c-b933c5aac7f7***'],
],
],
],
@@ -454,20 +230,14 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"nextToken\\": \\"123abc***\\",\\n \\"totalSize\\": 10,\\n \\"data\\": [\\n {\\n \\"ManualTaskInstanceId\\": \\"123abc***\\",\\n \\"ManualTaskInstanceName\\": \\"test\\",\\n \\"TaskType\\": \\"SHELL\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"SubmitTime\\": \\"2024-03-27 00:00:00\\",\\n \\"StartTime\\": \\"2024-03-27 00:00:00\\",\\n \\"EndTime\\": \\"2024-03-27 00:00:00\\",\\n \\"ExternalAppId\\": \\"application_123_***\\",\\n \\"TaskParams\\": \\"{\\\\n \\\\\\"yarnUser\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"conditionResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"rawScript\\\\\\": \\\\\\"sleep 300\\\\\\",\\\\n \\\\\\"submitOnYarnFlag\\\\\\": false,\\\\n \\\\\\"emrClusterId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnPriority\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"dependence\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"yarnMemory\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"localParams\\\\\\": [],\\\\n \\\\\\"switchResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"resourceList\\\\\\": [],\\\\n \\\\\\"yarnQueue\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnVCores\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"associateManualTaskFlag\\\\\\": false\\\\n}\\",\\n \\"ResourceGroupId\\": \\"wg-123abc***\\",\\n \\"EmrClusterId\\": \\"c-b933c5aac7f7***\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListManualTasks' => [
'summary' => '查询手动任务定义列表',
'path' => '/dolphinscheduler/v3/projects/{projectId}/manualTasks',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -477,71 +247,38 @@
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '215886',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduceYP2JJQ',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduceYP2JJQ'],
],
'parameters' => [
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123abc***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '123abc***'],
],
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'searchVal',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'taskType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SHELL',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'SHELL'],
],
],
'responses' => [
@@ -551,104 +288,40 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****',
- ],
- 'nextToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'totalSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'],
+ 'nextToken' => ['description' => '', 'type' => 'string', 'example' => '123abc***'],
+ 'totalSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'data' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ManualTaskId' => [
- 'title' => '资源一级ID',
- 'description' => '代表资源一级ID的资源属性字段',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '代表创建时间的资源属性字段',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'ManualTaskName' => [
- 'title' => '资源名称',
- 'description' => '代表资源名称的资源属性字段',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ProjectId' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'TaskType' => [
- 'title' => '任务类型',
- 'description' => '任务类型',
- 'type' => 'string',
- 'example' => 'SHELL',
- ],
- 'TaskParams' => [
- 'title' => '任务参数',
- 'description' => '任务参数',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "yarnUser": "",'."\n"
- .' "conditionResult": "null",'."\n"
- .' "rawScript": "sleep 300",'."\n"
- .' "submitOnYarnFlag": false,'."\n"
- .' "emrClusterId": "",'."\n"
- .' "yarnPriority": "",'."\n"
- .' "dependence": "null",'."\n"
- .' "yarnMemory": "",'."\n"
- .' "localParams": [],'."\n"
- .' "switchResult": "null",'."\n"
- .' "resourceList": [],'."\n"
- .' "yarnQueue": "",'."\n"
- .' "yarnVCores": "",'."\n"
- .' "associateManualTaskFlag": false'."\n"
- .'}',
- ],
- 'ResourceIds' => [
- 'title' => '资源id列表',
- 'description' => '资源id列表',
- 'type' => 'string',
- 'example' => '123',
- ],
- 'UpdateTime' => [
- 'title' => '更新时间',
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'ParentDirectoryId' => [
- 'title' => '目录ID',
- 'description' => '目录ID',
- 'type' => 'string',
- 'example' => '123***',
- ],
+ 'ManualTaskId' => ['title' => '资源一级ID', 'description' => '代表资源一级ID的资源属性字段', 'type' => 'string', 'example' => '123***'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '代表创建时间的资源属性字段', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'ManualTaskName' => ['title' => '资源名称', 'description' => '代表资源名称的资源属性字段', 'type' => 'string', 'example' => 'test'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'test'],
+ 'ProjectId' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'example' => '123***'],
+ 'TaskType' => ['title' => '任务类型', 'description' => '任务类型', 'type' => 'string', 'example' => 'SHELL'],
+ 'TaskParams' => ['title' => '任务参数', 'description' => '任务参数', 'type' => 'string', 'example' => '{'."\n"
+ .' "yarnUser": "",'."\n"
+ .' "conditionResult": "null",'."\n"
+ .' "rawScript": "sleep 300",'."\n"
+ .' "submitOnYarnFlag": false,'."\n"
+ .' "emrClusterId": "",'."\n"
+ .' "yarnPriority": "",'."\n"
+ .' "dependence": "null",'."\n"
+ .' "yarnMemory": "",'."\n"
+ .' "localParams": [],'."\n"
+ .' "switchResult": "null",'."\n"
+ .' "resourceList": [],'."\n"
+ .' "yarnQueue": "",'."\n"
+ .' "yarnVCores": "",'."\n"
+ .' "associateManualTaskFlag": false'."\n"
+ .'}'],
+ 'ResourceIds' => ['title' => '资源id列表', 'description' => '资源id列表', 'type' => 'string', 'example' => '123'],
+ 'UpdateTime' => ['title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'ParentDirectoryId' => ['title' => '目录ID', 'description' => '目录ID', 'type' => 'string', 'example' => '123***'],
],
],
],
@@ -656,20 +329,14 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"nextToken\\": \\"123abc***\\",\\n \\"totalSize\\": 10,\\n \\"data\\": [\\n {\\n \\"ManualTaskId\\": \\"123***\\",\\n \\"CreateTime\\": \\"2024-03-27 00:00:00\\",\\n \\"ManualTaskName\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"ProjectId\\": \\"123***\\",\\n \\"TaskType\\": \\"SHELL\\",\\n \\"TaskParams\\": \\"{\\\\n \\\\\\"yarnUser\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"conditionResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"rawScript\\\\\\": \\\\\\"sleep 300\\\\\\",\\\\n \\\\\\"submitOnYarnFlag\\\\\\": false,\\\\n \\\\\\"emrClusterId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnPriority\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"dependence\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"yarnMemory\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"localParams\\\\\\": [],\\\\n \\\\\\"switchResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"resourceList\\\\\\": [],\\\\n \\\\\\"yarnQueue\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnVCores\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"associateManualTaskFlag\\\\\\": false\\\\n}\\",\\n \\"ResourceIds\\": \\"123\\",\\n \\"UpdateTime\\": \\"2024-03-27 00:00:00\\",\\n \\"ParentDirectoryId\\": \\"123***\\"\\n }\\n ]\\n}","type":"json"}]',
],
'DescribeManualTask' => [
'summary' => '获取手动任务定义',
'path' => '/dolphinscheduler/v3/projects/{projectId}/manualTasks/{manualTaskId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -679,40 +346,23 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '215786',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduceYP2JJQ',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduceYP2JJQ'],
],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'manualTaskId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
],
'responses' => [
@@ -722,105 +372,44 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****',
- ],
- 'ManualTaskId' => [
- 'title' => '资源一级ID',
- 'description' => '代表资源一级ID的资源属性字段',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '代表创建时间的资源属性字段',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'ManualTaskName' => [
- 'title' => '资源名称',
- 'description' => '代表资源名称的资源属性字段',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ProjectId' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'TaskType' => [
- 'title' => '任务类型',
- 'description' => '任务类型',
- 'type' => 'string',
- 'example' => 'SHELL',
- ],
- 'TaskParams' => [
- 'title' => '任务参数',
- 'description' => '任务参数',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "yarnUser": "",'."\n"
- .' "conditionResult": "null",'."\n"
- .' "rawScript": "sleep 300",'."\n"
- .' "submitOnYarnFlag": false,'."\n"
- .' "emrClusterId": "",'."\n"
- .' "yarnPriority": "",'."\n"
- .' "dependence": "null",'."\n"
- .' "yarnMemory": "",'."\n"
- .' "localParams": [],'."\n"
- .' "switchResult": "null",'."\n"
- .' "resourceList": [],'."\n"
- .' "yarnQueue": "",'."\n"
- .' "yarnVCores": "",'."\n"
- .' "associateManualTaskFlag": false'."\n"
- .'}',
- ],
- 'ResourceIds' => [
- 'title' => '资源id列表',
- 'description' => '资源id列表',
- 'type' => 'string',
- 'example' => '123',
- ],
- 'UpdateTime' => [
- 'title' => '更新时间',
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'ParentDirectoryId' => [
- 'title' => '目录ID',
- 'description' => '目录ID',
- 'type' => 'string',
- 'example' => '123***',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'],
+ 'ManualTaskId' => ['title' => '资源一级ID', 'description' => '代表资源一级ID的资源属性字段', 'type' => 'string', 'example' => '123***'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '代表创建时间的资源属性字段', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'ManualTaskName' => ['title' => '资源名称', 'description' => '代表资源名称的资源属性字段', 'type' => 'string', 'example' => 'test'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'test'],
+ 'ProjectId' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'example' => '123***'],
+ 'TaskType' => ['title' => '任务类型', 'description' => '任务类型', 'type' => 'string', 'example' => 'SHELL'],
+ 'TaskParams' => ['title' => '任务参数', 'description' => '任务参数', 'type' => 'string', 'example' => '{'."\n"
+ .' "yarnUser": "",'."\n"
+ .' "conditionResult": "null",'."\n"
+ .' "rawScript": "sleep 300",'."\n"
+ .' "submitOnYarnFlag": false,'."\n"
+ .' "emrClusterId": "",'."\n"
+ .' "yarnPriority": "",'."\n"
+ .' "dependence": "null",'."\n"
+ .' "yarnMemory": "",'."\n"
+ .' "localParams": [],'."\n"
+ .' "switchResult": "null",'."\n"
+ .' "resourceList": [],'."\n"
+ .' "yarnQueue": "",'."\n"
+ .' "yarnVCores": "",'."\n"
+ .' "associateManualTaskFlag": false'."\n"
+ .'}'],
+ 'ResourceIds' => ['title' => '资源id列表', 'description' => '资源id列表', 'type' => 'string', 'example' => '123'],
+ 'UpdateTime' => ['title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'ParentDirectoryId' => ['title' => '目录ID', 'description' => '目录ID', 'type' => 'string', 'example' => '123***'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"ManualTaskId\\": \\"123***\\",\\n \\"CreateTime\\": \\"2024-03-27 00:00:00\\",\\n \\"ManualTaskName\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"ProjectId\\": \\"123***\\",\\n \\"TaskType\\": \\"SHELL\\",\\n \\"TaskParams\\": \\"{\\\\n \\\\\\"yarnUser\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"conditionResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"rawScript\\\\\\": \\\\\\"sleep 300\\\\\\",\\\\n \\\\\\"submitOnYarnFlag\\\\\\": false,\\\\n \\\\\\"emrClusterId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnPriority\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"dependence\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"yarnMemory\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"localParams\\\\\\": [],\\\\n \\\\\\"switchResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"resourceList\\\\\\": [],\\\\n \\\\\\"yarnQueue\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnVCores\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"associateManualTaskFlag\\\\\\": false\\\\n}\\",\\n \\"ResourceIds\\": \\"123\\",\\n \\"UpdateTime\\": \\"2024-03-27 00:00:00\\",\\n \\"ParentDirectoryId\\": \\"123***\\"\\n}","type":"json"}]',
],
'ListTaskInstances' => [
'summary' => '获取任务实例列表',
'path' => '/dolphinscheduler/v3/projects/{projectId}/taskInstances',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -830,101 +419,53 @@
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '216168',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduce5Q1MGZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduce5Q1MGZ'],
],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '100'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'workflowInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123abc***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '123abc***'],
],
[
'name' => 'searchVal',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'executionStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SUCCESS',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'SUCCESS'],
],
[
'name' => 'startTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-27 00:00:00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2024-03-27 00:00:00'],
],
[
'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-27 00:00:00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2024-03-27 00:00:00'],
],
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123abc***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '123abc***'],
],
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '25',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '25'],
],
],
'responses' => [
@@ -934,141 +475,46 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA38***',
- ],
- 'nextToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'totalSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA38***'],
+ 'nextToken' => ['description' => '', 'type' => 'string', 'example' => '123abc***'],
+ 'totalSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'data' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TaskInstanceId' => [
- 'title' => '任务实例ID',
- 'description' => '任务实例ID',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'TaskInstanceName' => [
- 'title' => '任务实例名称',
- 'description' => '任务实例名称',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'DryRun' => [
- 'title' => '空跑标识',
- 'description' => '空跑标识',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'EmrClusterId' => [
- 'title' => 'EMR集群ID',
- 'description' => 'EMR集群ID',
- 'type' => 'string',
- 'example' => 'c-123abc***',
- ],
- 'ResourceGroupId' => [
- 'title' => '资源组ID',
- 'description' => '资源组ID',
- 'type' => 'string',
- 'example' => 'wg-123abc***',
- ],
- 'TaskParams' => [
- 'title' => '任务参数',
- 'description' => '任务参数',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "yarnUser": "",'."\n"
- .' "conditionResult": "null",'."\n"
- .' "rawScript": "sleep 300",'."\n"
- .' "submitOnYarnFlag": false,'."\n"
- .' "emrClusterId": "",'."\n"
- .' "yarnPriority": "",'."\n"
- .' "dependence": "null",'."\n"
- .' "yarnMemory": "",'."\n"
- .' "localParams": [],'."\n"
- .' "switchResult": "null",'."\n"
- .' "resourceList": [],'."\n"
- .' "yarnQueue": "",'."\n"
- .' "yarnVCores": "",'."\n"
- .' "associateManualTaskFlag": false'."\n"
- .'}',
- ],
- 'ExternalAppId' => [
- 'title' => '外部应用ID',
- 'description' => '外部应用ID',
- 'type' => 'string',
- 'example' => 'application_123_***',
- ],
- 'RetryTimes' => [
- 'title' => '重试次数',
- 'description' => '重试次数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'EndTime' => [
- 'title' => '结束时间',
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'StartTime' => [
- 'title' => '开始时间',
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'SubmitTime' => [
- 'title' => '提交时间',
- 'description' => '提交时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'WorkflowInstanceId' => [
- 'title' => '工作流实例ID',
- 'description' => '工作流实例ID',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'TaskVersion' => [
- 'title' => '任务版本',
- 'description' => '任务版本',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'TaskId' => [
- 'title' => '任务ID',
- 'description' => '任务ID',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'TaskType' => [
- 'title' => '任务类型',
- 'description' => '任务类型',
- 'type' => 'string',
- 'example' => 'SHELL',
- ],
+ 'TaskInstanceId' => ['title' => '任务实例ID', 'description' => '任务实例ID', 'type' => 'string', 'example' => '123abc***'],
+ 'TaskInstanceName' => ['title' => '任务实例名称', 'description' => '任务实例名称', 'type' => 'string', 'example' => 'test'],
+ 'DryRun' => ['title' => '空跑标识', 'description' => '空跑标识', 'type' => 'string', 'example' => '0'],
+ 'EmrClusterId' => ['title' => 'EMR集群ID', 'description' => 'EMR集群ID', 'type' => 'string', 'example' => 'c-123abc***'],
+ 'ResourceGroupId' => ['title' => '资源组ID', 'description' => '资源组ID', 'type' => 'string', 'example' => 'wg-123abc***'],
+ 'TaskParams' => ['title' => '任务参数', 'description' => '任务参数', 'type' => 'string', 'example' => '{'."\n"
+ .' "yarnUser": "",'."\n"
+ .' "conditionResult": "null",'."\n"
+ .' "rawScript": "sleep 300",'."\n"
+ .' "submitOnYarnFlag": false,'."\n"
+ .' "emrClusterId": "",'."\n"
+ .' "yarnPriority": "",'."\n"
+ .' "dependence": "null",'."\n"
+ .' "yarnMemory": "",'."\n"
+ .' "localParams": [],'."\n"
+ .' "switchResult": "null",'."\n"
+ .' "resourceList": [],'."\n"
+ .' "yarnQueue": "",'."\n"
+ .' "yarnVCores": "",'."\n"
+ .' "associateManualTaskFlag": false'."\n"
+ .'}'],
+ 'ExternalAppId' => ['title' => '外部应用ID', 'description' => '外部应用ID', 'type' => 'string', 'example' => 'application_123_***'],
+ 'RetryTimes' => ['title' => '重试次数', 'description' => '重试次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'EndTime' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'StartTime' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'SubmitTime' => ['title' => '提交时间', 'description' => '提交时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'WorkflowInstanceId' => ['title' => '工作流实例ID', 'description' => '工作流实例ID', 'type' => 'string', 'example' => '123abc***'],
+ 'TaskVersion' => ['title' => '任务版本', 'description' => '任务版本', 'type' => 'string', 'example' => '1'],
+ 'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'string', 'example' => '123***'],
+ 'TaskType' => ['title' => '任务类型', 'description' => '任务类型', 'type' => 'string', 'example' => 'SHELL'],
],
],
],
@@ -1081,12 +527,8 @@
'DescribeTaskInstance' => [
'summary' => '获取任务实例',
'path' => '/dolphinscheduler/v3/projects/{projectId}/workflows/{workflowInstanceId}/taskInstances/{taskInstanceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1096,50 +538,28 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '216159',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduce5Q1MGZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduce5Q1MGZ'],
],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'workflowInstanceId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123abc***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123abc***'],
],
[
'name' => 'taskInstanceId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123abc***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123abc***'],
],
],
'responses' => [
@@ -1149,142 +569,50 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****',
- ],
- 'TaskInstanceId' => [
- 'title' => '任务实例ID',
- 'description' => '任务实例ID',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'TaskInstanceName' => [
- 'title' => '任务实例名称',
- 'description' => '任务实例名称',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'TaskType' => [
- 'title' => '任务类型',
- 'description' => '任务类型',
- 'type' => 'string',
- 'example' => 'SHELL',
- ],
- 'TaskId' => [
- 'title' => '任务ID',
- 'description' => '任务ID',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'TaskVersion' => [
- 'title' => '任务版本',
- 'description' => '任务版本',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'WorkflowInstanceId' => [
- 'title' => '工作流实例ID',
- 'description' => '工作流实例ID',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubmitTime' => [
- 'title' => '提交时间',
- 'description' => '提交时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'StartTime' => [
- 'title' => '开始时间',
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'EndTime' => [
- 'title' => '结束时间',
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'RetryTimes' => [
- 'title' => '重试次数',
- 'description' => '重试次数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ExternalAppId' => [
- 'title' => '外部应用ID',
- 'description' => '外部应用ID',
- 'type' => 'string',
- 'example' => 'application_123_***',
- ],
- 'TaskParams' => [
- 'title' => '任务参数',
- 'description' => '任务参数',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "yarnUser": "",'."\n"
- .' "conditionResult": "null",'."\n"
- .' "rawScript": "sleep 300",'."\n"
- .' "submitOnYarnFlag": false,'."\n"
- .' "emrClusterId": "",'."\n"
- .' "yarnPriority": "",'."\n"
- .' "dependence": "null",'."\n"
- .' "yarnMemory": "",'."\n"
- .' "localParams": [],'."\n"
- .' "switchResult": "null",'."\n"
- .' "resourceList": [],'."\n"
- .' "yarnQueue": "",'."\n"
- .' "yarnVCores": "",'."\n"
- .' "associateManualTaskFlag": false'."\n"
- .'}',
- ],
- 'ResourceGroupId' => [
- 'title' => '资源组ID',
- 'description' => '资源组ID',
- 'type' => 'string',
- 'example' => 'wg-123abc***',
- ],
- 'EmrClusterId' => [
- 'title' => 'EMR集群ID',
- 'description' => 'EMR集群ID',
- 'type' => 'string',
- 'example' => 'c-b933c5aac7f7***',
- ],
- 'DryRun' => [
- 'title' => '空跑标识',
- 'description' => '空跑标识',
- 'type' => 'string',
- 'example' => '0',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'],
+ 'TaskInstanceId' => ['title' => '任务实例ID', 'description' => '任务实例ID', 'type' => 'string', 'example' => '123abc***'],
+ 'TaskInstanceName' => ['title' => '任务实例名称', 'description' => '任务实例名称', 'type' => 'string', 'example' => 'test'],
+ 'TaskType' => ['title' => '任务类型', 'description' => '任务类型', 'type' => 'string', 'example' => 'SHELL'],
+ 'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'string', 'example' => '123***'],
+ 'TaskVersion' => ['title' => '任务版本', 'description' => '任务版本', 'type' => 'string', 'example' => '1'],
+ 'WorkflowInstanceId' => ['title' => '工作流实例ID', 'description' => '工作流实例ID', 'type' => 'string', 'example' => '123abc***'],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubmitTime' => ['title' => '提交时间', 'description' => '提交时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'StartTime' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'EndTime' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'RetryTimes' => ['title' => '重试次数', 'description' => '重试次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ExternalAppId' => ['title' => '外部应用ID', 'description' => '外部应用ID', 'type' => 'string', 'example' => 'application_123_***'],
+ 'TaskParams' => ['title' => '任务参数', 'description' => '任务参数', 'type' => 'string', 'example' => '{'."\n"
+ .' "yarnUser": "",'."\n"
+ .' "conditionResult": "null",'."\n"
+ .' "rawScript": "sleep 300",'."\n"
+ .' "submitOnYarnFlag": false,'."\n"
+ .' "emrClusterId": "",'."\n"
+ .' "yarnPriority": "",'."\n"
+ .' "dependence": "null",'."\n"
+ .' "yarnMemory": "",'."\n"
+ .' "localParams": [],'."\n"
+ .' "switchResult": "null",'."\n"
+ .' "resourceList": [],'."\n"
+ .' "yarnQueue": "",'."\n"
+ .' "yarnVCores": "",'."\n"
+ .' "associateManualTaskFlag": false'."\n"
+ .'}'],
+ 'ResourceGroupId' => ['title' => '资源组ID', 'description' => '资源组ID', 'type' => 'string', 'example' => 'wg-123abc***'],
+ 'EmrClusterId' => ['title' => 'EMR集群ID', 'description' => 'EMR集群ID', 'type' => 'string', 'example' => 'c-b933c5aac7f7***'],
+ 'DryRun' => ['title' => '空跑标识', 'description' => '空跑标识', 'type' => 'string', 'example' => '0'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"TaskInstanceId\\": \\"123abc***\\",\\n \\"TaskInstanceName\\": \\"test\\",\\n \\"TaskType\\": \\"SHELL\\",\\n \\"TaskId\\": \\"123***\\",\\n \\"TaskVersion\\": \\"1\\",\\n \\"WorkflowInstanceId\\": \\"123abc***\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"SubmitTime\\": \\"2024-03-27 00:00:00\\",\\n \\"StartTime\\": \\"2024-03-27 00:00:00\\",\\n \\"EndTime\\": \\"2024-03-27 00:00:00\\",\\n \\"RetryTimes\\": 0,\\n \\"ExternalAppId\\": \\"application_123_***\\",\\n \\"TaskParams\\": \\"{\\\\n \\\\\\"yarnUser\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"conditionResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"rawScript\\\\\\": \\\\\\"sleep 300\\\\\\",\\\\n \\\\\\"submitOnYarnFlag\\\\\\": false,\\\\n \\\\\\"emrClusterId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnPriority\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"dependence\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"yarnMemory\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"localParams\\\\\\": [],\\\\n \\\\\\"switchResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"resourceList\\\\\\": [],\\\\n \\\\\\"yarnQueue\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnVCores\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"associateManualTaskFlag\\\\\\": false\\\\n}\\",\\n \\"ResourceGroupId\\": \\"wg-123abc***\\",\\n \\"EmrClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"DryRun\\": \\"0\\"\\n}","type":"json"}]',
],
'ListTasks' => [
'summary' => '查询任务定义列表',
'path' => '/dolphinscheduler/v3/projects/{projectId}/tasks',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1294,80 +622,43 @@
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '215894',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduce61FDX5',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduce61FDX5'],
],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123abc***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '123abc***'],
],
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '20'],
],
[
'name' => 'searchVal',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'taskType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SHELL',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'SHELL'],
],
[
'name' => 'workflowId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '123***'],
],
],
'responses' => [
@@ -1377,156 +668,48 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****',
- ],
- 'nextToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '123abc***',
- ],
- 'totalSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'],
+ 'nextToken' => ['description' => '', 'type' => 'string', 'example' => '123abc***'],
+ 'totalSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'data' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'title' => '资源一级ID',
- 'description' => '代表资源一级ID的资源属性字段',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'TaskName' => [
- 'title' => '资源名称',
- 'description' => '代表资源名称的资源属性字段',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '代表创建时间的资源属性字段',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'UpdateTime' => [
- 'title' => '更新时间',
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'Version' => [
- 'title' => '版本',
- 'description' => '版本',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ProjectId' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'TaskType' => [
- 'title' => '任务类型',
- 'description' => '任务类型',
- 'type' => 'string',
- 'example' => 'SHELL',
- ],
- 'TaskParams' => [
- 'title' => '任务参数',
- 'description' => '任务参数',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "yarnUser": "",'."\n"
- .' "conditionResult": "null",'."\n"
- .' "rawScript": "sleep 300",'."\n"
- .' "submitOnYarnFlag": false,'."\n"
- .' "emrClusterId": "",'."\n"
- .' "yarnPriority": "",'."\n"
- .' "dependence": "null",'."\n"
- .' "yarnMemory": "",'."\n"
- .' "localParams": [],'."\n"
- .' "switchResult": "null",'."\n"
- .' "resourceList": [],'."\n"
- .' "yarnQueue": "",'."\n"
- .' "yarnVCores": "",'."\n"
- .' "associateManualTaskFlag": false'."\n"
- .'}',
- ],
- 'Flag' => [
- 'title' => '运行标志',
- 'description' => '运行标志',
- 'type' => 'string',
- 'example' => 'YES',
- ],
- 'TaskPriority' => [
- 'title' => '任务优先级',
- 'description' => '任务优先级',
- 'type' => 'string',
- 'example' => 'MEDIUM',
- ],
- 'FailRetryTimes' => [
- 'title' => '失败重试次数',
- 'description' => '失败重试次数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'FailRetryInterval' => [
- 'title' => '失败重试间隔',
- 'description' => '失败重试间隔',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TimeoutFlag' => [
- 'title' => '超时告警标志',
- 'description' => '超时告警标志',
- 'type' => 'string',
- 'example' => 'CLOSE',
- ],
- 'TimeoutNotifyStrategy' => [
- 'title' => '超时策略',
- 'description' => '超时告警标志',
- 'type' => 'string',
- 'example' => 'WARN',
- ],
- 'Timeout' => [
- 'title' => '超时时长',
- 'description' => '超时时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'DelayTime' => [
- 'title' => '延时执行时间',
- 'description' => '延时执行时间',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ResourceIds' => [
- 'title' => '资源ID列表',
- 'description' => '资源ID列表',
- 'type' => 'string',
- 'example' => '123',
- ],
+ 'TaskId' => ['title' => '资源一级ID', 'description' => '代表资源一级ID的资源属性字段', 'type' => 'string', 'example' => '123***'],
+ 'TaskName' => ['title' => '资源名称', 'description' => '代表资源名称的资源属性字段', 'type' => 'string', 'example' => 'test'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '代表创建时间的资源属性字段', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'UpdateTime' => ['title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'Version' => ['title' => '版本', 'description' => '版本', 'type' => 'string', 'example' => '1'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'test'],
+ 'ProjectId' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'example' => '123***'],
+ 'TaskType' => ['title' => '任务类型', 'description' => '任务类型', 'type' => 'string', 'example' => 'SHELL'],
+ 'TaskParams' => ['title' => '任务参数', 'description' => '任务参数', 'type' => 'string', 'example' => '{'."\n"
+ .' "yarnUser": "",'."\n"
+ .' "conditionResult": "null",'."\n"
+ .' "rawScript": "sleep 300",'."\n"
+ .' "submitOnYarnFlag": false,'."\n"
+ .' "emrClusterId": "",'."\n"
+ .' "yarnPriority": "",'."\n"
+ .' "dependence": "null",'."\n"
+ .' "yarnMemory": "",'."\n"
+ .' "localParams": [],'."\n"
+ .' "switchResult": "null",'."\n"
+ .' "resourceList": [],'."\n"
+ .' "yarnQueue": "",'."\n"
+ .' "yarnVCores": "",'."\n"
+ .' "associateManualTaskFlag": false'."\n"
+ .'}'],
+ 'Flag' => ['title' => '运行标志', 'description' => '运行标志', 'type' => 'string', 'example' => 'YES'],
+ 'TaskPriority' => ['title' => '任务优先级', 'description' => '任务优先级', 'type' => 'string', 'example' => 'MEDIUM'],
+ 'FailRetryTimes' => ['title' => '失败重试次数', 'description' => '失败重试次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'FailRetryInterval' => ['title' => '失败重试间隔', 'description' => '失败重试间隔', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TimeoutFlag' => ['title' => '超时告警标志', 'description' => '超时告警标志', 'type' => 'string', 'example' => 'CLOSE'],
+ 'TimeoutNotifyStrategy' => ['title' => '超时策略', 'description' => '超时告警标志', 'type' => 'string', 'example' => 'WARN'],
+ 'Timeout' => ['title' => '超时时长', 'description' => '超时时长', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'DelayTime' => ['title' => '延时执行时间', 'description' => '延时执行时间', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ResourceIds' => ['title' => '资源ID列表', 'description' => '资源ID列表', 'type' => 'string', 'example' => '123'],
],
],
],
@@ -1534,20 +717,14 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"nextToken\\": \\"123abc***\\",\\n \\"totalSize\\": 10,\\n \\"data\\": [\\n {\\n \\"TaskId\\": \\"123***\\",\\n \\"TaskName\\": \\"test\\",\\n \\"CreateTime\\": \\"2024-03-27 00:00:00\\",\\n \\"UpdateTime\\": \\"2024-03-27 00:00:00\\",\\n \\"Version\\": \\"1\\",\\n \\"Description\\": \\"test\\",\\n \\"ProjectId\\": \\"123***\\",\\n \\"TaskType\\": \\"SHELL\\",\\n \\"TaskParams\\": \\"{\\\\n \\\\\\"yarnUser\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"conditionResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"rawScript\\\\\\": \\\\\\"sleep 300\\\\\\",\\\\n \\\\\\"submitOnYarnFlag\\\\\\": false,\\\\n \\\\\\"emrClusterId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnPriority\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"dependence\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"yarnMemory\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"localParams\\\\\\": [],\\\\n \\\\\\"switchResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"resourceList\\\\\\": [],\\\\n \\\\\\"yarnQueue\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnVCores\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"associateManualTaskFlag\\\\\\": false\\\\n}\\",\\n \\"Flag\\": \\"YES\\",\\n \\"TaskPriority\\": \\"MEDIUM\\",\\n \\"FailRetryTimes\\": 0,\\n \\"FailRetryInterval\\": 1,\\n \\"TimeoutFlag\\": \\"CLOSE\\",\\n \\"TimeoutNotifyStrategy\\": \\"WARN\\",\\n \\"Timeout\\": 0,\\n \\"DelayTime\\": 0,\\n \\"ResourceIds\\": \\"123\\"\\n }\\n ]\\n}","type":"json"}]',
],
'DescribeTask' => [
'summary' => '查询任务定义',
'path' => '/dolphinscheduler/v3/projects/{projectId}/workflows/{workflowId}/tasks/{taskId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1557,50 +734,28 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '215898',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduce61FDX5',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduce61FDX5'],
],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'workflowId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
[
'name' => 'taskId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '123***'],
],
],
'responses' => [
@@ -1610,168 +765,59 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****',
- ],
- 'TaskId' => [
- 'title' => '资源一级ID',
- 'description' => '代表资源一级ID的资源属性字段',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'TaskName' => [
- 'title' => '资源名称',
- 'description' => '代表资源名称的资源属性字段',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '代表创建时间的资源属性字段',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'UpdateTime' => [
- 'title' => '更新时间',
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2024-03-27 00:00:00',
- ],
- 'Version' => [
- 'title' => '版本',
- 'description' => '版本',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ProjectId' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'example' => '123***',
- ],
- 'TaskType' => [
- 'title' => '任务类型',
- 'description' => '任务类型',
- 'type' => 'string',
- 'example' => 'SHELL',
- ],
- 'TaskParams' => [
- 'title' => '任务参数',
- 'description' => '任务参数',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "yarnUser": "",'."\n"
- .' "conditionResult": "null",'."\n"
- .' "rawScript": "sleep 300",'."\n"
- .' "submitOnYarnFlag": false,'."\n"
- .' "emrClusterId": "",'."\n"
- .' "yarnPriority": "",'."\n"
- .' "dependence": "null",'."\n"
- .' "yarnMemory": "",'."\n"
- .' "localParams": [],'."\n"
- .' "switchResult": "null",'."\n"
- .' "resourceList": [],'."\n"
- .' "yarnQueue": "",'."\n"
- .' "yarnVCores": "",'."\n"
- .' "associateManualTaskFlag": false'."\n"
- .'}',
- ],
- 'Flag' => [
- 'title' => '运行标志',
- 'description' => '运行标志',
- 'type' => 'string',
- 'example' => 'YES',
- ],
- 'TaskPriority' => [
- 'title' => '任务优先级',
- 'description' => '任务优先级',
- 'type' => 'string',
- 'example' => 'MEDIUM',
- ],
- 'FailRetryTimes' => [
- 'title' => '失败重试次数',
- 'description' => '失败重试次数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'FailRetryInterval' => [
- 'title' => '失败重试间隔',
- 'description' => '失败重试间隔',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TimeoutFlag' => [
- 'title' => '超时告警标志',
- 'description' => '超时告警标志',
- 'type' => 'string',
- 'example' => 'CLOSE',
- ],
- 'TimeoutNotifyStrategy' => [
- 'title' => '超时策略',
- 'description' => '超时告警标志',
- 'type' => 'string',
- 'example' => 'WARN',
- ],
- 'Timeout' => [
- 'title' => '超时时长',
- 'description' => '超时时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'DelayTime' => [
- 'title' => '延时执行时间',
- 'description' => '延时执行时间',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ResourceIds' => [
- 'title' => '资源ID列表',
- 'description' => '资源ID列表',
- 'type' => 'string',
- 'example' => '123',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'],
+ 'TaskId' => ['title' => '资源一级ID', 'description' => '代表资源一级ID的资源属性字段', 'type' => 'string', 'example' => '123***'],
+ 'TaskName' => ['title' => '资源名称', 'description' => '代表资源名称的资源属性字段', 'type' => 'string', 'example' => 'test'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '代表创建时间的资源属性字段', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'UpdateTime' => ['title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2024-03-27 00:00:00'],
+ 'Version' => ['title' => '版本', 'description' => '版本', 'type' => 'string', 'example' => '1'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'test'],
+ 'ProjectId' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'example' => '123***'],
+ 'TaskType' => ['title' => '任务类型', 'description' => '任务类型', 'type' => 'string', 'example' => 'SHELL'],
+ 'TaskParams' => ['title' => '任务参数', 'description' => '任务参数', 'type' => 'string', 'example' => '{'."\n"
+ .' "yarnUser": "",'."\n"
+ .' "conditionResult": "null",'."\n"
+ .' "rawScript": "sleep 300",'."\n"
+ .' "submitOnYarnFlag": false,'."\n"
+ .' "emrClusterId": "",'."\n"
+ .' "yarnPriority": "",'."\n"
+ .' "dependence": "null",'."\n"
+ .' "yarnMemory": "",'."\n"
+ .' "localParams": [],'."\n"
+ .' "switchResult": "null",'."\n"
+ .' "resourceList": [],'."\n"
+ .' "yarnQueue": "",'."\n"
+ .' "yarnVCores": "",'."\n"
+ .' "associateManualTaskFlag": false'."\n"
+ .'}'],
+ 'Flag' => ['title' => '运行标志', 'description' => '运行标志', 'type' => 'string', 'example' => 'YES'],
+ 'TaskPriority' => ['title' => '任务优先级', 'description' => '任务优先级', 'type' => 'string', 'example' => 'MEDIUM'],
+ 'FailRetryTimes' => ['title' => '失败重试次数', 'description' => '失败重试次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'FailRetryInterval' => ['title' => '失败重试间隔', 'description' => '失败重试间隔', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TimeoutFlag' => ['title' => '超时告警标志', 'description' => '超时告警标志', 'type' => 'string', 'example' => 'CLOSE'],
+ 'TimeoutNotifyStrategy' => ['title' => '超时策略', 'description' => '超时告警标志', 'type' => 'string', 'example' => 'WARN'],
+ 'Timeout' => ['title' => '超时时长', 'description' => '超时时长', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'DelayTime' => ['title' => '延时执行时间', 'description' => '延时执行时间', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ResourceIds' => ['title' => '资源ID列表', 'description' => '资源ID列表', 'type' => 'string', 'example' => '123'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"TaskId\\": \\"123***\\",\\n \\"TaskName\\": \\"test\\",\\n \\"CreateTime\\": \\"2024-03-27 00:00:00\\",\\n \\"UpdateTime\\": \\"2024-03-27 00:00:00\\",\\n \\"Version\\": \\"1\\",\\n \\"Description\\": \\"test\\",\\n \\"ProjectId\\": \\"123***\\",\\n \\"TaskType\\": \\"SHELL\\",\\n \\"TaskParams\\": \\"{\\\\n \\\\\\"yarnUser\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"conditionResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"rawScript\\\\\\": \\\\\\"sleep 300\\\\\\",\\\\n \\\\\\"submitOnYarnFlag\\\\\\": false,\\\\n \\\\\\"emrClusterId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnPriority\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"dependence\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"yarnMemory\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"localParams\\\\\\": [],\\\\n \\\\\\"switchResult\\\\\\": \\\\\\"null\\\\\\",\\\\n \\\\\\"resourceList\\\\\\": [],\\\\n \\\\\\"yarnQueue\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"yarnVCores\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"associateManualTaskFlag\\\\\\": false\\\\n}\\",\\n \\"Flag\\": \\"YES\\",\\n \\"TaskPriority\\": \\"MEDIUM\\",\\n \\"FailRetryTimes\\": 0,\\n \\"FailRetryInterval\\": 1,\\n \\"TimeoutFlag\\": \\"CLOSE\\",\\n \\"TimeoutNotifyStrategy\\": \\"WARN\\",\\n \\"Timeout\\": 10,\\n \\"DelayTime\\": 0,\\n \\"ResourceIds\\": \\"123\\"\\n}","type":"json"}]',
],
'ListWorkflowInstances' => [
'summary' => '工作流实例列表',
'path' => '/dolphinscheduler/v3/projects/{projectId}/processInstances',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
@@ -1779,84 +825,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '216203',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduceVHPGXM',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduceVHPGXM'],
],
'parameters' => [
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8bj81uI8nls='."\n",
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '8bj81uI8nls='."\n"],
],
[
'name' => 'startDate',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-02-04 00:00:00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2024-02-04 00:00:00'],
],
[
'name' => 'endDate',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-06-27 00:00:00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2023-06-27 00:00:00'],
],
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '12345',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '318546',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '318546'],
],
[
'name' => 'workflowId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1231311',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1231311'],
],
],
'responses' => [
@@ -1866,18 +871,8 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'nextToken' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => '8bj81uI8nls='."\n",
- ],
- 'totalSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4292',
- ],
+ 'nextToken' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '8bj81uI8nls='."\n"],
+ 'totalSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '4292'],
'data' => [
'description' => '',
'type' => 'array',
@@ -1885,95 +880,43 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'workflowInstanceId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123123',
- ],
- 'workflowId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
- ],
- 'workflowVersion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1234',
- ],
+ 'workflowInstanceId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '123123'],
+ 'workflowId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
+ 'workflowVersion' => ['description' => '', 'type' => 'string', 'example' => '1234'],
'state' => [
'description' => '',
'type' => 'string',
- 'enumValueTitles' => [
- 'SUCCESS' => 'SUCCESS',
- 'RUNNING_EXECUTION' => 'RUNNING_EXECUTION',
- 'FAILURE' => 'FAILURE',
- ],
+ 'enumValueTitles' => ['SUCCESS' => 'SUCCESS', 'RUNNING_EXECUTION' => 'RUNNING_EXECUTION', 'FAILURE' => 'FAILURE'],
'example' => 'RUNNING_EXECUTION',
],
- 'startDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-05-19 00:00:00',
- ],
- 'endDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-12-24 01:00:00',
- ],
- 'runTimes' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'workflow_instance_name',
- ],
- 'scheduleTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2024-01-01 10:30:30',
- ],
+ 'startDate' => ['description' => '', 'type' => 'string', 'example' => '2023-05-19 00:00:00'],
+ 'endDate' => ['description' => '', 'type' => 'string', 'example' => '2023-12-24 01:00:00'],
+ 'runTimes' => ['description' => '', 'type' => 'string', 'example' => '3'],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => 'workflow_instance_name'],
+ 'scheduleTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-01 10:30:30'],
],
],
],
- 'requestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1DF8BA1E-F26F-50C9-9A27-8261ECB85259',
- ],
+ 'requestId' => ['description' => '', 'type' => 'string', 'example' => '1DF8BA1E-F26F-50C9-9A27-8261ECB85259'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"8bj81uI8nls=\\\\n\\",\\n \\"totalSize\\": 4292,\\n \\"data\\": [\\n {\\n \\"workflowInstanceId\\": 123123,\\n \\"workflowId\\": 123,\\n \\"workflowVersion\\": \\"1234\\",\\n \\"state\\": \\"RUNNING_EXECUTION\\",\\n \\"startDate\\": \\"2023-05-19 00:00:00\\",\\n \\"endDate\\": \\"2023-12-24 01:00:00\\",\\n \\"runTimes\\": \\"3\\",\\n \\"name\\": \\"workflow_instance_name\\",\\n \\"scheduleTime\\": \\"2024-01-01 10:30:30\\"\\n }\\n ],\\n \\"requestId\\": \\"1DF8BA1E-F26F-50C9-9A27-8261ECB85259\\"\\n}","type":"json"}]',
],
'DescribeWorkflowInstance' => [
'summary' => '工作流实例详情',
'path' => '/dolphinscheduler/v3/projects/{projectId}/processInstances/{workflowInstanceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
@@ -1981,43 +924,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '216209',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduceVHPGXM',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduceVHPGXM'],
],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '12345',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '123',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123'],
],
[
'name' => 'workflowInstanceId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '234',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '234'],
],
],
'responses' => [
@@ -2027,109 +950,43 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'workflowId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1231311',
- ],
- 'workflowVersion' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'workflowId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1231311'],
+ 'workflowVersion' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'state' => [
'description' => '',
'type' => 'string',
- 'enumValueTitles' => [
- 'SUCCESS' => 'SUCCESS',
- 'RUNNING_EXECUTION' => 'RUNNING_EXECUTION',
- 'FAILURE' => 'FAILURE',
- ],
+ 'enumValueTitles' => ['SUCCESS' => 'SUCCESS', 'RUNNING_EXECUTION' => 'RUNNING_EXECUTION', 'FAILURE' => 'FAILURE'],
'example' => 'SUCCESS',
],
- 'startDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2024-02-04 00:00:00',
- ],
- 'endDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-06-02 10:30:00',
- ],
- 'runTimes' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'workflow_instance_name',
- ],
- 'scheduleTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2024-01-01 10:59:00',
- ],
- 'emrClusterId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'c-047fa6bbe732e12d',
- ],
- 'timeout' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'resourceGroupId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'wg-acfmv4opbsduvfy',
- ],
- 'isComplementData' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'requestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'B897B94B-6754-5D09-AB8C-2E8186CCADC0',
- ],
+ 'startDate' => ['description' => '', 'type' => 'string', 'example' => '2024-02-04 00:00:00'],
+ 'endDate' => ['description' => '', 'type' => 'string', 'example' => '2023-06-02 10:30:00'],
+ 'runTimes' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => 'workflow_instance_name'],
+ 'scheduleTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-01 10:59:00'],
+ 'emrClusterId' => ['description' => '', 'type' => 'string', 'example' => 'c-047fa6bbe732e12d'],
+ 'timeout' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'resourceGroupId' => ['description' => '', 'type' => 'string', 'example' => 'wg-acfmv4opbsduvfy'],
+ 'isComplementData' => ['description' => '', 'type' => 'boolean', 'example' => 'false'],
+ 'requestId' => ['description' => '', 'type' => 'string', 'example' => 'B897B94B-6754-5D09-AB8C-2E8186CCADC0'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"workflowId\\": 1231311,\\n \\"workflowVersion\\": 2,\\n \\"state\\": \\"SUCCESS\\",\\n \\"startDate\\": \\"2024-02-04 00:00:00\\",\\n \\"endDate\\": \\"2023-06-02 10:30:00\\",\\n \\"runTimes\\": 2,\\n \\"name\\": \\"workflow_instance_name\\",\\n \\"scheduleTime\\": \\"2024-01-01 10:59:00\\",\\n \\"emrClusterId\\": \\"c-047fa6bbe732e12d\\",\\n \\"timeout\\": 10,\\n \\"resourceGroupId\\": \\"wg-acfmv4opbsduvfy\\",\\n \\"isComplementData\\": false,\\n \\"requestId\\": \\"B897B94B-6754-5D09-AB8C-2E8186CCADC0\\"\\n}","type":"json"}]',
],
'ListWorkflows' => [
'summary' => '工作流列表',
'path' => '/dolphinscheduler/v3/projects/{projectId}/processDefinitions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
@@ -2137,63 +994,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '216191',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduce265SSG',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduce265SSG'],
],
'parameters' => [
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8bj81uI8nls='."\n",
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '8bj81uI8nls='."\n"],
],
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '12345',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345'],
],
[
'name' => 'searchVal',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '309277',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '309277'],
],
],
'responses' => [
@@ -2210,89 +1037,42 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'workflowId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1231311',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'workflow_name',
- ],
+ 'workflowId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1231311'],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => 'workflow_name'],
'releaseState' => [
'description' => '',
'type' => 'string',
- 'enumValueTitles' => [
- 'ONLINE' => 'ONLINE',
- 'OFFLINE' => 'OFFLINE',
- ],
+ 'enumValueTitles' => ['ONLINE' => 'ONLINE', 'OFFLINE' => 'OFFLINE'],
'example' => 'ONLINE',
],
- 'description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'workflow description',
- ],
- 'createTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-06-07T02:35:13Z',
- ],
- 'updateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-10-30T14:22:03Z',
- ],
+ 'description' => ['description' => '', 'type' => 'string', 'example' => 'workflow description'],
+ 'createTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-07T02:35:13Z'],
+ 'updateTime' => ['description' => '', 'type' => 'string', 'example' => '2023-10-30T14:22:03Z'],
],
],
],
- 'nextToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '8bj81uI8nls='."\n",
- ],
- 'totalSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'requestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****',
- ],
+ 'nextToken' => ['description' => '', 'type' => 'string', 'example' => '8bj81uI8nls='."\n"],
+ 'totalSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'requestId' => ['description' => '', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"workflowId\\": 1231311,\\n \\"name\\": \\"workflow_name\\",\\n \\"releaseState\\": \\"ONLINE\\",\\n \\"description\\": \\"workflow description\\",\\n \\"createTime\\": \\"2023-06-07T02:35:13Z\\",\\n \\"updateTime\\": \\"2023-10-30T14:22:03Z\\"\\n }\\n ],\\n \\"nextToken\\": \\"8bj81uI8nls=\\\\n\\",\\n \\"totalSize\\": 10,\\n \\"requestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]',
],
'DescribeWorkflow' => [
'summary' => '工作流列表',
'path' => '/dolphinscheduler/v3/projects/{projectId}/processDefinitions/{workflowId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
@@ -2300,43 +1080,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '216198',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduce265SSG',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduce265SSG'],
],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '12345',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345'],
],
[
'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '123',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123'],
],
[
'name' => 'workflowId',
'in' => 'path',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '123131',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123131'],
],
],
'responses' => [
@@ -2353,28 +1113,10 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'taskId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123123',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'task_name',
- ],
- 'version' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'task description',
- ],
+ 'taskId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '123123'],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => 'task_name'],
+ 'version' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'description' => ['description' => '', 'type' => 'string', 'example' => 'task description'],
],
],
],
@@ -2385,72 +1127,34 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'relation_name',
- ],
- 'preTaskId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
- ],
- 'preTaskVersion' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'postTaskId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1234',
- ],
- 'postTaskVersion' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => 'relation_name'],
+ 'preTaskId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
+ 'preTaskVersion' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'postTaskId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1234'],
+ 'postTaskVersion' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
],
- 'requestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '611AD6E6-BFE3-5897-AA12-569F79DBAF9B',
- ],
+ 'requestId' => ['description' => '', 'type' => 'string', 'example' => '611AD6E6-BFE3-5897-AA12-569F79DBAF9B'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"tasks\\": [\\n {\\n \\"taskId\\": 123123,\\n \\"name\\": \\"task_name\\",\\n \\"version\\": 1,\\n \\"description\\": \\"task description\\"\\n }\\n ],\\n \\"taskRelations\\": [\\n {\\n \\"name\\": \\"relation_name\\",\\n \\"preTaskId\\": 123,\\n \\"preTaskVersion\\": 1,\\n \\"postTaskId\\": 1234,\\n \\"postTaskVersion\\": 2\\n }\\n ],\\n \\"requestId\\": \\"611AD6E6-BFE3-5897-AA12-569F79DBAF9B\\"\\n}","type":"json"}]',
],
'DescribeProject' => [
'summary' => '获取Project详情',
'path' => '/dolphinscheduler/v3/projects/{code}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
@@ -2458,33 +1162,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '215934',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduceBYNX2K',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduceBYNX2K'],
],
'parameters' => [
[
'name' => 'code',
'in' => 'path',
- 'schema' => [
- 'title' => '项目code',
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '123',
- ],
+ 'schema' => ['title' => '项目code', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123'],
],
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'title' => '工作空间id',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1234',
- ],
+ 'schema' => ['title' => '工作空间id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1234'],
],
],
'responses' => [
@@ -2494,63 +1183,29 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'code' => [
- 'title' => '项目code',
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '12345',
- ],
- 'name' => [
- 'title' => '项目名称',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test_project_name',
- ],
- 'description' => [
- 'title' => '项目描述',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'this is a project description',
- ],
- 'requestId' => [
- 'title' => '请求id',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'req_id',
- ],
+ 'code' => ['title' => '项目code', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345'],
+ 'name' => ['title' => '项目名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'test_project_name'],
+ 'description' => ['title' => '项目描述', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'this is a project description'],
+ 'requestId' => ['title' => '请求id', 'description' => '', 'type' => 'string', 'example' => 'req_id'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": 12345,\\n \\"name\\": \\"test_project_name\\",\\n \\"description\\": \\"this is a project description\\",\\n \\"requestId\\": \\"req_id\\"\\n}","type":"json"}]',
],
'ListProjects' => [
'summary' => '获取项目详情',
'path' => '/dolphinscheduler/v3/projects',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
@@ -2558,52 +1213,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '215844',
- 'abilityTreeNodes' => [
- 'FEATUREemapreduceBYNX2K',
- ],
+ 'abilityTreeNodes' => ['FEATUREemapreduceBYNX2K'],
],
'parameters' => [
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8bj81uI8nls=',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '8bj81uI8nls='],
],
[
'name' => 'searchVal',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
],
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '12345',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345'],
],
],
'responses' => [
@@ -2613,12 +1244,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'nextToken' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => '8bj81uI8nls='."\n",
- ],
+ 'nextToken' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '8bj81uI8nls='."\n"],
'data' => [
'description' => '',
'type' => 'array',
@@ -2626,88 +1252,33 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'project_name',
- ],
- 'description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'projectId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '318720',
- ],
- 'code' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => 'project_name'],
+ 'description' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'projectId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '318720'],
+ 'code' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
- 'requestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '14079B51-C226-5391-BFAF-6E44AC492C1F',
- ],
+ 'requestId' => ['description' => '', 'type' => 'string', 'example' => '14079B51-C226-5391-BFAF-6E44AC492C1F'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"8bj81uI8nls=\\\\n\\",\\n \\"data\\": [\\n {\\n \\"name\\": \\"project_name\\",\\n \\"description\\": \\"项目描述\\",\\n \\"projectId\\": 720594,\\n \\"code\\": 12345\\n }\\n ],\\n \\"requestId\\": \\"14079B51-C226-5391-BFAF-6E44AC492C1F\\"\\n}","type":"json"}]',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'emrstudio.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'emrstudio.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'emrstudio.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'emrstudio.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'emrstudio.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'emrstudio.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'emrstudio.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'emrstudio.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'emrstudio.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'emrstudio.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'emrstudio.cn-hongkong.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'emrstudio.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'emrstudio.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'emrstudio.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'emrstudio.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'emrstudio.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'emrstudio.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'emrstudio.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'emrstudio.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'emrstudio.us-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'emrstudio.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'emrstudio.cn-hongkong.aliyuncs.com'],
],
];