summaryrefslogtreecommitdiff
path: root/data/zh_cn/openitag
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/zh_cn/openitag
downloadacs-metadata-full-main.tar.gz
acs-metadata-full-main.zip
Diffstat (limited to 'data/zh_cn/openitag')
-rw-r--r--data/zh_cn/openitag/2022-06-16/api-docs.php7655
1 files changed, 7655 insertions, 0 deletions
diff --git a/data/zh_cn/openitag/2022-06-16/api-docs.php b/data/zh_cn/openitag/2022-06-16/api-docs.php
new file mode 100644
index 0000000..56527d7
--- /dev/null
+++ b/data/zh_cn/openitag/2022-06-16/api-docs.php
@@ -0,0 +1,7655 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'OpenITag',
+ 'version' => '2022-06-16',
+ ],
+ 'directories' => [
+ [
+ 'id' => 171721,
+ 'title' => '租户',
+ 'type' => 'directory',
+ 'children' => [
+ 'ListTenants',
+ 'GetTenant',
+ 'UpdateTenant',
+ ],
+ ],
+ [
+ 'id' => 171725,
+ 'title' => '标注模板',
+ 'type' => 'directory',
+ 'children' => [
+ 'ListTemplates',
+ 'CreateTemplate',
+ 'UpdateTemplate',
+ 'DeleteTemplate',
+ 'GetTemplateView',
+ 'GetTemplateQuestions',
+ 'GetTemplate',
+ ],
+ ],
+ [
+ 'id' => 171733,
+ 'title' => '标注任务',
+ 'type' => 'directory',
+ 'children' => [
+ 'AppendAllDataToTask',
+ 'ListTasks',
+ 'CreateTask',
+ 'GetTask',
+ 'UpdateTask',
+ 'DeleteTask',
+ 'GetTaskTemplateViews',
+ 'GetTaskTemplateQuestions',
+ 'GetTaskTemplate',
+ 'GetTaskStatus',
+ 'GetTaskStatistics',
+ ],
+ ],
+ [
+ 'id' => 171744,
+ 'title' => '子任务包',
+ 'type' => 'directory',
+ 'children' => [
+ 'ListSubtasks',
+ 'GetSubtask',
+ 'ListSubtaskItems',
+ 'GetSubtaskItem',
+ ],
+ ],
+ [
+ 'id' => 171749,
+ 'title' => '标注结果',
+ 'type' => 'directory',
+ 'children' => [
+ 'ExportAnnotations',
+ 'ListJobs',
+ 'GetJob',
+ ],
+ ],
+ [
+ 'id' => 171753,
+ 'title' => '标注人员管理',
+ 'type' => 'directory',
+ 'children' => [
+ 'ListUsers',
+ 'GetUser',
+ 'CreateUser',
+ 'UpdateUser',
+ 'DeleteUser',
+ ],
+ ],
+ [
+ 'id' => 171759,
+ 'title' => '任务人员',
+ 'type' => 'directory',
+ 'children' => [
+ 'GetTaskWorkforce',
+ 'AddWorkNodeWorkforce',
+ 'GetTaskWorkforceStatistic',
+ 'UpdateTaskWorkforce',
+ 'RemoveWorkNodeWorkforce',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [
+ 'CreateTaskDetail' => [
+ 'title' => 'A short description of struct',
+ 'description' => '创建任务结构体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskName' => [
+ 'title' => '任务名称',
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试任务202208101424',
+ ],
+ 'UUID' => [
+ 'title' => '唯一标识ID;业务方控制',
+ 'description' => '唯一标识ID,业务方控制。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '16623***80757311',
+ ],
+ 'TemplateId' => [
+ 'title' => '模版ID',
+ 'description' => '模板ID。详情请参见[ListTemplates](~~454654~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '152936***8342353920',
+ ],
+ 'AllowAppendData' => [
+ 'title' => '是否支持新增',
+ 'description' => '是否支持新增,取值如下:'."\n"
+ .'- true:支持'."\n"
+ .'- false:不支持',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TaskTemplateConfig' => [
+ 'description' => '模板配置。',
+ '$ref' => '#/components/schemas/TaskTemplateConfig',
+ ],
+ 'Exif' => [
+ 'title' => '额外配置',
+ 'description' => '额外配置。JSON格式。',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => ' { "TaskCaptionType": "DOC_LINK"}',
+ ],
+ 'Admins' => [
+ 'title' => '管理员;默认创建人',
+ 'description' => '管理员,默认创建人。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Users' => [
+ 'title' => '管理员',
+ 'description' => '管理员列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '参考SimpleUser的结构配置后,添加为管理员的功能。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ ],
+ ],
+ ],
+ 'TaskWorkflow' => [
+ 'title' => '工作流',
+ 'description' => '工作流列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '任务流节点配置项。',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeName' => [
+ 'title' => '结点名称',
+ 'description' => '结点名称,取值如下:'."\n"
+ .'- MARK:标注。'."\n"
+ .'- CHECK:检查。'."\n"
+ .'- SAMPLING:验收。',
+ 'type' => 'string',
+ 'enumValueTitles' => [],
+ 'example' => 'MARK',
+ 'enum' => [
+ 'MARK',
+ 'CHECK',
+ 'SAMPLING',
+ ],
+ ],
+ ],
+ 'enumValueTitles' => [],
+ ],
+ 'required' => true,
+ ],
+ 'AssignConfig' => [
+ 'title' => '任务分配机制',
+ 'description' => '任务分配机制。',
+ 'required' => true,
+ '$ref' => '#/components/schemas/TaskAssginConfig',
+ ],
+ 'Tags' => [
+ 'title' => '任务标签',
+ 'description' => '任务标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ ],
+ 'VoteConfigs' => [
+ 'title' => '投票配置',
+ 'description' => '投票配置',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'description' => '参考CreateTaskDetailVoteInfo的配置,配置投票信息。包括投票人数和最小投票数量。',
+ '$ref' => '#/components/schemas/CreateTaskDetailVoteInfo',
+ ],
+ ],
+ 'DatasetProxyRelations' => [
+ 'title' => '数据集配置',
+ 'description' => '数据集配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '参考DatasetProxyConfig的配置,配置数据集。',
+ '$ref' => '#/components/schemas/DatasetProxyConfig',
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'CreateTaskDetailVoteInfo' => [
+ 'title' => '投票信息',
+ 'description' => '创建任务详情投票信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'VoteNum' => [
+ 'title' => '投票人数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ ],
+ 'MinVote' => [
+ 'title' => '最小投票数量',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ ],
+ ],
+ ],
+ 'DatasetProxyConfig' => [
+ 'title' => 'A short description of struct',
+ 'description' => '数据集配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Source' => [
+ 'title' => '数据集来源',
+ 'description' => '数据集来源,仅支持PAI。',
+ 'type' => 'string',
+ 'example' => 'PAI',
+ 'default' => 'PAI',
+ 'enum' => [
+ 'PAI',
+ ],
+ ],
+ 'SourceDatasetId' => [
+ 'title' => '来源数据集ID',
+ 'description' => '来源数据集ID。如何获取数据集ID,请参见[ListDatasets](~~457222~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '214***12514',
+ ],
+ 'DatasetType' => [
+ 'title' => '数据集类型',
+ 'description' => '数据集类型,仅支持LABEL。',
+ 'type' => 'string',
+ 'example' => 'LABEL',
+ 'default' => 'LABEL',
+ ],
+ ],
+ ],
+ 'FlowJobInfo' => [
+ 'title' => 'A short description of struct',
+ 'description' => '工作流信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => [
+ 'title' => 'JobId',
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => '1475***441221943296',
+ ],
+ 'JobType' => [
+ 'title' => 'Job类型',
+ 'description' => '任务类型,目前仅支持:DOWNLOWD_MARKRESULT_FLOW。',
+ 'type' => 'string',
+ 'example' => 'DOWNLOWD_MARKRESULT_FLOW',
+ ],
+ 'ProcessType' => [
+ 'title' => '处理信息',
+ 'description' => '处理信息。',
+ 'type' => 'string',
+ 'example' => 'NEW_INIT',
+ ],
+ 'MessageId' => [
+ 'title' => '消息ID',
+ 'description' => '消息ID。',
+ 'type' => 'string',
+ 'example' => '792B76F4000E681A95155146A002D5F8',
+ ],
+ 'TaskId' => [
+ 'title' => '任务ID',
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => '1543***518306500608',
+ ],
+ 'Display' => [
+ 'title' => '是否展示',
+ 'description' => '是否展示,可能值为:'."\n"
+ .'- true:展示。'."\n"
+ .'- false:不展示。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'Job' => [
+ 'title' => 'A short description of struct',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'title' => 'Job状态',
+ 'description' => '任务状态,可能值为:'."\n"
+ .'- init:初始化'."\n"
+ .'- running:运行中'."\n"
+ .'- pause:暂停'."\n"
+ .'- stop:停止'."\n"
+ .'- succ:成功'."\n"
+ .'- fail:失败',
+ 'type' => 'string',
+ 'example' => 'succ',
+ ],
+ 'JobResult' => [
+ 'title' => 'Job结果',
+ 'description' => '任务结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultLink' => [
+ 'title' => '返回值链接',
+ 'description' => '返回值链接,即返回标注结果所在的OSS路径。',
+ 'type' => 'string',
+ 'example' => 'oss://****-hz-oss.oss-cn-hangzhou.aliyuncs.com/output/ocr_demo001.manifest',
+ ],
+ ],
+ ],
+ 'JobType' => [
+ 'title' => 'Job类型',
+ 'description' => '任务类型,目前仅支持:DOWNLOWD_MARKRESULT_FLOW。',
+ 'type' => 'string',
+ 'example' => 'DOWNLOWD_MARKRESULT_FLOW',
+ ],
+ 'GmtCreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2021-12-28 11:42:19',
+ ],
+ 'GmtModifiedTime' => [
+ 'title' => '修改时间',
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2021-12-28 11:42:20',
+ ],
+ 'Creator' => [
+ 'description' => '任务创建者。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ 'JobId' => [
+ 'title' => 'JobId',
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => '147***441221943296',
+ ],
+ ],
+ ],
+ 'MarkResult' => [
+ 'title' => 'A short description of struct',
+ 'description' => '标注结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MarkResultId' => [
+ 'title' => '题目ID',
+ 'description' => '题目ID。',
+ 'type' => 'string',
+ 'example' => '1500***849089597440',
+ ],
+ 'MarkTitle' => [
+ 'title' => '题目名称',
+ 'description' => '题目名称。',
+ 'type' => 'string',
+ 'example' => '单选',
+ ],
+ 'MarkResult' => [
+ 'title' => '题目结果',
+ 'description' => '题目结果。',
+ 'type' => 'string',
+ 'example' => 'b',
+ ],
+ 'QuestionId' => [
+ 'title' => '绑定题目',
+ 'description' => '绑定题目。',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'ResultType' => [
+ 'title' => '结果类型',
+ 'description' => '结果类型。可能值为:'."\n"
+ .'- RADIO:单选'."\n"
+ .'- SLOT:段落'."\n"
+ .'- INPUT:填空题'."\n"
+ .'- CHECKBOX:多选',
+ 'type' => 'string',
+ 'example' => 'RADIO',
+ ],
+ 'Progress' => [
+ 'title' => '进度',
+ 'description' => '进度,返回值为None或JSON类型的数据。其中:'."\n"
+ .'- Total:总的结果量。'."\n"
+ .'- Finished:已完成的结果量。',
+ 'type' => 'string',
+ 'example' => 'None',
+ ],
+ 'Version' => [
+ 'title' => '版本',
+ 'description' => '版本。',
+ 'type' => 'string',
+ 'example' => '1646643768468',
+ ],
+ 'MarkTime' => [
+ 'title' => '标注时间',
+ 'description' => '标注时间。',
+ 'type' => 'string',
+ 'example' => 'Mon Mar 07 17:02:48 CST 2022',
+ ],
+ 'UserMarkResultId' => [
+ 'title' => '用户标记结果ID',
+ 'description' => '用户标记结果ID。',
+ 'type' => 'string',
+ 'example' => '1500***849358032896',
+ ],
+ 'IsNeedVoteJudge' => [
+ 'title' => '是否需要投票',
+ 'description' => '是否需要投票,取值如下:'."\n"
+ .'- True:是'."\n"
+ .'- False:否',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ ],
+ ],
+ 'OpenDatasetProxyAppendDataRequest' => [
+ 'title' => 'A short description of struct',
+ 'description' => '数据追加结构体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'title' => 'TaskId',
+ 'description' => '任务id,表示往该任务追加数据',
+ 'type' => 'string',
+ 'example' => '154***518306500608',
+ ],
+ 'UUID' => [
+ 'title' => 'BizNo',
+ 'description' => '唯一标识ID,业务方控制。',
+ 'type' => 'string',
+ 'example' => 'e5c9db3f-f27c-445e-a52b-06ba6d1ba00f',
+ ],
+ 'DataMeta' => [
+ 'title' => 'LabelDataList',
+ 'description' => '数据list,目前一次调用最多100条记录,数组中的每个元素是一个map',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'key-value表示原数据字段名和字段值。示例:{"cate": "dog"}',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'description' => '原数据字段值。',
+ 'type' => 'string',
+ 'example' => 'http://test-bucket-duplicate.oss-cn-hangzhou.aliyuncs.com/fe-test/ocr/table/1.jpeg',
+ ],
+ ],
+ ],
+ 'TraceId' => [
+ 'title' => 'TraceId',
+ 'description' => 'TraceId',
+ 'type' => 'string',
+ 'example' => '0bc1ec3916825622257033399edb6b',
+ ],
+ ],
+ ],
+ 'QuestionOption' => [
+ 'title' => 'A short description of struct',
+ 'description' => '选项描述。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => [
+ 'title' => '标签展示名',
+ 'description' => '标签展示名。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dog',
+ ],
+ 'Key' => [
+ 'title' => '标签名称',
+ 'description' => '标签名称。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '12',
+ ],
+ 'Shortcut' => [
+ 'title' => '快捷键',
+ 'description' => '快捷键。',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Color' => [
+ 'title' => '颜色',
+ 'description' => '颜色。',
+ 'type' => 'string',
+ 'example' => '#239125',
+ ],
+ 'Remark' => [
+ 'title' => '备注',
+ 'description' => '备注。',
+ 'type' => 'string',
+ 'example' => '第一道题目',
+ ],
+ 'Children' => [
+ 'title' => '下级选项',
+ 'description' => '下级选项列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '参考QuestionOption参数列表进行配置。',
+ '$ref' => '#/components/schemas/QuestionOption',
+ ],
+ ],
+ ],
+ ],
+ 'QuestionPlugin' => [
+ 'title' => 'A short description of struct',
+ 'description' => '题目组件',
+ 'type' => 'object',
+ 'properties' => [
+ 'MarkTitle' => [
+ 'title' => '组件标题',
+ 'description' => '组件标题',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '内部单选',
+ ],
+ 'MarkTitleAlias' => [
+ 'title' => '题目别名',
+ 'description' => '题目别名',
+ 'type' => 'string',
+ 'example' => '单选',
+ ],
+ 'Type' => [
+ 'title' => '组件类型',
+ 'description' => '组件类型',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'RADIO',
+ ],
+ 'MustFill' => [
+ 'title' => '是否必填',
+ 'description' => '是否必填',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'False',
+ ],
+ 'Display' => [
+ 'title' => '是否显示',
+ 'description' => '是否显示',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'True',
+ ],
+ 'Selected' => [
+ 'title' => '是否选中',
+ 'description' => '是否选中',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'SelectGroup' => [
+ 'title' => '选择组',
+ 'description' => '选择组',
+ 'type' => 'string',
+ 'example' => 'g1',
+ ],
+ 'DefaultResult' => [
+ 'title' => '默认结果',
+ 'description' => '默认结果',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Rule' => [
+ 'title' => '正则, 校验规则',
+ 'description' => '正则, 校验规则',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'CanSelect' => [
+ 'title' => '是否可以选择',
+ 'description' => '是否可以选择',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'Children' => [
+ 'title' => '子组件',
+ 'description' => '子组件列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '子组件',
+ '$ref' => '#/components/schemas/QuestionPlugin',
+ ],
+ ],
+ 'Exif' => [
+ 'title' => '额外备注信息',
+ 'description' => '额外备注信息',
+ 'type' => 'object',
+ 'example' => 'false',
+ ],
+ 'PreOptions' => [
+ 'title' => '填空题预制选项',
+ 'description' => '填空题预制选项列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '预填',
+ 'type' => 'string',
+ 'example' => 'options',
+ ],
+ ],
+ 'Options' => [
+ 'title' => '选项配置',
+ 'description' => '选项配置列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '选项',
+ '$ref' => '#/components/schemas/QuestionOption',
+ ],
+ 'required' => true,
+ ],
+ 'HotKeyMap' => [
+ 'title' => '快捷键Map',
+ 'description' => '快捷键Map',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'QuestionId' => [
+ 'title' => '题目组件ID',
+ 'description' => '题目组件ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'SimpleSubtask' => [
+ 'title' => 'A short description of struct',
+ 'description' => '简单的子任务结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubtaskId' => [
+ 'title' => '子任务ID',
+ 'description' => '子任务ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1500***457270333440',
+ ],
+ 'Status' => [
+ 'title' => '状态',
+ 'description' => '状态。',
+ 'type' => 'string',
+ 'example' => 'FINISHED',
+ ],
+ 'Items' => [
+ 'title' => '子任务的ITEM列表',
+ 'description' => '子任务的ITEM列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FeedbackRemark' => [
+ 'title' => '验收反馈',
+ 'description' => '验收反馈。',
+ 'type' => 'string',
+ 'example' => '验收完成',
+ ],
+ 'FeedbackFlag' => [
+ 'title' => '反馈标记',
+ 'description' => '反馈标记。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'DataId' => [
+ 'title' => '日期ID',
+ 'description' => '日期ID。',
+ 'type' => 'string',
+ 'example' => '175296157992643****',
+ ],
+ 'State' => [
+ 'title' => '状态',
+ 'description' => '状态:'."\n"
+ ."\n"
+ .'- INIT:初始状态。'."\n"
+ .'- TOPUBLISH:待发布。'."\n"
+ .'- CREATED:已创建。'."\n"
+ .'- HANDLING:处理中。'."\n"
+ .'- VOTING:投票中。'."\n"
+ .'- FINISHED:已完成。'."\n"
+ .'- FAIL:失败。'."\n"
+ .'- EXPIRE:超时。'."\n"
+ .'- DISCARDED:被动废弃。'."\n"
+ .'- DISABLE:主动废弃。'."\n"
+ .'- LOCKED:锁定。'."\n"
+ .'- OFFLINE:下线。'."\n"
+ .'- MERGING:合并结果中。',
+ 'type' => 'string',
+ 'example' => 'HANDLING',
+ ],
+ 'Mine' => [
+ 'title' => '是否指派给我',
+ 'description' => '是否指派给我:'."\n"
+ .'- 0:表示不指派给我。'."\n"
+ .'- 1:表示指派给我。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'RejectFlag' => [
+ 'title' => '跳过标记',
+ 'description' => '跳过标记。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'FixedFlag' => [
+ 'title' => '失败标记',
+ 'description' => '失败标记。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'AbandonFlag' => [
+ 'title' => '废弃标记',
+ 'description' => '废弃标记。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'AbandonRemark' => [
+ 'title' => '废弃说明',
+ 'description' => '废弃说明。',
+ 'type' => 'string',
+ 'example' => '原始数据有问题',
+ ],
+ 'Weight' => [
+ 'title' => '权重',
+ 'description' => '权重。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '311011',
+ ],
+ 'ItemId' => [
+ 'title' => 'ItemId',
+ 'description' => '数据项ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '15116***94667356160',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SimpleTask' => [
+ 'title' => 'A short description of struct',
+ 'description' => '列表页任务描述。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Creator' => [
+ 'title' => '创建人信息',
+ 'description' => '创建人信息。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ 'Modifier' => [
+ 'title' => '修改人信息',
+ 'description' => '修改人信息。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ 'GmtCreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '创建UTC时间。',
+ 'type' => 'string',
+ 'example' => '2021-07-07 16:09:20',
+ ],
+ 'GmtModifiedTime' => [
+ 'title' => '修改时间',
+ 'description' => '修改UTC时间。',
+ 'type' => 'string',
+ 'example' => '2021-07-07 16:09:20',
+ ],
+ 'TaskName' => [
+ 'title' => '任务名称',
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'TaskId' => [
+ 'title' => '任务ID',
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => '15438***8306500608',
+ ],
+ 'TemplateId' => [
+ 'title' => '模版ID',
+ 'description' => '模板ID。',
+ 'type' => 'string',
+ 'example' => '1529***348342353920',
+ ],
+ 'TaskType' => [
+ 'title' => '任务类型',
+ 'description' => '任务类型。',
+ 'type' => 'string',
+ 'example' => 'NORMAL',
+ ],
+ 'TenantId' => [
+ 'title' => '租户ID',
+ 'description' => '租户ID。',
+ 'type' => 'string',
+ 'example' => 'GA***W134',
+ ],
+ 'Remark' => [
+ 'title' => '备注信息',
+ 'description' => '备注信息。',
+ 'type' => 'string',
+ 'example' => '备注',
+ ],
+ 'LabelStyle' => [
+ 'title' => '标签样式',
+ 'description' => '标签样式。',
+ 'type' => 'string',
+ 'example' => 'IMG',
+ ],
+ 'WorkflowNodes' => [
+ 'title' => '工作流结点',
+ 'description' => '工作流节点。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '节点。',
+ 'type' => 'string',
+ 'example' => '节点值',
+ ],
+ 'required' => false,
+ ],
+ 'Tags' => [
+ 'title' => '任务标签',
+ 'description' => '任务标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'required' => false,
+ ],
+ 'Archived' => [
+ 'title' => '是否已归档',
+ 'description' => '是否已归档。可能值:'."\n"
+ .'- false:未归档。'."\n"
+ .'- true:已归档。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Stage' => [
+ 'title' => '当前的结点',
+ 'description' => '当前的节点。可能值:'."\n"
+ .'- MARK:标注中。'."\n"
+ .'- CHECK:检查中。'."\n"
+ .'- FINISHED:已完成。',
+ 'type' => 'string',
+ 'example' => 'MARK',
+ ],
+ 'ArchivedInfos' => [
+ 'title' => '归档信息',
+ 'description' => '归档信息。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Status' => [
+ 'title' => '任务状态',
+ 'description' => '任务状态。可能值:'."\n"
+ .'- CREATED'."\n"
+ .'- SUCCESS',
+ 'type' => 'string',
+ 'example' => 'CREATED',
+ ],
+ 'RefTaskId' => [
+ 'title' => '周期任务ID',
+ 'description' => '周期任务ID。',
+ 'type' => 'string',
+ 'example' => '123***5124',
+ ],
+ 'UUID' => [
+ 'title' => '唯一标识ID',
+ 'description' => '唯一标识ID。',
+ 'type' => 'string',
+ 'example' => 'paiworkspace-****',
+ ],
+ ],
+ ],
+ 'SimpleTemplate' => [
+ 'title' => 'A short description of struct',
+ 'description' => '简单的模板结构',
+ 'type' => 'object',
+ 'properties' => [
+ 'TemplateId' => [
+ 'title' => '模板ID',
+ 'description' => '模板ID',
+ 'type' => 'string',
+ 'example' => '154***1431673270272',
+ ],
+ 'TemplateName' => [
+ 'title' => '模板名称',
+ 'description' => '模板名称',
+ 'type' => 'string',
+ 'example' => '图片分割组合77aa',
+ ],
+ 'TenantId' => [
+ 'title' => '模板所在租户ID',
+ 'description' => '模板所在租户ID',
+ 'type' => 'string',
+ 'example' => 'GA***W134',
+ ],
+ 'Description' => [
+ 'title' => '模板简介',
+ 'description' => '模板简介',
+ 'type' => 'string',
+ 'example' => '图片分割的模板',
+ ],
+ 'Status' => [
+ 'title' => '状态',
+ 'description' => '状态',
+ 'type' => 'string',
+ 'example' => 'DRAFT',
+ ],
+ 'Tags' => [
+ 'title' => '标记',
+ 'description' => '标记列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标记',
+ 'type' => 'string',
+ 'example' => 'TEXT',
+ ],
+ ],
+ 'SharedMode' => [
+ 'title' => '是否共享',
+ 'description' => '是否共享',
+ 'type' => 'string',
+ 'example' => 'ALL',
+ ],
+ 'AbandonReasons' => [
+ 'title' => '模板废弃的原因',
+ 'description' => '模板废弃的原因',
+ 'type' => 'string',
+ 'example' => '["无效"]',
+ ],
+ 'Type' => [
+ 'title' => '类型',
+ 'description' => '类型',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'GmtCreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'string',
+ 'example' => '2022-07-12 14:21:08',
+ ],
+ 'GmtModifiedTime' => [
+ 'title' => '更新时间',
+ 'description' => '更新时间',
+ 'type' => 'string',
+ 'example' => '2022-07-12 14:21:08',
+ ],
+ ],
+ ],
+ 'SimpleTenant' => [
+ 'title' => '租户信息',
+ 'description' => '租户信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Creator' => [
+ 'description' => '创建者',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ 'GmtCreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'string',
+ 'example' => '2021-07-07 16:09:20',
+ ],
+ 'GmtModifiedTime' => [
+ 'title' => '修改时间',
+ 'description' => '修改时间',
+ 'type' => 'string',
+ 'example' => '2021-07-07 16:09:20',
+ ],
+ 'TenantId' => [
+ 'title' => '租户ID',
+ 'description' => '租户ID',
+ 'type' => 'string',
+ 'example' => 'GA***W134',
+ ],
+ 'TenantName' => [
+ 'title' => '租户名称',
+ 'description' => '租户名称',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'UUID' => [
+ 'title' => '唯一标志符',
+ 'description' => '唯一标志符',
+ 'type' => 'string',
+ 'example' => 'paiworkspace-0001',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '描述',
+ 'type' => 'string',
+ 'example' => '这是一个测试租户',
+ ],
+ 'Role' => [
+ 'title' => '角色信息',
+ 'description' => '角色信息',
+ 'type' => 'string',
+ 'example' => 'ADMIN',
+ ],
+ 'Modifier' => [
+ 'title' => '修改人信息',
+ 'description' => '修改人信息',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ ],
+ ],
+ 'SimpleUser' => [
+ 'title' => 'A short description of struct',
+ 'description' => '租户用户信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户ID',
+ 'description' => '用户ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '166***9980757311',
+ ],
+ 'AccountType' => [
+ 'title' => '账户类型',
+ 'description' => '账户类型',
+ 'type' => 'string',
+ 'example' => 'ALIYUN',
+ ],
+ 'AccountNo' => [
+ 'title' => '账户ID',
+ 'description' => '账户ID',
+ 'type' => 'string',
+ 'example' => '166***9980757310',
+ ],
+ 'UserName' => [
+ 'title' => '用户名',
+ 'description' => '用户名',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'Role' => [
+ 'title' => '角色',
+ 'description' => '角色',
+ 'type' => 'string',
+ 'example' => 'ADMIN',
+ ],
+ ],
+ ],
+ 'SimpleWorkforce' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'WorkNodeId' => [
+ 'title' => '结点ID',
+ 'description' => '结点ID。详情请参见[GetTaskWorkforce](~~454697~~)。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'UserIds' => [
+ 'title' => '人员信息',
+ 'description' => '人员信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户ID。详情请参见[GetTaskWorkforceStatistic](~~454699~~)。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1662***980757311',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'SingleTenant' => [
+ 'title' => 'A short description of struct',
+ 'description' => '单个租户信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'title' => '租户描述',
+ 'description' => '租户描述',
+ 'type' => 'string',
+ 'example' => '该租户用来测试',
+ ],
+ 'TenantName' => [
+ 'title' => '租户名称',
+ 'description' => '租户名称',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'UUID' => [
+ 'title' => '租户唯一标识',
+ 'description' => '租户唯一标识',
+ 'type' => 'string',
+ 'example' => 'paiworkspace-0001',
+ ],
+ 'TenantId' => [
+ 'title' => '租户ID',
+ 'description' => '租户ID',
+ 'type' => 'string',
+ 'example' => 'GA***134',
+ ],
+ 'Status' => [
+ 'title' => '租户状态',
+ 'description' => '租户状态',
+ 'type' => 'string',
+ 'example' => 'CREATED',
+ ],
+ ],
+ ],
+ 'SubtaskDetail' => [
+ 'title' => 'A short description of struct',
+ 'description' => '简单的子任务结构',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubtaskId' => [
+ 'title' => '子任务ID',
+ 'description' => '子任务ID',
+ 'type' => 'string',
+ 'example' => '1500***457270333440',
+ ],
+ 'Status' => [
+ 'title' => '状态',
+ 'description' => '状态',
+ 'type' => 'string',
+ 'example' => 'FINISHED',
+ ],
+ 'Items' => [
+ 'title' => '子任务的ITEM列表',
+ 'description' => '子任务的ITEM列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'FeedbackRemark' => [
+ 'title' => '验收反馈',
+ 'description' => '验收反馈',
+ 'type' => 'string',
+ 'example' => '标注内容合格',
+ ],
+ 'FeedbackFlag' => [
+ 'title' => '反馈标记',
+ 'description' => '反馈标记',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'DataId' => [
+ 'title' => '日期ID',
+ 'description' => '日期ID',
+ 'type' => 'string',
+ 'example' => '1957578084',
+ ],
+ 'State' => [
+ 'title' => '状态',
+ 'description' => '状态',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'HANDLING' => 'HANDLING',
+ 'CREATE' => 'CREATE',
+ ],
+ 'example' => 'HANDLING',
+ ],
+ 'Mine' => [
+ 'title' => '是否指派给我',
+ 'description' => '是否指派给我',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'RejectFlag' => [
+ 'title' => '跳过标记',
+ 'description' => '跳过标记',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'FixedFlag' => [
+ 'title' => '失败标记',
+ 'description' => '失败标记',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'AbandonFlag' => [
+ 'title' => '废弃标记',
+ 'description' => '废弃标记',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'AbandonRemark' => [
+ 'title' => '废弃说明',
+ 'description' => '废弃说明',
+ 'type' => 'string',
+ 'example' => '原始数据错误',
+ ],
+ 'Weight' => [
+ 'title' => '权重',
+ 'description' => '权重',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '311011',
+ ],
+ ],
+ ],
+ ],
+ 'TaskId' => [
+ 'title' => '子任务所属任务ID',
+ 'description' => '子任务所属任务ID',
+ 'type' => 'string',
+ 'example' => '1511***994667356160',
+ ],
+ 'CurrentWorkNode' => [
+ 'title' => '当前节点类型',
+ 'description' => '当前节点类型',
+ 'type' => 'string',
+ 'example' => 'MARK',
+ ],
+ 'WorkNodeState' => [
+ 'title' => '当前节点状态',
+ 'description' => '当前节点状态',
+ 'type' => 'string',
+ 'example' => 'FINISHED',
+ ],
+ 'Workforce' => [
+ 'title' => '子任务标注人力',
+ 'description' => '子任务标注人力列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '人力',
+ '$ref' => '#/components/schemas/Workforce',
+ ],
+ ],
+ 'CanReassign' => [
+ 'title' => '是否能够分配',
+ 'description' => '是否能够分配',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'CanRelease' => [
+ 'title' => '是否能够释放',
+ 'description' => '是否能够释放',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'CanDiscard' => [
+ 'title' => '是否能够废弃',
+ 'description' => '是否能够废弃',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Weight' => [
+ 'title' => '任务权重',
+ 'description' => '任务权重',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '631548',
+ ],
+ 'ExtConfigs' => [
+ 'title' => '额外参数',
+ 'description' => '额外参数',
+ 'type' => 'string',
+ 'deprecated' => false,
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ 'SubtaskItemDetail' => [
+ 'title' => 'A short description of struct',
+ 'description' => '子任务ITEM详情',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemId' => [
+ 'title' => 'ITEM的ID',
+ 'description' => 'ITEM的ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1500***47176994816',
+ ],
+ 'Annotations' => [
+ 'title' => '标注结果',
+ 'description' => '标注结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'FeedbackRemark' => [
+ 'title' => '验收反馈',
+ 'description' => '验收反馈',
+ 'type' => 'string',
+ 'example' => '验收成功/所有投票结果都未被采纳',
+ ],
+ 'FeedbackFlag' => [
+ 'title' => '反馈标记',
+ 'description' => '反馈标记',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'DataId' => [
+ 'title' => '日期ID',
+ 'description' => '日期ID',
+ 'type' => 'string',
+ 'example' => '1957578084',
+ ],
+ 'State' => [
+ 'title' => '状态',
+ 'description' => '状态',
+ 'type' => 'string',
+ 'example' => 'HANDLING',
+ ],
+ 'Mine' => [
+ 'title' => '是否指派给我',
+ 'description' => '是否指派给我',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'RejectFlag' => [
+ 'title' => '跳过标记',
+ 'description' => '跳过标记',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'FixedFlag' => [
+ 'title' => '失败标记',
+ 'description' => '失败标记',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'AbandonFlag' => [
+ 'title' => '废弃标记',
+ 'description' => '废弃标记',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'AbandonRemark' => [
+ 'title' => '废弃说明',
+ 'description' => '废弃说明',
+ 'type' => 'string',
+ 'example' => '原始数据错误',
+ ],
+ 'Weight' => [
+ 'title' => '权重',
+ 'description' => '权重',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '311011',
+ ],
+ ],
+ ],
+ ],
+ 'DataSource' => [
+ 'title' => '数据源',
+ 'description' => '数据源',
+ 'type' => 'object',
+ 'example' => 'None',
+ ],
+ ],
+ ],
+ 'TaskAssginConfig' => [
+ 'title' => 'A short description of struct',
+ 'description' => '创建分配结构体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AssignType' => [
+ 'title' => '分配类型',
+ 'description' => '任务包的分配规则,取值如下:'."\n"
+ .'- FIXED_SIZE:按固定大小分配。'."\n"
+ .'- AVG_SIZE:按平均数量进行分配。'."\n"
+ .'- FIELD_BASE:按导入字段进行分配。',
+ 'type' => 'string',
+ 'example' => 'FIXED_SIZE',
+ 'default' => 'FIXED_SIZE',
+ 'enum' => [
+ 'FIXED_SIZE',
+ 'AVG_SIZE',
+ 'FIELD_BASE',
+ ],
+ ],
+ 'AssignCount' => [
+ 'title' => '分配数量',
+ 'description' => '分配数量。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'AssignField' => [
+ 'title' => '按照字段进行分配',
+ 'description' => '按照字段进行分配。',
+ 'type' => 'string',
+ 'example' => 'label_field',
+ ],
+ 'AssignSubTaskCount' => [
+ 'title' => '如果选择平均分配;任务包数量',
+ 'description' => '如果选择平均分配;任务包数量。',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ ],
+ ],
+ 'TaskDetail' => [
+ 'title' => 'A short description of struct',
+ 'description' => '任务详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Creator' => [
+ 'title' => '创建人信息',
+ 'description' => '创建人信息。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ 'Modifier' => [
+ 'title' => '修改人信息',
+ 'description' => '修改人信息。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ 'GmtCreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '创建UTC时间。',
+ 'type' => 'string',
+ 'example' => '2022-07-04 11:42:57',
+ ],
+ 'GmtModifiedTime' => [
+ 'title' => '修改时间',
+ 'description' => '修改UTC时间。',
+ 'type' => 'string',
+ 'example' => '2022-08-16 18:38:42',
+ ],
+ 'TaskName' => [
+ 'title' => '任务名称',
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'example' => '测试任务',
+ ],
+ 'TaskId' => [
+ 'title' => '任务ID',
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => '15438***8306500608',
+ ],
+ 'TemplateId' => [
+ 'title' => '模版ID',
+ 'description' => '模板ID。',
+ 'type' => 'string',
+ 'example' => '1529***348342353920',
+ ],
+ 'TaskType' => [
+ 'title' => '任务类型',
+ 'description' => '任务类型。',
+ 'type' => 'string',
+ 'example' => 'NORMAL',
+ ],
+ 'TenantId' => [
+ 'title' => '租户ID',
+ 'description' => '租户ID。',
+ 'type' => 'string',
+ 'example' => 'GA***W134',
+ ],
+ 'Remark' => [
+ 'title' => '备注信息',
+ 'description' => '备注信息。',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'LabelStyle' => [
+ 'title' => '标注样式',
+ 'description' => '标注样式。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'WorkflowNodes' => [
+ 'title' => '工作流结点',
+ 'description' => '工作流节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '节点,可能值:'."\n"
+ .'- MARD:打标。'."\n"
+ .'- CHECK:检查。'."\n"
+ .'- SAMPLING:验收。',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'SAMPLING' => 'SAMPLING',
+ 'CHECK' => 'CHECK',
+ 'MARK' => 'MARK',
+ ],
+ 'example' => 'MARK',
+ ],
+ 'required' => false,
+ ],
+ 'Tags' => [
+ 'title' => '任务标签',
+ 'description' => '任务标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'required' => false,
+ ],
+ 'Archived' => [
+ 'title' => '是否已归档',
+ 'description' => '是否已归档。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Stage' => [
+ 'title' => '当前的结点',
+ 'description' => '当前的结点。可能值:'."\n"
+ .'- MARK:标注中。'."\n"
+ .'- CHECK:检查中。'."\n"
+ .'- SAMPLING:验收中。',
+ 'type' => 'string',
+ 'example' => 'MARK',
+ ],
+ 'ArchivedInfos' => [
+ 'title' => '归档信息',
+ 'description' => '归档信息。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Status' => [
+ 'title' => '任务状态',
+ 'description' => '任务状态。可能值:'."\n"
+ .'- CREATED'."\n"
+ .'- SUCCESS',
+ 'type' => 'string',
+ 'example' => 'CREATED',
+ ],
+ 'RefTaskId' => [
+ 'title' => '周期任务ID',
+ 'description' => '周期任务ID。',
+ 'type' => 'string',
+ 'example' => '12312414',
+ ],
+ 'UUID' => [
+ 'title' => '唯一标识ID',
+ 'description' => '唯一标识ID。',
+ 'type' => 'string',
+ 'example' => 'paiworkspace-0001',
+ ],
+ 'TaskWorkflow' => [
+ 'title' => '任务流配置',
+ 'description' => '任务流配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '任务。',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeName' => [
+ 'title' => '节点名字',
+ 'description' => '节点名称,可能值:'."\n"
+ .'- MARK'."\n"
+ .'- CHECK'."\n"
+ .'- SAMPLING',
+ 'type' => 'string',
+ 'example' => 'MARK',
+ ],
+ 'Exif' => [
+ 'title' => '额外信息',
+ 'description' => '额外信息。',
+ 'type' => 'object',
+ 'example' => 'false',
+ ],
+ 'Users' => [
+ 'title' => '用户列表',
+ 'description' => '用户列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ ],
+ 'Groups' => [
+ 'title' => '组列表',
+ 'description' => '组列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '组。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Exif' => [
+ 'title' => '额外配置',
+ 'description' => '额外配置。',
+ 'type' => 'object',
+ 'example' => 'null',
+ ],
+ 'Admins' => [
+ 'title' => '任务管理员',
+ 'description' => '任务管理员列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ ],
+ 'AssignConfig' => [
+ 'title' => '任务分发配置',
+ 'description' => '任务分发配置。',
+ 'type' => 'object',
+ 'example' => 'null',
+ ],
+ 'TaskTemplateConfig' => [
+ 'title' => '任务模版补充配置',
+ 'description' => '任务模版补充配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Exif' => [
+ 'title' => '模版配置额外信息',
+ 'description' => '模版配置额外信息。',
+ 'type' => 'object',
+ 'example' => 'false',
+ ],
+ 'TemplateOptionMap' => [
+ 'title' => '选项配置',
+ 'description' => '选项配置。',
+ 'type' => 'object',
+ 'example' => '{"1":[{"label":"label1","key":"label1"}]}',
+ ],
+ 'SelectQuestions' => [
+ 'title' => '任务的题目小于模版可以选择需要的题目title',
+ 'description' => '任务的题目小于模版可以选择需要的题目列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '题目。',
+ 'type' => 'string',
+ 'example' => '["question1"]',
+ ],
+ ],
+ 'RobotConfig' => [
+ 'title' => '机器人配置',
+ 'description' => '机器人配置。',
+ 'type' => 'object',
+ 'example' => 'null',
+ ],
+ 'TemplateRelationId' => [
+ 'title' => '模板关系ID',
+ 'description' => '模板关系ID。',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'ResourceKey' => [
+ 'title' => '资源Key',
+ 'description' => '资源Key。',
+ 'type' => 'string',
+ 'example' => 'picture1',
+ ],
+ ],
+ ],
+ 'TenantName' => [
+ 'title' => '租户名',
+ 'description' => '租户名。',
+ 'type' => 'string',
+ 'example' => '测试任务202208101424',
+ ],
+ 'DatasetProxyRelations' => [
+ 'title' => '数据代理关系',
+ 'description' => '数据代理关系列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据代理。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DatasetId' => [
+ 'title' => '数据集ID',
+ 'description' => '数据集ID。',
+ 'type' => 'string',
+ 'example' => '102***124',
+ ],
+ 'Source' => [
+ 'title' => '数据集来源',
+ 'description' => '数据集来源。',
+ 'type' => 'string',
+ 'example' => 'PAI',
+ ],
+ 'SourceBizId' => [
+ 'title' => '来源业务ID',
+ 'description' => '来源业务ID。',
+ 'type' => 'string',
+ 'example' => 'd-24eyimdzdn4a98jktk',
+ ],
+ 'DatasetType' => [
+ 'title' => '数据集类型',
+ 'description' => '数据集类型。',
+ 'type' => 'string',
+ 'example' => 'LABEL',
+ ],
+ 'Exif' => [
+ 'title' => '额外信息',
+ 'description' => '额外信息。',
+ 'type' => 'object',
+ 'example' => 'false',
+ ],
+ 'SourceDatasetId' => [
+ 'title' => '来源数据集ID',
+ 'description' => '来源数据集ID。',
+ 'type' => 'string',
+ 'example' => '2312124',
+ ],
+ ],
+ ],
+ ],
+ 'AllowAppendData' => [
+ 'title' => '是否允许追加数据',
+ 'description' => '是否允许追加数据。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RelateTaskConfig' => [
+ 'title' => '关系任务配置',
+ 'description' => '关系任务配置。',
+ 'type' => 'object',
+ 'example' => 'null',
+ ],
+ 'PeriodConfig' => [
+ 'title' => '时间配置',
+ 'description' => '时间配置。',
+ 'type' => 'object',
+ 'example' => '{"periodConfigId":"","status":""}',
+ ],
+ 'MineConfigs' => [
+ 'title' => '我的配置',
+ 'description' => '我的配置。',
+ 'type' => 'object',
+ 'example' => 'null',
+ ],
+ 'VoteConfigs' => [
+ 'title' => '投票配置',
+ 'description' => '投票配置。',
+ 'type' => 'object',
+ 'example' => '{"1":{"VoteNum":1,"MinVote":1}}',
+ ],
+ 'NoticeConfig' => [
+ 'title' => 'Notice配置',
+ 'description' => 'Notice配置。',
+ 'type' => 'object',
+ 'example' => '{"DingHook":"","ListenActions":[],"SubTaskAlertGap":""}',
+ ],
+ 'ResultCallbackConfig' => [
+ 'title' => '结果回调配置',
+ 'description' => '结果回调配置。',
+ 'type' => 'object',
+ 'example' => '{"RetMsgMode":"","Exif":{}}',
+ ],
+ 'runMsg' => [
+ 'title' => '运行消息',
+ 'description' => '运行消息。',
+ 'type' => 'string',
+ 'example' => 'xxxxx',
+ ],
+ 'AlertTime' => [
+ 'title' => '提醒时间',
+ 'description' => '提醒时间。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12412312',
+ ],
+ ],
+ ],
+ 'TaskStatistic' => [
+ 'title' => 'A short description of struct',
+ 'description' => '任务统计信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalItemCount' => [
+ 'title' => '总的Item数量',
+ 'description' => '总的数据项',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ 'default' => '0',
+ ],
+ 'TotalSubtaskCount' => [
+ 'title' => '总的Subtask数量',
+ 'description' => '总的子任务数量',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'minimum' => '0',
+ 'example' => '3',
+ 'default' => '0',
+ ],
+ 'FinishedItemCount' => [
+ 'title' => '完成的Item数量',
+ 'description' => '完成的数据项',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ ],
+ 'FinishedSubtaskCount' => [
+ 'title' => '完成的Subtask数量',
+ 'description' => '完成的子任务数量',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ ],
+ 'FinalAbandonCount' => [
+ 'title' => '废弃Item数量',
+ 'description' => '废弃数据项',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'PreMarkFixedCount' => [
+ 'title' => '预标注订正数量',
+ 'description' => '预标注订正数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'minimum' => '0',
+ 'example' => '0',
+ 'default' => '0',
+ ],
+ 'AcceptItemCount' => [
+ 'title' => '通过的item数量',
+ 'description' => '通过的数据项',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'TotalCheckedCount' => [
+ 'title' => '总的检查数量',
+ 'description' => '总的检查数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'CheckedError' => [
+ 'title' => '检查流程发现错误数量',
+ 'description' => '检查流程发现错误数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'CheckAbandon' => [
+ 'title' => '检查流程废弃数量',
+ 'description' => '检查流程废弃数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'CheckedAccuracy' => [
+ 'title' => '检查准确率',
+ 'description' => '检查准确率',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'minimum' => '0',
+ 'example' => '0',
+ 'default' => '0.0',
+ ],
+ 'CheckedRejectCount' => [
+ 'title' => '检查数量',
+ 'description' => '检查数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'TotalSampledCount' => [
+ 'title' => '总的抽样数量',
+ 'description' => '总的抽样数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'SampledErrorCount' => [
+ 'title' => '抽样错误错误样本数量',
+ 'description' => '抽样错误样本数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'SampledRejectCount' => [
+ 'title' => '抽样被拒绝数量',
+ 'description' => '抽样被拒绝数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'SampledAccuracy' => [
+ 'title' => '抽样准确率',
+ 'description' => '抽样准确率',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'minimum' => '0',
+ 'example' => '0',
+ 'default' => '0.0',
+ ],
+ 'TotalSamplingCount' => [
+ 'title' => '总的抽样验收数量',
+ 'description' => '总的抽样验收数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'TotalCheckCount' => [
+ 'title' => '总的检查环节数量',
+ 'description' => '总的检查环节数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'TotalWorkTime' => [
+ 'title' => '总的工作时间(小时)',
+ 'description' => '总的工作时间(小时)',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'TotalMarkTime' => [
+ 'title' => '标注环节总时间(小时CheckEfficiency)',
+ 'description' => '标注环节总时间(小时)',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'minimum' => '0',
+ 'example' => '0',
+ 'default' => '0.0',
+ ],
+ 'MarkEfficiency' => [
+ 'title' => '标注效率(个/小时)',
+ 'description' => '标注效率(个/小时)',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ ],
+ 'TotalCheckTime' => [
+ 'title' => '总检查时间(小时)',
+ 'description' => '总检查时间(小时)',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0',
+ 'default' => '0.0',
+ ],
+ 'CheckEfficiency' => [
+ 'title' => '检查环节效率(个/小时)',
+ 'description' => '检查环节效率(个/小时)',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'minimum' => '0',
+ 'example' => '0',
+ 'default' => '0.0',
+ ],
+ 'SamplingAccuracy' => [
+ 'title' => '采样精度',
+ 'description' => '采样精度',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'minimum' => '0',
+ 'example' => '0',
+ 'default' => '0.0',
+ ],
+ 'CheckAccuracy' => [
+ 'title' => '检查精度',
+ 'description' => '检查精度',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'minimum' => '0',
+ 'example' => '0',
+ 'default' => '0.0',
+ ],
+ ],
+ ],
+ 'TaskTemplateConfig' => [
+ 'title' => 'A short description of struct',
+ 'description' => '任务模板补充配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Exif' => [
+ 'title' => '拓展字段',
+ 'description' => '模板配置额外信息。',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'description' => '模板配置额外信息。',
+ 'type' => 'string',
+ 'example' => 'false',
+ ],
+ ],
+ 'TemplateOptionMap' => [
+ 'title' => '通用模版选项配置',
+ 'description' => '模板选项配置。',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'description' => '任务模板选项配置。',
+ 'example' => '{"1":[{"label":"Option-A","key":"Option-A"},{"label":"Option-A","key":"Option-A"}]}',
+ '$ref' => '#/components/schemas/TaskTemplateOptionConfig',
+ ],
+ ],
+ 'SelectQuestions' => [
+ 'title' => '如果只需要模版部分题目;题目名称',
+ 'description' => '模板部分题目列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '题目。',
+ 'type' => 'string',
+ 'example' => '["question1","question2"]',
+ ],
+ ],
+ 'TemplateRelationId' => [
+ 'title' => '依赖的模版ID',
+ 'description' => '依赖的模板ID。',
+ 'type' => 'string',
+ 'example' => '154***2391839854592',
+ ],
+ 'ResourceKey' => [
+ 'title' => 'View对应的展示字段',
+ 'description' => 'View对应的展示字段。',
+ 'type' => 'string',
+ 'example' => 'url',
+ ],
+ ],
+ ],
+ 'TaskTemplateOptionConfig' => [
+ 'title' => 'A short description of struct',
+ 'description' => '通用模版(COMMON)题目配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultResult' => [
+ 'title' => 'DefaultResult',
+ 'description' => '默认值需要根据题目进行适配,若是单选或文本框则直接填写标签值;若是多选,则配置为["{标签 1}", "{标签 2}"]。',
+ 'type' => 'string',
+ 'example' => '猫咪',
+ ],
+ 'Rule' => [
+ 'title' => 'Rule',
+ 'description' => '校验规则项;针对文本类填空题目有效。',
+ 'type' => 'string',
+ 'example' => '\\w+',
+ ],
+ 'PreOptions' => [
+ 'title' => 'PreOptions',
+ 'description' => '文本类题目预制选项列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本选项。',
+ 'type' => 'string',
+ 'example' => 'options',
+ ],
+ ],
+ 'Options' => [
+ 'title' => 'Options',
+ 'description' => '选择题目选项列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '题目选项。',
+ '$ref' => '#/components/schemas/QuestionOption',
+ ],
+ ],
+ ],
+ ],
+ 'TemplateDTO' => [
+ 'title' => 'A short description of struct',
+ 'description' => '模版基础结构',
+ 'type' => 'object',
+ 'properties' => [
+ 'TemplateName' => [
+ 'title' => 'TemplateName',
+ 'description' => '模板名称',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'demo',
+ ],
+ 'Description' => [
+ 'title' => '模版描述',
+ 'description' => '模版描述',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'Exif' => [
+ 'title' => '模版额外信息',
+ 'description' => '模版额外信息',
+ 'type' => 'object',
+ 'example' => 'false',
+ ],
+ 'Tags' => [
+ 'title' => '标签信息',
+ 'description' => '标签信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签',
+ 'type' => 'string',
+ 'example' => 'TEXT',
+ ],
+ ],
+ 'ViewConfigs' => [
+ 'title' => '视图层配置',
+ 'description' => '视图层配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'ViewPlugins' => [
+ 'title' => '视图组件',
+ 'description' => '视图组件列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '视图',
+ 'required' => false,
+ '$ref' => '#/components/schemas/ViewPlugin',
+ ],
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'QuestionConfigs' => [
+ 'title' => '题目组件配置',
+ 'description' => '题目组件配置列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '参考',
+ '$ref' => '#/components/schemas/QuestionPlugin',
+ ],
+ 'required' => true,
+ ],
+ 'Classify' => [
+ 'title' => '模板分类',
+ 'description' => '模板分类',
+ 'type' => 'string',
+ 'example' => 'picture',
+ ],
+ 'SharedMode' => [
+ 'title' => '模板共享模式',
+ 'description' => '模板共享模式',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'RobotConfigs' => [
+ 'title' => '只能辅助标注配置',
+ 'description' => '辅助标注配置列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '辅助',
+ 'type' => 'object',
+ 'example' => '{ "RobotId": "00001", "QuestionId": 1, "Stage": "LABEL", "Params": {}, "Type": "HTTP_SERVICE", "ResultPath": "content.label.url", "DefaultResult": "1" }',
+ ],
+ ],
+ 'TemplateId' => [
+ 'title' => '模板ID',
+ 'description' => '模板ID',
+ 'type' => 'string',
+ 'example' => '1529***48342353920',
+ ],
+ ],
+ ],
+ 'TemplateDetail' => [
+ 'title' => 'A short description of struct',
+ 'description' => '模板详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2021-07-07 16:09:20',
+ ],
+ 'GmtModifiedTime' => [
+ 'title' => '修改时间',
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2021-07-07 16:09:20',
+ ],
+ 'TemplateId' => [
+ 'title' => '模版ID',
+ 'description' => '模板ID。',
+ 'type' => 'string',
+ 'example' => '1529***48342353920',
+ ],
+ 'TemplateName' => [
+ 'title' => 'TemplateName',
+ 'description' => '模板名称。',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'Description' => [
+ 'title' => '模版描述',
+ 'description' => '模板描述。',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'Exif' => [
+ 'title' => '模版额外信息',
+ 'description' => '模板额外信息。',
+ 'type' => 'object',
+ 'example' => 'false',
+ ],
+ 'Status' => [
+ 'title' => '模版状态',
+ 'description' => '模板状态。',
+ 'type' => 'string',
+ 'example' => 'CREATED',
+ ],
+ 'Tags' => [
+ 'title' => '标签信息',
+ 'description' => '标签信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ ],
+ 'AbandonReasons' => [
+ 'title' => '废弃原因',
+ 'description' => '废弃原因。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '原因。',
+ 'type' => 'string',
+ 'example' => 'error',
+ ],
+ ],
+ 'Type' => [
+ 'title' => '模版类型',
+ 'description' => '模板类型。',
+ 'type' => 'string',
+ 'example' => 'picture',
+ ],
+ 'QuestionConfigs' => [
+ 'title' => '题目组件配置',
+ 'description' => '题目组件配置。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '题目。',
+ '$ref' => '#/components/schemas/QuestionPlugin',
+ ],
+ ],
+ 'Creator' => [
+ 'description' => '创建者。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ 'Modifier' => [
+ 'description' => '修改者。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ 'Classify' => [
+ 'title' => '模板分类',
+ 'description' => '模板分类。',
+ 'type' => 'string',
+ 'example' => 'picture',
+ ],
+ 'TenantId' => [
+ 'title' => '模板所在租户',
+ 'description' => '模板所在租户。',
+ 'type' => 'string',
+ 'example' => 'GA***W134',
+ ],
+ 'SharedMode' => [
+ 'title' => '模板共享模式',
+ 'description' => '模板共享模式。',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'ViewConfigs' => [
+ 'title' => '视图层配置',
+ 'description' => '视图层配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ViewPlugins' => [
+ 'title' => '视图组件',
+ 'description' => '视图组件。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '视图。',
+ '$ref' => '#/components/schemas/ViewPlugin',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'TemplateQuestion' => [
+ 'title' => 'A short description of struct',
+ 'description' => '模板题目',
+ 'type' => 'object',
+ 'properties' => [
+ 'QuestionId' => [
+ 'title' => '题目ID',
+ 'description' => '题目ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'MarkTitle' => [
+ 'title' => '标题',
+ 'description' => '标题',
+ 'type' => 'string',
+ 'example' => '题目1',
+ ],
+ 'Type' => [
+ 'title' => '类型',
+ 'description' => '类型,包括如下:'."\n"
+ .'- TEXT_EDIT'."\n"
+ .'- CHECKBOX'."\n"
+ .'- INPUT'."\n"
+ .'- PICTURE'."\n"
+ .'- VIDEO'."\n"
+ .'- OPEN_ENDED'."\n"
+ .'- SLOT'."\n"
+ .'- RADIO',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'TEXT_EDIT' => 'TEXT_EDIT',
+ 'CHECKBOX' => 'CHECKBOX',
+ 'INPUT' => 'INPUT',
+ 'PICTURE' => 'PICTURE',
+ 'VIDEO' => 'VIDEO',
+ 'OPEN_ENDED' => 'OPEN_ENDED',
+ 'SLOT' => 'SLOT',
+ 'RADIO' => 'RADIO',
+ ],
+ 'example' => 'RADIO',
+ ],
+ 'PreOptions' => [
+ 'title' => '预填值',
+ 'description' => '预填值列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '预填',
+ 'type' => 'string',
+ 'example' => '预置选项',
+ ],
+ ],
+ 'Options' => [
+ 'title' => '选项',
+ 'description' => '选项列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '选项',
+ '$ref' => '#/components/schemas/QuestionOption',
+ ],
+ ],
+ 'Exif' => [
+ 'title' => '额外属性',
+ 'description' => '额外属性',
+ 'type' => 'object',
+ 'example' => 'null',
+ ],
+ 'Children' => [
+ 'title' => '子节点',
+ 'description' => '子节点列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '子节点',
+ '$ref' => '#/components/schemas/TemplateQuestion',
+ ],
+ ],
+ ],
+ ],
+ 'TemplateView' => [
+ 'title' => 'A short description of struct',
+ 'description' => '模板题目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Fields' => [
+ 'title' => '视图列表',
+ 'description' => '视图列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '视图',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '视图类型',
+ 'description' => '视图类型',
+ 'type' => 'string',
+ 'example' => 'IMG',
+ ],
+ 'FieldName' => [
+ 'title' => '绑定字段名称',
+ 'description' => '绑定字段名称',
+ 'type' => 'string',
+ 'example' => 'url',
+ ],
+ 'DisplayOriImg' => [
+ 'title' => '是否展示原图',
+ 'description' => '是否展示原图',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'VisitInfo' => [
+ 'title' => '访问信息',
+ 'description' => '访问信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'OssConf' => [
+ 'title' => 'OSS配置',
+ 'description' => 'OSS配置',
+ 'type' => 'object',
+ 'example' => '{"ossEndpoint":"***","ossAk":"***","ossAs":"***","ossOwner":"","ossBucket":""}',
+ ],
+ 'AftsConf' => [
+ 'title' => 'Afts配置',
+ 'description' => 'Afts配置',
+ 'type' => 'object',
+ 'example' => '{"expiredTime":20}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateTaskDTO' => [
+ 'title' => 'A short description of struct',
+ 'description' => '更新任务信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskName' => [
+ 'title' => '任务名称',
+ 'description' => '任务名称',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'Exif' => [
+ 'title' => '拓展字段',
+ 'description' => '拓展字段',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'description' => '拓展字段',
+ 'type' => 'string',
+ 'example' => 'false',
+ ],
+ ],
+ 'Tags' => [
+ 'title' => '标签',
+ 'description' => '标签列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签',
+ 'type' => 'string',
+ 'example' => 'TEXT',
+ ],
+ ],
+ 'Remark' => [
+ 'title' => '备注信息',
+ 'description' => '备注信息',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ ],
+ ],
+ 'UserStatistic' => [
+ 'title' => '人力统计',
+ 'description' => '人力统计',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户ID',
+ 'description' => '用户ID',
+ 'type' => 'string',
+ 'example' => '166***9980757311',
+ ],
+ 'TotalMarkItemsCount' => [
+ 'title' => '总Items数',
+ 'description' => '总数据项',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '172',
+ ],
+ 'AcceptedMarkItemsCount' => [
+ 'title' => '通过Items数',
+ 'description' => '通过数据项',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '172',
+ ],
+ 'MarkTime' => [
+ 'title' => '标注时常;单位:小时',
+ 'description' => '标注时长。单位:小时',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0.1',
+ ],
+ 'MarkEfficiency' => [
+ 'title' => '标注效率;标注效率 = 标注量/标注时长 (含驳回);个/小时;',
+ 'description' => '标注效率。单位:个/小时'."\n"
+ .'标注效率 = 标注量/标注时长 (含驳回)',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0.1',
+ ],
+ 'CheckCount' => [
+ 'title' => '总的检查数',
+ 'description' => '总的检查数',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '140',
+ ],
+ 'CheckedAcceptedCount' => [
+ 'title' => '检查通过数量',
+ 'description' => '检查通过数量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '100',
+ ],
+ 'CheckedAccuracy' => [
+ 'title' => '检查准确率; 检查准确率 = 被检查错误量/被检查量',
+ 'description' => '检查准确率。'."\n"
+ .'检查准确率 = 被检查错误量/被检查量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '95.33',
+ ],
+ 'SamplingAccuracy' => [
+ 'title' => '抽样准确率; 被验收准确率 = 被验收错误量/被验收量',
+ 'description' => '抽样准确率。'."\n"
+ .'被验收准确率 = 被验收错误量/被验收量',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '84.92',
+ ],
+ 'SamplingCount' => [
+ 'title' => '抽样总数',
+ 'description' => '抽样总数',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '1',
+ ],
+ 'SamplingErrorCount' => [
+ 'title' => '抽样错误数',
+ 'description' => '抽样错误数',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'ViewPlugin' => [
+ 'title' => 'A short description of struct',
+ 'description' => '视图层组件。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '组件类型',
+ 'description' => '组件类型,取值如下:'."\n"
+ .'- Image:图片。'."\n"
+ .'- Text:文本。'."\n"
+ .'- Video:视频。'."\n"
+ .'- Audio:音频。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Text',
+ ],
+ 'CorsProxy' => [
+ 'title' => '是否处理跨域',
+ 'description' => '是否处理跨域。',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'true',
+ ],
+ 'RelationQuestionIds' => [
+ 'title' => '关联题目ID',
+ 'description' => '关联题目列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '题目。',
+ 'type' => 'string',
+ 'example' => '关联题目的ID',
+ ],
+ 'required' => false,
+ ],
+ 'Hide' => [
+ 'title' => '是否隐藏',
+ 'description' => '是否隐藏。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'VisitInfo' => [
+ 'title' => '访问信息',
+ 'description' => '访问信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ossConf' => [
+ 'title' => 'OSS配置',
+ 'description' => 'OSS配置。',
+ 'type' => 'object',
+ 'example' => '{"ossEndpoint":"","ossAk":"","ossAs":"","ossOwner":"","ossBucket":"","folder":"","expiredTime":""}',
+ ],
+ 'aftsConf' => [
+ 'title' => 'AFTS配置',
+ 'description' => 'AFTS配置。',
+ 'type' => 'object',
+ 'example' => '{"expiredTime":1}',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'Convertor' => [
+ 'title' => '数组转换udf',
+ 'description' => '数组转换udf。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'Plugins' => [
+ 'title' => '嵌套组件',
+ 'description' => '嵌套组件。',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ 'Exif' => [
+ 'title' => '额外信息',
+ 'description' => '额外信息。',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ 'BindField' => [
+ 'title' => '字段映射到数据集中字段',
+ 'description' => '字段映射到数据集中字段。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'url',
+ ],
+ 'DisplayOriImg' => [
+ 'title' => '是否展示原图',
+ 'description' => '是否展示原图。',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'true',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'Workforce' => [
+ 'description' => '人力',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeType' => [
+ 'title' => '结点名称',
+ 'description' => '结点名称。'."\n"
+ .'取值包括:SAMPLING、CHECK、MARK。',
+ 'type' => 'string',
+ 'enumValueTitles' => [],
+ 'example' => 'CHECK',
+ ],
+ 'WorkNodeId' => [
+ 'title' => '结点ID',
+ 'description' => '结点ID',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'Users' => [
+ 'title' => '人员信息',
+ 'description' => '人员信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '租户用户信息',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'apis' => [
+ 'ListTenants' => [
+ 'summary' => '查询阿里云账号下的iTAG租户。',
+ 'path' => '/openapi/api/v1/tenants',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '146580',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页查询时设置的每页显示的租户数量,默认为20。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '租户列表的页码。起始值为1,默认为1。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '执行结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => '-',
+ ],
+ 'Success' => [
+ 'description' => '请求是否成功,可能值:'."\n"
+ .'- true:请求成功。'."\n"
+ .'- false:请求失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PageNumber' => [
+ 'description' => '返回查询的租户列表的页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '返回每页显示的租户数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'TotalPage' => [
+ 'description' => '租户列表总页数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '租户总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '22',
+ ],
+ 'Tenants' => [
+ 'description' => '租户列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '租户。',
+ '$ref' => '#/components/schemas/SimpleTenant',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '返回的错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"-\\",\\n \\"Success\\": true,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 2,\\n \\"TotalCount\\": 22,\\n \\"Tenants\\": [\\n {\\n \\"Creator\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"GmtCreateTime\\": \\"\\",\\n \\"GmtModifiedTime\\": \\"\\",\\n \\"TenantId\\": \\"\\",\\n \\"TenantName\\": \\"\\",\\n \\"UUID\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Role\\": \\"\\",\\n \\"Modifier\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n }\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<ListTenantsResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalPage>2</TotalPage>\\n <TotalCount>22</TotalCount>\\n <Tenants>\\n <Creator>\\n <AccountType>BUC</AccountType>\\n </Creator>\\n <Modifier>\\n <AccountType>BUC</AccountType>\\n </Modifier>\\n </Tenants>\\n</ListTenantsResponse>","errorExample":""}]',
+ 'title' => '租户列表查询',
+ ],
+ 'GetTenant' => [
+ 'summary' => '查询iTAG租户的相关信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '146607',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => '-',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:请求成功。'."\n"
+ .'- false:请求失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Tenant' => [
+ 'description' => '租户信息。',
+ '$ref' => '#/components/schemas/SingleTenant',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '-',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"-\\",\\n \\"Success\\": true,\\n \\"Tenant\\": {\\n \\"Description\\": \\"\\",\\n \\"TenantName\\": \\"\\",\\n \\"UUID\\": \\"\\",\\n \\"TenantId\\": \\"\\",\\n \\"Status\\": \\"\\"\\n },\\n \\"ErrorCode\\": \\"-\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTenantResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <Tenant/>\\n</GetTenantResponse>","errorExample":""}]',
+ 'title' => '查询租户信息',
+ ],
+ 'UpdateTenant' => [
+ 'summary' => '修改iTAG租户的相关信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'multipart/form-data',
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '146807',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何查询租户ID,请参见[ListTenants](~~454649~~) 。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TenantName' => [
+ 'description' => '租户名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试任务202208101424',
+ ],
+ 'Description' => [
+ 'description' => '租户介绍。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'demo',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:表示请求成功。'."\n"
+ .'- false:表示请求失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateTenantResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n</UpdateTenantResponse>","errorExample":""}]',
+ 'title' => '修改租户信息',
+ ],
+ 'ListTemplates' => [
+ 'summary' => '展示当前租户的模板列表。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/templates',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147791',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenants租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GAR***134',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '页面标号',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'example' => '1',
+ 'default' => '0',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '页面大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '20',
+ 'minimum' => '1',
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'SearchKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '搜索内容',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'demo',
+ ],
+ ],
+ [
+ 'name' => 'Types',
+ 'in' => 'query',
+ 'style' => 'simple',
+ 'schema' => [
+ 'description' => '应用类型列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '类型,包括如下:'."\n"
+ .'- COMMON'."\n"
+ .'- CUSTOM',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CUSTOM',
+ 'default' => 'CUSTOM',
+ 'enum' => [
+ 'COMMON',
+ 'CUSTOM',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PageNumber' => [
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '单页大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'TotalPage' => [
+ 'description' => '总页数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '22',
+ ],
+ 'Templates' => [
+ 'description' => '模板列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '模板',
+ '$ref' => '#/components/schemas/SimpleTemplate',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 2,\\n \\"TotalCount\\": 22,\\n \\"Templates\\": [\\n {\\n \\"TemplateId\\": \\"1546741431673270272\\",\\n \\"TemplateName\\": \\"图片分割组合77aa\\",\\n \\"TenantId\\": \\"GARDAW134\\",\\n \\"Description\\": \\"\\",\\n \\"Status\\": \\"DRAFT\\",\\n \\"Tags\\": [\\n \\"\\"\\n ],\\n \\"SharedMode\\": \\"None\\",\\n \\"AbandonReasons\\": \\"None\\",\\n \\"Type\\": \\"CUSTOM\\",\\n \\"GmtCreateTime\\": \\"2022-07-12 14:21:08\\",\\n \\"GmtModifiedTime\\": \\"2022-07-12 14:21:08\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<ListTemplatesResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalPage>2</TotalPage>\\n <TotalCount>22</TotalCount>\\n <Templates>\\n <TemplateId>1546741431673270272</TemplateId>\\n <TemplateName>图片分割组合77aa</TemplateName>\\n <TenantId>GARDAW134</TenantId>\\n <Status>DRAFT</Status>\\n <SharedMode>None</SharedMode>\\n <AbandonReasons>None</AbandonReasons>\\n <Type>CUSTOM</Type>\\n <GmtCreateTime>2022-07-12 14:21:08</GmtCreateTime>\\n <GmtModifiedTime>2022-07-12 14:21:08</GmtModifiedTime>\\n </Templates>\\n</ListTemplatesResponse>","errorExample":""}]',
+ 'title' => '模板列表展示',
+ ],
+ 'CreateTemplate' => [
+ 'summary' => '您可以为当前租户添加新的模板,并根据自身的业务需求自定义标注模板。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/templates',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147794',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何查询租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GAR***134',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => [
+ 'description' => '模板信息。',
+ 'required' => true,
+ '$ref' => '#/components/schemas/TemplateDTO',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => '-',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:表示请求成功。'."\n"
+ .'- false:表示请求失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TemplateId' => [
+ 'description' => '模板ID。',
+ 'type' => 'string',
+ 'example' => '152***0348342353920',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '-',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"-\\",\\n \\"Success\\": true,\\n \\"TemplateId\\": \\"152***0348342353920\\",\\n \\"ErrorCode\\": \\"-\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateTemplateResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <TemplateId>1529360348342353920</TemplateId>\\n</CreateTemplateResponse>","errorExample":""}]',
+ 'title' => '新增模板',
+ ],
+ 'UpdateTemplate' => [
+ 'summary' => '修改当前租户下的模板。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/templates/{TemplateId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '149690',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '模板id,可在iTAG的模板管理中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '152***0348342353920',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => [
+ 'description' => '模板',
+ 'required' => false,
+ '$ref' => '#/components/schemas/TemplateDTO',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TemplateId' => [
+ 'description' => '模板id',
+ 'type' => 'string',
+ 'example' => '1529360348342353920',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"TemplateId\\": \\"1529360348342353920\\",\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateTemplateResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <TemplateId>1529360348342353920</TemplateId>\\n</UpdateTemplateResponse>","errorExample":""}]',
+ 'title' => '修改模版',
+ ],
+ 'DeleteTemplate' => [
+ 'summary' => '删除当前租户下的模板。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/templates/{TemplateId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '148615',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '模板id,可在iTAG的模板管理中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1529***348342353920',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TemplateId' => [
+ 'description' => '模板id',
+ 'type' => 'string',
+ 'example' => '152***348342353920',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Success\\": true,\\n \\"TemplateId\\": \\"152***348342353920\\",\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteTemplateResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <TemplateId>1529360348342353920</TemplateId>\\n</DeleteTemplateResponse>","errorExample":""}]',
+ 'title' => '删除模板',
+ ],
+ 'GetTemplateView' => [
+ 'summary' => '查询模版中图片、文本、音频等展示信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/templates/{TemplateId}/views',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147878',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '模板id,可在iTAG的模板管理中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1529***348342353920',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ViewConfigs' => [
+ 'description' => '数据展示配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'ViewPlugins' => [
+ 'description' => '数据展示配置插件列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据展示',
+ '$ref' => '#/components/schemas/ViewPlugin',
+ ],
+ ],
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Success\\": true,\\n \\"ViewConfigs\\": {\\n \\"ViewPlugins\\": [\\n {\\n \\"Type\\": \\"\\",\\n \\"CorsProxy\\": true,\\n \\"RelationQuestionIds\\": [\\n \\"题目ID\\"\\n ],\\n \\"Hide\\": true,\\n \\"VisitInfo\\": {\\n \\"ossConf\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"aftsConf\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"Convertor\\": \\"\\",\\n \\"Plugins\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"BindField\\": \\"\\",\\n \\"DisplayOriImg\\": true\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTemplateViewResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <ViewConfigs>\\n <ViewPlugins>\\n <RelationQuestionIds>题目ID</RelationQuestionIds>\\n <VisitInfo/>\\n </ViewPlugins>\\n </ViewConfigs>\\n</GetTemplateViewResponse>","errorExample":""}]',
+ 'title' => '查询模板展示信息',
+ ],
+ 'GetTemplateQuestions' => [
+ 'summary' => '查询模版中的单选、多选等题目信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/templates/{TemplateId}/questions',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '148541',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '模版ID',
+ 'description' => '模板id,可在iTAG的模板管理中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1529***348342353920',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'QuestionConfigs' => [
+ 'description' => '问题配置列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '配置问题',
+ '$ref' => '#/components/schemas/QuestionPlugin',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"QuestionConfigs\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": []\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTemplateQuestionsResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <QuestionConfigs>\\n <MarkTitle>内部单选</MarkTitle>\\n <MarkTitleAlias>None</MarkTitleAlias>\\n <Type>RADIO</Type>\\n <MustFill>false</MustFill>\\n <Display>true</Display>\\n <Selected>false</Selected>\\n <SelectGroup>None</SelectGroup>\\n <DefaultResult>None</DefaultResult>\\n <Rule>None</Rule>\\n <CanSelect>false</CanSelect>\\n <Children>\\n <MarkTitle>内部单选</MarkTitle>\\n <MarkTitleAlias>None</MarkTitleAlias>\\n <Type>RADIO</Type>\\n <MustFill>false</MustFill>\\n <Display>true</Display>\\n <Selected>false</Selected>\\n <SelectGroup>None</SelectGroup>\\n <DefaultResult>None</DefaultResult>\\n <Rule>None</Rule>\\n <CanSelect>false</CanSelect>\\n <Options>\\n <Children/>\\n </Options>\\n <HotKeyMap>None</HotKeyMap>\\n </Children>\\n <Options>\\n <Children/>\\n </Options>\\n <HotKeyMap>None</HotKeyMap>\\n </QuestionConfigs>\\n</GetTemplateQuestionsResponse>","errorExample":""}]',
+ 'title' => '查询模板题目信息',
+ ],
+ 'GetTemplate' => [
+ 'summary' => '查询租户下的模版信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/templates/{TemplateId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147816',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '模板id,可在iTAG的模板管理中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1529***348342353920',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情id',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Template' => [
+ 'description' => '模板',
+ '$ref' => '#/components/schemas/TemplateDetail',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"Template\\": {\\n \\"GmtCreateTime\\": \\"\\",\\n \\"GmtModifiedTime\\": \\"\\",\\n \\"TemplateId\\": \\"\\",\\n \\"TemplateName\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Status\\": \\"\\",\\n \\"Tags\\": [\\n \\"\\"\\n ],\\n \\"AbandonReasons\\": [\\n \\"\\"\\n ],\\n \\"Type\\": \\"\\",\\n \\"QuestionConfigs\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": []\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Creator\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"Modifier\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"Classify\\": \\"\\",\\n \\"TenantId\\": \\"\\",\\n \\"SharedMode\\": \\"\\",\\n \\"ViewConfigs\\": {\\n \\"ViewPlugins\\": [\\n {\\n \\"Type\\": \\"\\",\\n \\"CorsProxy\\": true,\\n \\"RelationQuestionIds\\": [\\n \\"题目ID\\"\\n ],\\n \\"Hide\\": true,\\n \\"VisitInfo\\": {\\n \\"ossConf\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"aftsConf\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"Convertor\\": \\"\\",\\n \\"Plugins\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"BindField\\": \\"\\",\\n \\"DisplayOriImg\\": true\\n }\\n ]\\n }\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTemplateResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <Template>\\n <QuestionConfigs>\\n <MarkTitle>内部单选</MarkTitle>\\n <MarkTitleAlias>None</MarkTitleAlias>\\n <Type>RADIO</Type>\\n <MustFill>false</MustFill>\\n <Display>true</Display>\\n <Selected>false</Selected>\\n <SelectGroup>None</SelectGroup>\\n <DefaultResult>None</DefaultResult>\\n <Rule>None</Rule>\\n <CanSelect>false</CanSelect>\\n <Children>\\n <MarkTitle>内部单选</MarkTitle>\\n <MarkTitleAlias>None</MarkTitleAlias>\\n <Type>RADIO</Type>\\n <MustFill>false</MustFill>\\n <Display>true</Display>\\n <Selected>false</Selected>\\n <SelectGroup>None</SelectGroup>\\n <DefaultResult>None</DefaultResult>\\n <Rule>None</Rule>\\n <CanSelect>false</CanSelect>\\n <Options>\\n <Children/>\\n </Options>\\n <HotKeyMap>None</HotKeyMap>\\n </Children>\\n <Options>\\n <Children/>\\n </Options>\\n <HotKeyMap>None</HotKeyMap>\\n </QuestionConfigs>\\n <Creator>\\n <AccountType>BUC</AccountType>\\n </Creator>\\n <Modifier>\\n <AccountType>BUC</AccountType>\\n </Modifier>\\n <ViewConfigs>\\n <ViewPlugins>\\n <RelationQuestionIds>题目ID</RelationQuestionIds>\\n <VisitInfo/>\\n </ViewPlugins>\\n </ViewConfigs>\\n </Template>\\n</GetTemplateResponse>","errorExample":""}]',
+ 'title' => '查询模板信息',
+ ],
+ 'AppendAllDataToTask' => [
+ 'summary' => '任务追加数据。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/appendAllDataToTask',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '212667',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GAR***134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***518306500608',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => [
+ 'description' => '参数。',
+ 'required' => false,
+ '$ref' => '#/components/schemas/OpenDatasetProxyAppendDataRequest',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null'."\n",
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","type":"json"}]',
+ 'title' => '追加数据',
+ ],
+ 'ListTasks' => [
+ 'summary' => '展示当前租户标注任务列表。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '146812',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => ' 页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '单页大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '10',
+ 'minimum' => '1',
+ 'example' => '20',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PageNumber' => [
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'minimum' => '0',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '单页大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'maximum' => '20',
+ 'minimum' => '1',
+ 'example' => '20',
+ ],
+ 'TotalPage' => [
+ 'description' => '总页数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '22',
+ ],
+ 'Tasks' => [
+ 'description' => '任务列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '任务',
+ '$ref' => '#/components/schemas/SimpleTask',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 2,\\n \\"TotalCount\\": 22,\\n \\"Tasks\\": [\\n {\\n \\"Creator\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"Modifier\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"GmtCreateTime\\": \\"\\",\\n \\"GmtModifiedTime\\": \\"\\",\\n \\"TaskName\\": \\"\\",\\n \\"TaskId\\": \\"\\",\\n \\"TemplateId\\": \\"\\",\\n \\"TaskType\\": \\"\\",\\n \\"TenantId\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"LabelStyle\\": \\"\\",\\n \\"WorkflowNodes\\": [\\n \\"结点值\\"\\n ],\\n \\"Tags\\": [\\n \\"\\"\\n ],\\n \\"Archived\\": true,\\n \\"Stage\\": \\"\\",\\n \\"ArchivedInfos\\": \\"\\",\\n \\"Status\\": \\"\\",\\n \\"RefTaskId\\": \\"\\",\\n \\"UUID\\": \\"\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<ListTasksResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalPage>2</TotalPage>\\n <TotalCount>22</TotalCount>\\n <Tasks>\\n <Creator>\\n <AccountType>BUC</AccountType>\\n </Creator>\\n <Modifier>\\n <AccountType>BUC</AccountType>\\n </Modifier>\\n <WorkflowNodes>结点值</WorkflowNodes>\\n </Tasks>\\n</ListTasksResponse>","errorExample":""}]',
+ 'title' => '任务列表查询',
+ ],
+ 'CreateTask' => [
+ 'summary' => '为当前租户新增标注任务。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147969',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => [
+ 'description' => '任务详情',
+ 'required' => true,
+ '$ref' => '#/components/schemas/CreateTaskDetail',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TaskId' => [
+ 'description' => '任务id',
+ 'type' => 'string',
+ 'example' => '154***2518306500608',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"TaskId\\": \\"154***2518306500608\\",\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateTaskResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <TaskId>1543802518306500608</TaskId>\\n</CreateTaskResponse>","errorExample":""}]',
+ 'title' => '新增任务',
+ ],
+ 'GetTask' => [
+ 'summary' => '查询单个标注任务信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147093',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何查询租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何查询任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '15***2518306500608',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '0F01E603-8A9F-18ED-AD43-D52B5030****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功。取值如下:'."\n"
+ .'- true:表示请求成功。'."\n"
+ .'- false:表示请求失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Task' => [
+ 'description' => '任务。',
+ '$ref' => '#/components/schemas/TaskDetail',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0F01E603-8A9F-18ED-AD43-D52B5030****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"Task\\": {\\n \\"Creator\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"Modifier\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"GmtCreateTime\\": \\"\\",\\n \\"GmtModifiedTime\\": \\"\\",\\n \\"TaskName\\": \\"\\",\\n \\"TaskId\\": \\"\\",\\n \\"TemplateId\\": \\"\\",\\n \\"TaskType\\": \\"\\",\\n \\"TenantId\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"LabelStyle\\": \\"\\",\\n \\"WorkflowNodes\\": [\\n \\"结点值\\"\\n ],\\n \\"Tags\\": [\\n \\"\\"\\n ],\\n \\"Archived\\": true,\\n \\"Stage\\": \\"\\",\\n \\"ArchivedInfos\\": \\"\\",\\n \\"Status\\": \\"\\",\\n \\"RefTaskId\\": \\"\\",\\n \\"UUID\\": \\"\\",\\n \\"TaskWorkflow\\": [\\n {\\n \\"NodeName\\": \\"\\",\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Users\\": [\\n {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n }\\n ],\\n \\"Groups\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Admins\\": [],\\n \\"AssignConfig\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"TaskTemplateConfig\\": {\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"TemplateOptionMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SelectQuestions\\": [\\n \\"\\"\\n ],\\n \\"RobotConfig\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"TemplateRelationId\\": \\"\\",\\n \\"ResourceKey\\": \\"\\"\\n },\\n \\"TenantName\\": \\"\\",\\n \\"DatasetProxyRelations\\": [\\n {\\n \\"DatasetId\\": \\"\\",\\n \\"Source\\": \\"\\",\\n \\"SourceBizId\\": \\"\\",\\n \\"DatasetType\\": \\"\\",\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SourceDatasetId\\": \\"\\"\\n }\\n ],\\n \\"AllowAppendData\\": true,\\n \\"RelateTaskConfig\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PeriodConfig\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"MineConfigs\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"VoteConfigs\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"NoticeConfig\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"ResultCallbackConfig\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"runMsg\\": \\"\\",\\n \\"AlertTime\\": 0\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTaskResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>0F01E603-8A9F-18ED-AD43-D52B5030AFA2</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <Task>\\n <Creator>\\n <AccountType>BUC</AccountType>\\n </Creator>\\n <Modifier>\\n <AccountType>BUC</AccountType>\\n </Modifier>\\n <WorkflowNodes>结点值</WorkflowNodes>\\n <TaskWorkflow>\\n <Users>\\n <AccountType>BUC</AccountType>\\n </Users>\\n </TaskWorkflow>\\n <Admins>\\n <AccountType>BUC</AccountType>\\n </Admins>\\n <TaskTemplateConfig/>\\n <DatasetProxyRelations/>\\n </Task>\\n</GetTaskResponse>","errorExample":""}]',
+ 'title' => '单个任务信息',
+ ],
+ 'UpdateTask' => [
+ 'summary' => '修改当前租户下的任务。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '148776',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务id,可在iTAG的任务中心中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '15***518306500608',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => [
+ 'description' => '任务状态',
+ 'required' => true,
+ '$ref' => '#/components/schemas/UpdateTaskDTO',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n</UpdateTaskResponse>","errorExample":""}]',
+ 'title' => '修改任务',
+ ],
+ 'DeleteTask' => [
+ 'summary' => '删除当前租户下的某个任务。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147777',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务id,可在iTAG的任务中心中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '15***2518306500608',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteTaskResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n</DeleteTaskResponse>","errorExample":""}]',
+ 'title' => '删除任务',
+ ],
+ 'GetTaskTemplateViews' => [
+ 'summary' => '查询任务模版中的数据展示信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/template/views',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147656',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务id,可在iTAG的任务中心中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***2518306500608',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Views' => [
+ 'description' => '视图',
+ 'type' => 'object',
+ 'properties' => [
+ 'ViewPlugins' => [
+ 'description' => '视图插件列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '视图插件',
+ '$ref' => '#/components/schemas/ViewPlugin',
+ ],
+ ],
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Success\\": true,\\n \\"Details\\": \\"null\\",\\n \\"Views\\": {\\n \\"ViewPlugins\\": [\\n {\\n \\"Type\\": \\"\\",\\n \\"CorsProxy\\": true,\\n \\"RelationQuestionIds\\": [\\n \\"题目ID\\"\\n ],\\n \\"Hide\\": true,\\n \\"VisitInfo\\": {\\n \\"ossConf\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"aftsConf\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"Convertor\\": \\"\\",\\n \\"Plugins\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"BindField\\": \\"\\",\\n \\"DisplayOriImg\\": true\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTaskTemplateViewsResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Success>true</Success>\\n <Details>null</Details>\\n <Views>\\n <ViewPlugins>\\n <RelationQuestionIds>题目ID</RelationQuestionIds>\\n <VisitInfo/>\\n </ViewPlugins>\\n </Views>\\n</GetTaskTemplateViewsResponse>","errorExample":""}]',
+ 'title' => '查询任务展示',
+ ],
+ 'GetTaskTemplateQuestions' => [
+ 'summary' => '查询任务模板题目。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/template/questions',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147635',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务id,可在iTAG的任务中心中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***518306500608',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Questions' => [
+ 'description' => '题目列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '题目插件',
+ '$ref' => '#/components/schemas/QuestionPlugin',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Success\\": true,\\n \\"Details\\": \\"null\\",\\n \\"Questions\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": []\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTaskTemplateQuestionsResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Success>true</Success>\\n <Details>null</Details>\\n <Questions>\\n <MarkTitle>内部单选</MarkTitle>\\n <MarkTitleAlias>None</MarkTitleAlias>\\n <Type>RADIO</Type>\\n <MustFill>false</MustFill>\\n <Display>true</Display>\\n <Selected>false</Selected>\\n <SelectGroup>None</SelectGroup>\\n <DefaultResult>None</DefaultResult>\\n <Rule>None</Rule>\\n <CanSelect>false</CanSelect>\\n <Children>\\n <MarkTitle>内部单选</MarkTitle>\\n <MarkTitleAlias>None</MarkTitleAlias>\\n <Type>RADIO</Type>\\n <MustFill>false</MustFill>\\n <Display>true</Display>\\n <Selected>false</Selected>\\n <SelectGroup>None</SelectGroup>\\n <DefaultResult>None</DefaultResult>\\n <Rule>None</Rule>\\n <CanSelect>false</CanSelect>\\n <Options>\\n <Children/>\\n </Options>\\n <HotKeyMap>None</HotKeyMap>\\n </Children>\\n <Options>\\n <Children/>\\n </Options>\\n <HotKeyMap>None</HotKeyMap>\\n </Questions>\\n</GetTaskTemplateQuestionsResponse>","errorExample":""}]',
+ 'title' => '查询任务题目',
+ ],
+ 'GetTaskTemplate' => [
+ 'summary' => '查询任务当前的模板信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/template',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147633',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***518306500608',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Success' => [
+ 'description' => '是否成功。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Template' => [
+ 'description' => '模板详情。',
+ '$ref' => '#/components/schemas/TemplateDetail',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Success\\": true,\\n \\"Template\\": {\\n \\"GmtCreateTime\\": \\"\\",\\n \\"GmtModifiedTime\\": \\"\\",\\n \\"TemplateId\\": \\"\\",\\n \\"TemplateName\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Status\\": \\"\\",\\n \\"Tags\\": [\\n \\"\\"\\n ],\\n \\"AbandonReasons\\": [\\n \\"\\"\\n ],\\n \\"Type\\": \\"\\",\\n \\"QuestionConfigs\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [\\n {\\n \\"MarkTitle\\": \\"内部单选\\",\\n \\"MarkTitleAlias\\": \\"None\\",\\n \\"Type\\": \\"RADIO\\",\\n \\"MustFill\\": true,\\n \\"Display\\": true,\\n \\"Selected\\": true,\\n \\"SelectGroup\\": \\"None\\",\\n \\"DefaultResult\\": \\"None\\",\\n \\"Rule\\": \\"None\\",\\n \\"CanSelect\\": true,\\n \\"Children\\": [],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": [\\n {\\n \\"Label\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"Shortcut\\": \\"\\",\\n \\"Color\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"Children\\": []\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"PreOptions\\": [\\n \\"\\"\\n ],\\n \\"Options\\": [],\\n \\"HotKeyMap\\": \\"None\\",\\n \\"QuestionId\\": \\"\\"\\n }\\n ],\\n \\"Creator\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"Modifier\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"Classify\\": \\"\\",\\n \\"TenantId\\": \\"\\",\\n \\"SharedMode\\": \\"\\",\\n \\"ViewConfigs\\": {\\n \\"ViewPlugins\\": [\\n {\\n \\"Type\\": \\"\\",\\n \\"CorsProxy\\": true,\\n \\"RelationQuestionIds\\": [\\n \\"题目ID\\"\\n ],\\n \\"Hide\\": true,\\n \\"VisitInfo\\": {\\n \\"ossConf\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"aftsConf\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"Convertor\\": \\"\\",\\n \\"Plugins\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Exif\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"BindField\\": \\"\\",\\n \\"DisplayOriImg\\": true\\n }\\n ]\\n }\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTaskTemplateResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <Template>\\n <QuestionConfigs>\\n <MarkTitle>内部单选</MarkTitle>\\n <MarkTitleAlias>None</MarkTitleAlias>\\n <Type>RADIO</Type>\\n <MustFill>false</MustFill>\\n <Display>true</Display>\\n <Selected>false</Selected>\\n <SelectGroup>None</SelectGroup>\\n <DefaultResult>None</DefaultResult>\\n <Rule>None</Rule>\\n <CanSelect>false</CanSelect>\\n <Children>\\n <MarkTitle>内部单选</MarkTitle>\\n <MarkTitleAlias>None</MarkTitleAlias>\\n <Type>RADIO</Type>\\n <MustFill>false</MustFill>\\n <Display>true</Display>\\n <Selected>false</Selected>\\n <SelectGroup>None</SelectGroup>\\n <DefaultResult>None</DefaultResult>\\n <Rule>None</Rule>\\n <CanSelect>false</CanSelect>\\n <Options>\\n <Children/>\\n </Options>\\n <HotKeyMap>None</HotKeyMap>\\n </Children>\\n <Options>\\n <Children/>\\n </Options>\\n <HotKeyMap>None</HotKeyMap>\\n </QuestionConfigs>\\n <Creator>\\n <AccountType>BUC</AccountType>\\n </Creator>\\n <Modifier>\\n <AccountType>BUC</AccountType>\\n </Modifier>\\n <ViewConfigs>\\n <ViewPlugins>\\n <RelationQuestionIds>题目ID</RelationQuestionIds>\\n <VisitInfo/>\\n </ViewPlugins>\\n </ViewConfigs>\\n </Template>\\n</GetTaskTemplateResponse>","errorExample":""}]',
+ 'title' => '查询任务模板信息',
+ ],
+ 'GetTaskStatus' => [
+ 'summary' => '查询任务当前的状态。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/status',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147091',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***518306500608',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Success' => [
+ 'description' => '是否成功。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TaskStatus' => [
+ 'description' => '任务状态,可能值:'."\n"
+ .'- INIT:初始化。'."\n"
+ .'- PROCESSING:处理中。'."\n"
+ .'- SUCC:成功。'."\n"
+ .'- FAIL:失败。'."\n"
+ .'- DELETED:删除。'."\n"
+ .'- OFFLINE:下线。'."\n"
+ .'- FINISHED:完成。',
+ 'type' => 'string',
+ 'enumValueTitles' => [],
+ 'example' => 'SUCC',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Success\\": true,\\n \\"TaskStatus\\": \\"SUCC\\",\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTaskStatusResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <TaskStatus>SUCC</TaskStatus>\\n</GetTaskStatusResponse>","errorExample":""}]',
+ 'title' => '查询任务状态',
+ ],
+ 'GetTaskStatistics' => [
+ 'summary' => '查询任务当前的统计信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/statistics',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147786',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GAR***134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***2518306500608',
+ ],
+ ],
+ [
+ 'name' => 'StatType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '统计类型,取值如下:'."\n"
+ .'- OPERATORCELL:操作单元。'."\n"
+ .'- ITEM:单样本。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [],
+ 'example' => 'ITEM',
+ 'default' => 'Item',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TaskStatistics' => [
+ 'description' => '任务统计。',
+ '$ref' => '#/components/schemas/TaskStatistic',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"TaskStatistics\\": {\\n \\"TotalItemCount\\": 0,\\n \\"TotalSubtaskCount\\": 0,\\n \\"FinishedItemCount\\": 0,\\n \\"FinishedSubtaskCount\\": 0,\\n \\"FinalAbandonCount\\": 0,\\n \\"PreMarkFixedCount\\": 0,\\n \\"AcceptItemCount\\": 0,\\n \\"TotalCheckedCount\\": 0,\\n \\"CheckedError\\": 0,\\n \\"CheckAbandon\\": 0,\\n \\"CheckedAccuracy\\": 0,\\n \\"CheckedRejectCount\\": 0,\\n \\"TotalSampledCount\\": 0,\\n \\"SampledErrorCount\\": 0,\\n \\"SampledRejectCount\\": 0,\\n \\"SampledAccuracy\\": 0,\\n \\"TotalSamplingCount\\": 0,\\n \\"TotalCheckCount\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"TotalMarkTime\\": 0,\\n \\"MarkEfficiency\\": 0,\\n \\"TotalCheckTime\\": 0,\\n \\"CheckEfficiency\\": 0,\\n \\"SamplingAccuracy\\": 0,\\n \\"CheckAccuracy\\": 0\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTaskStatisticsResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <TaskStatistics/>\\n</GetTaskStatisticsResponse>","errorExample":""}]',
+ 'title' => '查询任务统计',
+ ],
+ 'ListSubtasks' => [
+ 'summary' => '展示子任务包列表。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskID}/subtasks',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147615',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GAR***134',
+ ],
+ ],
+ [
+ 'name' => 'TaskID',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***2518306500608',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '子任务列表的页码。起始值为1,默认为1。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页查询时设置的每页显示的子任务数量,默认为20。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ 'default' => '0',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PageNumber' => [
+ 'description' => '返回查询的子任务列表的页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '返回每页显示的子任务数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'TotalPage' => [
+ 'description' => '总页数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '子任务总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '22',
+ ],
+ 'Subtasks' => [
+ 'description' => '子任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '子任务。',
+ '$ref' => '#/components/schemas/SubtaskDetail',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 2,\\n \\"TotalCount\\": 22,\\n \\"Subtasks\\": [\\n {\\n \\"SubtaskId\\": \\"1500682457270333440\\",\\n \\"Status\\": \\"FINISHED\\",\\n \\"Items\\": [\\n {\\n \\"FeedbackRemark\\": \\"None\\",\\n \\"FeedbackFlag\\": true,\\n \\"DataId\\": \\"1957578084\\",\\n \\"State\\": \\"HANDLING\\",\\n \\"Mine\\": 0,\\n \\"RejectFlag\\": true,\\n \\"FixedFlag\\": true,\\n \\"AbandonFlag\\": true,\\n \\"AbandonRemark\\": \\"None\\",\\n \\"Weight\\": 311011\\n }\\n ],\\n \\"TaskId\\": \\"\\",\\n \\"CurrentWorkNode\\": \\"MARK\\",\\n \\"WorkNodeState\\": \\"FINISHED\\",\\n \\"Workforce\\": [\\n {\\n \\"NodeType\\": \\"\\",\\n \\"WorkNodeId\\": 0,\\n \\"Users\\": [\\n {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"CanReassign\\": true,\\n \\"CanRelease\\": true,\\n \\"CanDiscard\\": true,\\n \\"Weight\\": 0,\\n \\"ExtConfigs\\": \\"\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<ListSubtasksResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalPage>2</TotalPage>\\n <TotalCount>22</TotalCount>\\n <Subtasks>\\n <SubtaskId>1500682457270333440</SubtaskId>\\n <Status>FINISHED</Status>\\n <Items>\\n <FeedbackRemark>None</FeedbackRemark>\\n <FeedbackFlag>false</FeedbackFlag>\\n <DataId>1957578084</DataId>\\n <State>HANDLING</State>\\n <Mine>0</Mine>\\n <RejectFlag>false</RejectFlag>\\n <FixedFlag>false</FixedFlag>\\n <AbandonFlag>false</AbandonFlag>\\n <AbandonRemark>None</AbandonRemark>\\n <Weight>311011</Weight>\\n </Items>\\n <CurrentWorkNode>MARK</CurrentWorkNode>\\n <WorkNodeState>FINISHED</WorkNodeState>\\n <Workforce>\\n <Users>\\n <AccountType>BUC</AccountType>\\n </Users>\\n </Workforce>\\n </Subtasks>\\n</ListSubtasksResponse>","errorExample":""}]',
+ 'title' => '子任务列表查询',
+ ],
+ 'GetSubtask' => [
+ 'summary' => '查询单个子任务包信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskID}/subtasks/{SubtaskId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147782',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskID',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***2518306500608',
+ ],
+ ],
+ [
+ 'name' => 'SubtaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '子任务ID。如何获取子任务ID,请参见[ListSubtasks](~~454675~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '150***502979956736',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功。可能值:'."\n"
+ .'- true:表示请求成功。'."\n"
+ .'- false:表示请求失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Subtask' => [
+ 'description' => '子任务。',
+ '$ref' => '#/components/schemas/SimpleSubtask',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"Subtask\\": {\\n \\"SubtaskId\\": 1500682457270333400,\\n \\"Status\\": \\"FINISHED\\",\\n \\"Items\\": [\\n {\\n \\"FeedbackRemark\\": \\"None\\",\\n \\"FeedbackFlag\\": true,\\n \\"DataId\\": \\"1957578084\\",\\n \\"State\\": \\"HANDLING\\",\\n \\"Mine\\": 0,\\n \\"RejectFlag\\": true,\\n \\"FixedFlag\\": true,\\n \\"AbandonFlag\\": true,\\n \\"AbandonRemark\\": \\"None\\",\\n \\"Weight\\": 311011,\\n \\"ItemId\\": 0\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetSubtaskResponse>\\n <Subtask>\\n <SubtaskId>1500682457270333400</SubtaskId>\\n <Status>FINISHED</Status>\\n <Items>\\n <FeedbackRemark>None</FeedbackRemark>\\n <FeedbackFlag>false</FeedbackFlag>\\n <DataId>1957578084</DataId>\\n <State>HANDLING</State>\\n <Mine>0</Mine>\\n <RejectFlag>false</RejectFlag>\\n <FixedFlag>false</FixedFlag>\\n <AbandonFlag>false</AbandonFlag>\\n <AbandonRemark>None</AbandonRemark>\\n <Weight>311011</Weight>\\n </Items>\\n </Subtask>\\n</GetSubtaskResponse>","errorExample":""}]',
+ 'title' => '单个任务包信息',
+ ],
+ 'ListSubtaskItems' => [
+ 'summary' => '展示单个子任务包的标注数据。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskID}/subtasks/{SubtaskId}/items',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147676',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskID',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***18306500608',
+ ],
+ ],
+ [
+ 'name' => 'SubtaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '子任务ID。如何获取子任务ID,请参见[ListSubtasks](~~454675~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1500***2979956736',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务包标注数据的页码。起始值为1,默认为1。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页查询时设置的每页显示的任务包标注数据的数量,默认为20。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '20',
+ 'minimum' => '1',
+ 'example' => '20',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Success' => [
+ 'description' => '是否成功。可能值:'."\n"
+ .'- true:表示请求成功。'."\n"
+ .'- false:表示请求失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PageNumber' => [
+ 'description' => '返回查询的任务包标注数据的页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '返回每页显示的任务包标注数据的数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'TotalPage' => [
+ 'description' => '总页数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '任务包标注数据总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '22',
+ ],
+ 'Items' => [
+ 'description' => '数据项列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据项。',
+ '$ref' => '#/components/schemas/SubtaskItemDetail',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Success\\": true,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 2,\\n \\"TotalCount\\": 22,\\n \\"Items\\": [\\n {\\n \\"ItemId\\": 1500758847176994800,\\n \\"Annotations\\": [\\n {\\n \\"FeedbackRemark\\": \\"None\\",\\n \\"FeedbackFlag\\": true,\\n \\"DataId\\": \\"1957578084\\",\\n \\"State\\": \\"HANDLING\\",\\n \\"Mine\\": 0,\\n \\"RejectFlag\\": true,\\n \\"FixedFlag\\": true,\\n \\"AbandonFlag\\": true,\\n \\"AbandonRemark\\": \\"None\\",\\n \\"Weight\\": 311011\\n }\\n ],\\n \\"DataSource\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<ListSubtaskItemsResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalPage>2</TotalPage>\\n <TotalCount>22</TotalCount>\\n <Items>\\n <ItemId>1500758847176994800</ItemId>\\n <Annotations>\\n <FeedbackRemark>None</FeedbackRemark>\\n <FeedbackFlag>false</FeedbackFlag>\\n <DataId>1957578084</DataId>\\n <State>HANDLING</State>\\n <Mine>0</Mine>\\n <RejectFlag>false</RejectFlag>\\n <FixedFlag>false</FixedFlag>\\n <AbandonFlag>false</AbandonFlag>\\n <AbandonRemark>None</AbandonRemark>\\n <Weight>311011</Weight>\\n </Annotations>\\n </Items>\\n</ListSubtaskItemsResponse>","errorExample":""}]',
+ 'title' => '获取任务包标注数据',
+ ],
+ 'GetSubtaskItem' => [
+ 'summary' => '查询子任务包中的单个标注数据。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/subtasks/{SubtaskId}/items/{ItemId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147679',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnP8VCEV',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***518306500608',
+ ],
+ ],
+ [
+ 'name' => 'SubtaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '子任务ID。如何获取子任务ID,请参见[ListSubtasks](~~454675~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '15***82502979956736',
+ ],
+ ],
+ [
+ 'name' => 'ItemId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '数据项ID。如何获取数据项ID,请参见[GetSubtask](~~454677~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '15***2994667356160',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功。可能值:'."\n"
+ .'- true:表示请求成功。'."\n"
+ .'- false:表示请求失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Item' => [
+ 'description' => '数据项。',
+ '$ref' => '#/components/schemas/SubtaskItemDetail',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"Item\\": {\\n \\"ItemId\\": 1500758847176994800,\\n \\"Annotations\\": [\\n {\\n \\"FeedbackRemark\\": \\"None\\",\\n \\"FeedbackFlag\\": true,\\n \\"DataId\\": \\"1957578084\\",\\n \\"State\\": \\"HANDLING\\",\\n \\"Mine\\": 0,\\n \\"RejectFlag\\": true,\\n \\"FixedFlag\\": true,\\n \\"AbandonFlag\\": true,\\n \\"AbandonRemark\\": \\"None\\",\\n \\"Weight\\": 311011\\n }\\n ],\\n \\"DataSource\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetSubtaskItemResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <Item>\\n <ItemId>1500758847176994800</ItemId>\\n <Annotations>\\n <FeedbackRemark>None</FeedbackRemark>\\n <FeedbackFlag>false</FeedbackFlag>\\n <DataId>1957578084</DataId>\\n <State>HANDLING</State>\\n <Mine>0</Mine>\\n <RejectFlag>false</RejectFlag>\\n <FixedFlag>false</FixedFlag>\\n <AbandonFlag>false</AbandonFlag>\\n <AbandonRemark>None</AbandonRemark>\\n <Weight>311011</Weight>\\n </Annotations>\\n </Item>\\n</GetSubtaskItemResponse>","errorExample":""}]',
+ 'title' => '查询单个标注数据',
+ ],
+ 'ExportAnnotations' => [
+ 'summary' => '导出标注任务的结果数据。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/annotations/export',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147702',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '15***02518306500608',
+ ],
+ ],
+ [
+ 'name' => 'Target',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '目标。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PAI',
+ ],
+ ],
+ [
+ 'name' => 'OssPath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'OSS路径。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss://***-hz-oss.oss-cn-hangzhou.aliyuncs.com/output/',
+ ],
+ ],
+ [
+ 'name' => 'RegisterDataset',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否注册成为PAI数据集。取值如下:'."\n"
+ .'- true:将标注结果注册为PAI数据集。'."\n"
+ .'- false:直接将标注结果导出至OSS目录,不注册数据集。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FlowJob' => [
+ 'description' => '工作流。',
+ '$ref' => '#/components/schemas/FlowJobInfo',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码;'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"FlowJob\\": {\\n \\"JobId\\": \\"\\",\\n \\"JobType\\": \\"\\",\\n \\"ProcessType\\": \\"\\",\\n \\"MessageId\\": \\"\\",\\n \\"TaskId\\": \\"\\",\\n \\"Display\\": true\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<ExportAnnotationsResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>false</Success>\\n <FlowJob/>\\n</ExportAnnotationsResponse>","errorExample":""}]',
+ 'title' => '导出标注结果',
+ ],
+ 'ListJobs' => [
+ 'summary' => '展示所有导出的标注结果的列表。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/jobs',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147919',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '标注结果列表的页码。起始值为1,默认为1。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页查询时设置的每页显示的标注结果数量,默认为20。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'JobType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务类型,暂时只开放:DOWNLOWD_MARKRESULT_FLOW。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DOWNLOWD_MARKRESULT_FLOW',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PageNumber' => [
+ 'description' => '返回查询的标注结果列表的页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '返回每页显示的标注结果数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'TotalPage' => [
+ 'description' => '总页数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '标注结果总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '22',
+ ],
+ 'Jobs' => [
+ 'description' => '任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '任务。',
+ '$ref' => '#/components/schemas/Job',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码。'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 2,\\n \\"TotalCount\\": 22,\\n \\"Jobs\\": [\\n {\\n \\"Status\\": \\"\\",\\n \\"JobResult\\": {\\n \\"ResultLink\\": \\"\\"\\n },\\n \\"JobType\\": \\"\\",\\n \\"GmtCreateTime\\": \\"\\",\\n \\"GmtModifiedTime\\": \\"\\",\\n \\"Creator\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"JobId\\": \\"\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<ListJobsResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalPage>2</TotalPage>\\n <TotalCount>22</TotalCount>\\n <Jobs>\\n <JobResult/>\\n <Creator>\\n <AccountType>BUC</AccountType>\\n </Creator>\\n </Jobs>\\n</ListJobsResponse>","errorExample":""}]',
+ 'title' => '导出的标注结果列表展示',
+ ],
+ 'GetJob' => [
+ 'summary' => '查询单个标注导出结果的信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/jobs/{JobId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147914',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'JobId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务id,可在iTAG的任务中心中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '147***441221943296',
+ ],
+ ],
+ [
+ 'name' => 'JobType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务类型,暂时只开放:DOWNLOWD_MARKRESULT_FLOW。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DOWNLOWD_MARKRESULT_FLOW',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Job' => [
+ 'description' => '任务',
+ '$ref' => '#/components/schemas/Job',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"Job\\": {\\n \\"Status\\": \\"\\",\\n \\"JobResult\\": {\\n \\"ResultLink\\": \\"\\"\\n },\\n \\"JobType\\": \\"\\",\\n \\"GmtCreateTime\\": \\"\\",\\n \\"GmtModifiedTime\\": \\"\\",\\n \\"Creator\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n },\\n \\"JobId\\": \\"\\"\\n },\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetJobResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <Job>\\n <JobResult/>\\n <Creator>\\n <AccountType>BUC</AccountType>\\n </Creator>\\n </Job>\\n</GetJobResponse>","errorExample":""}]',
+ 'title' => '单个标注结果',
+ ],
+ 'ListUsers' => [
+ 'summary' => '展示当前租户下的全部标注成员。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/users',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147798',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '标注成员列表的页码。起始值为1,默认为1。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页查询时设置的每页显示的标注成员数量,默认为20。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PageNumber' => [
+ 'description' => '返回查询的标注成员列表的页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '返回每页显示的标注成员数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'TotalPage' => [
+ 'description' => '总页数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '标注成员总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '22',
+ ],
+ 'Users' => [
+ 'description' => '用户列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码;'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 2,\\n \\"TotalCount\\": 22,\\n \\"Users\\": [\\n {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<ListUsersResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalPage>2</TotalPage>\\n <TotalCount>22</TotalCount>\\n <Users>\\n <AccountType>BUC</AccountType>\\n </Users>\\n</ListUsersResponse>","errorExample":""}]',
+ 'title' => '展示标注成员',
+ ],
+ 'GetUser' => [
+ 'summary' => '查询租户里单个成员的详细信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/users/{UserId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147871',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '用户ID。如何查询用户ID,请参见[ListUsers](~~454688~~)。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '166***9980757311',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码;'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'User' => [
+ 'description' => '用户信息。',
+ '$ref' => '#/components/schemas/SimpleUser',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\",\\n \\"User\\": {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetUserResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <User>\\n <AccountType>BUC</AccountType>\\n </User>\\n</GetUserResponse>","errorExample":""}]',
+ 'title' => '查询单个成员信息',
+ ],
+ 'CreateUser' => [
+ 'summary' => '租户内新增成员。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/users',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147885',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GAR***W134',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountNo' => [
+ 'description' => '当前阿里云账号(主账号)下的RAM用户(子账号)的UID。如何获取UID,请参见[GetUser](~~2330970~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '166***980757310',
+ ],
+ 'AccountType' => [
+ 'description' => '账号类型,目前仅开放:ALIYUN。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ALIYUN',
+ ],
+ 'Role' => [
+ 'description' => '角色。取值如下:'."\n"
+ .'- OPERATOR:标注员。'."\n"
+ .'- ADMIN:管理员。'."\n"
+ .'- LEADER:标注组长。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ADMIN',
+ ],
+ 'UserName' => [
+ 'description' => '用户名。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'user1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'UserId' => [
+ 'description' => '用户ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '166233998075****',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码;'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"UserId\\": 0,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateUserResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>false</Success>\\n <UserId>1662339980757311</UserId>\\n</CreateUserResponse>","errorExample":""}]',
+ 'title' => '新增成员',
+ ],
+ 'UpdateUser' => [
+ 'summary' => '更新租户内成员信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/users/{UserId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'multipart/form-data',
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147887',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA**W134',
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '用户ID。如何查询用户ID,请参见[ListUsers](~~454688~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '166***80757311',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'description' => '角色。可能值:'."\n"
+ .'- OPERATOR:标注员。'."\n"
+ .'- ADMIN:管理员。'."\n"
+ .'- LEADER:标注组长。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ADMIN',
+ ],
+ 'UserName' => [
+ 'description' => '用户名。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'user1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码;'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'UserId' => [
+ 'description' => '用户ID。',
+ 'type' => 'string',
+ 'example' => '166***980757311',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\",\\n \\"UserId\\": \\"166***980757311\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateUserResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <UserId>1662339980757311</UserId>\\n</UpdateUserResponse>","errorExample":""}]',
+ 'title' => '更新成员',
+ ],
+ 'DeleteUser' => [
+ 'summary' => '删除租户内某个成员。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/users/{UserId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147889',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户id,可以通过ListTenantId租户列表查询的API来查询。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GAR***W134',
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '用户id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '166***980757311',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1F29E',
+ ],
+ 'Details' => [
+ 'description' => '详情',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1F29E\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteUserResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n</DeleteUserResponse>","errorExample":""}]',
+ 'title' => '删除成员',
+ ],
+ 'GetTaskWorkforce' => [
+ 'summary' => '查询任务中各个结点配置的人员信息。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/workforce',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147892',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'G***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '154***518306500608',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Workforce' => [
+ 'description' => '人力列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '人力。',
+ '$ref' => '#/components/schemas/Workforce',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码;'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"Workforce\\": [\\n {\\n \\"NodeType\\": \\"\\",\\n \\"WorkNodeId\\": 0,\\n \\"Users\\": [\\n {\\n \\"UserId\\": 0,\\n \\"AccountType\\": \\"BUC\\",\\n \\"AccountNo\\": \\"\\",\\n \\"UserName\\": \\"\\",\\n \\"Role\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTaskWorkforceResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <Workforce>\\n <Users>\\n <AccountType>BUC</AccountType>\\n </Users>\\n </Workforce>\\n</GetTaskWorkforceResponse>","errorExample":""}]',
+ 'title' => '查询任务人员配置信息',
+ ],
+ 'AddWorkNodeWorkforce' => [
+ 'summary' => '为标注任务的工作节点(标注、质检和验收)进行人员分配。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/worknodes/{WorkNodeId}/workforce',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147915',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1543***518306500608',
+ ],
+ ],
+ [
+ 'name' => 'WorkNodeId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '工作结点ID,工作流顺序,从0开始。例如标注-质检-验收中,标注是0,质检是1,验收是2。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserIds' => [
+ 'description' => '用户列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户的阿里云账号ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1662****80757311',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码。'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<AddWorkNodeWorkforceResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>false</Success>\\n</AddWorkNodeWorkforceResponse>","errorExample":""}]',
+ 'title' => '增加成员',
+ ],
+ 'GetTaskWorkforceStatistic' => [
+ 'summary' => '查询任务中各成员的统计数据。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/workforce/statistic',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147911',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154****8306500608',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务成员列表的页码。起始值为1,默认为1。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页查询时设置的每页显示的任务成员数量,默认为20。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'StatType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '统计类型',
+ 'description' => '统计类型,取值如下:'."\n"
+ .'- ITEM:按照单条审核记录。'."\n"
+ .'- OPERATORCELL:按照操作单元,一个ITEM可能会包含多个操作单元。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ITEM',
+ 'default' => 'ITEM',
+ 'enum' => [
+ 'ITEM',
+ 'OPERATORCELL',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'UsersStatistic' => [
+ 'description' => '用户统计列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户统计信息。',
+ '$ref' => '#/components/schemas/UserStatistic',
+ ],
+ ],
+ 'PageNumber' => [
+ 'description' => '返回查询的任务成员列表的页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '返回每页显示的任务成员数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'TotalPage' => [
+ 'description' => '总页数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '任务成员总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '22',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码;'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"null\\",\\n \\"Success\\": true,\\n \\"UsersStatistic\\": [\\n {\\n \\"UserId\\": \\"\\",\\n \\"TotalMarkItemsCount\\": 0,\\n \\"AcceptedMarkItemsCount\\": 0,\\n \\"MarkTime\\": 0,\\n \\"MarkEfficiency\\": 0,\\n \\"CheckCount\\": 0,\\n \\"CheckedAcceptedCount\\": 0,\\n \\"CheckedAccuracy\\": 0,\\n \\"SamplingAccuracy\\": 0,\\n \\"SamplingCount\\": 0,\\n \\"SamplingErrorCount\\": 0\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 2,\\n \\"TotalCount\\": 22,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTaskWorkforceStatisticResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n <UsersStatistic/>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalPage>2</TotalPage>\\n <TotalCount>22</TotalCount>\\n</GetTaskWorkforceStatisticResponse>","errorExample":""}]',
+ 'title' => '查询任务成员统计',
+ ],
+ 'UpdateTaskWorkforce' => [
+ 'summary' => '更新任务成员。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/workforce',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147907',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'G***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '15***518306500608',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Workforce' => [
+ 'description' => '用户列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '人力结点。',
+ 'required' => false,
+ '$ref' => '#/components/schemas/SimpleWorkforce',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码;'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskWorkforceResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n</UpdateTaskWorkforceResponse>","errorExample":""}]',
+ 'title' => '更新成员',
+ ],
+ 'RemoveWorkNodeWorkforce' => [
+ 'summary' => '删除任务中某个工作结点(包括标注、质检或验收)的成员。',
+ 'path' => '/openapi/api/v1/tenants/{TenantId}/tasks/{TaskId}/worknodes/{WorkNodeId}/workforce',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '147916',
+ 'abilityTreeNodes' => [
+ 'FEATURElearnF2O1M4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TenantId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '租户ID。如何获取租户ID,请参见[ListTenants](~~454649~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GA***W134',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '任务ID。如何获取任务ID,请参见[ListTasks](~~454662~~)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '154***518306500608',
+ ],
+ ],
+ [
+ 'name' => 'WorkNodeId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '工作结点ID,工作流顺序,从0开始。例如标注-质检-验收中,标注是0,质检是1,验收是2。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'minimum' => '0',
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserIds' => [
+ 'description' => '用户ID。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户ID。如何获取用户ID,请参见[GetTaskWorkforce](~~454697~~)。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '166***9980757311',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '项目。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
+ 'description' => '返回编码,默认为0,表示执行正常。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Message' => [
+ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
+ 'description' => '请求的返回信息。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '90ABA848-AD74-1F6E-84BC-4182A7F1****',
+ ],
+ 'Details' => [
+ 'description' => '详情。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Success' => [
+ 'description' => '是否成功,可能值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => '错误码。'."\n"
+ .'- 当Success为false,返回业务错误码。'."\n"
+ .'- 当Success为true,返回空值。',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"90ABA848-AD74-1F6E-84BC-4182A7F1****\\",\\n \\"Details\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"\\\\\\"\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<RemoveWorkNodeWorkforceResponse>\\n <Code>0</Code>\\n <Message>success</Message>\\n <RequestId>90ABA848-AD74-1F6E-84BC-4182A7F1F29E</RequestId>\\n <Details>null</Details>\\n <Success>true</Success>\\n</RemoveWorkNodeWorkforceResponse>","errorExample":""}]',
+ 'title' => '删除成员',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'openitag.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'openitag.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'openitag.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'openitag.cn-shenzhen.aliyuncs.com',
+ ],
+ ],
+];