查询项目详情
功能介绍
查看项目的详细信息。
URI
- URI格式
GET /softcomai/datalake/dataplan/v1.0/progress/{progressId}
- 参数说明
参数名
是否必选
参数类型
备注
progressId
是
String
项目的ID。
请求
响应
- 响应样例
{ "success": true, "returnData": { "id": "20190523144150-1830503420", "name": "ProgressTest001", "description": "描述信息XXXXXXXXXXXXXXXXXXXXXXXXX001", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "2019-05-23 14:41:50", "updateTime": "2019-05-23 14:41:50", "tenantId": "SoftcomAI_Integration_Test2", "tasks": [ { "id": "4258844438632314052", "taskName": "测试任务名称004", "taskType": "TRAIN", "isKeyTask": "true", "userId": "SoftcomAI_Integration_Test2__zWX611819", "pId": "0", "rootTask": "false", "createTime": "20190522153927", "updateTime": "20190522153927", "script": { "id": "script2324354356435345004", "scriptName": "脚本script2324354356435345004", "scriptType": "SCRIPTTYPR_IN", "scriptPath": "/opt/script/script2324354356435345004.py", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522161002", "updateTime": "20190522161002" }, "paramList": [ { "id": "6432775498551194298", "paramName": "INPUT_PARAM007", "paramType": "OUTPUT_TYPE", "paramValue": "out.csv", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522153927", "updateTime": "20190522153927", "taskId": "4258844438632314052" }, { "id": "5917907899477015159", "paramName": "INPUT_PARAM008", "paramType": "INPUT_TYPE", "paramValue": "/etc/test/int.out", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522153927", "updateTime": "20190522153927", "taskId": "4258844438632314052" } ], "children": [ { "id": "2091445797804258129", "taskName": "子任务004", "taskType": "TRAIN", "isKeyTask": "true", "userId": "SoftcomAI_Integration_Test2__zWX611819", "pId": "4258844438632314052", "rootTask": "false", "createTime": "20190522154312", "updateTime": "20190522154312", "script": { "id": "script2324354356435345008", "scriptName": "脚本script2324354356435345008", "scriptType": "SCRIPTTYPR_IN", "scriptPath": "/opt/script/script2324354356435345008.py", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522161002", "updateTime": "20190522161002" }, "paramList": [ { "id": "7604610060700585337", "paramName": "INPUT_PARAM017", "paramType": "OUTPUT_TYPE", "paramValue": "out.csv", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522154312", "updateTime": "20190522154312", "taskId": "2091445797804258129" }, { "id": "8740119706493809528", "paramName": "INPUT_PARAM018", "paramType": "INPUT_TYPE", "paramValue": "/etc/test/int.out", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522154312", "updateTime": "20190522154312", "taskId": "2091445797804258129" } ], "children": [] } ] }, { "id": "3317274162378352800", "taskName": "测试任务名称003", "taskType": "GOVERN", "isKeyTask": "true", "userId": "SoftcomAI_Integration_Test2__zWX611819", "pId": "0", "rootTask": "false", "createTime": "20190522153927", "updateTime": "20190522153927", "script": { "id": "script2324354356435345003", "scriptName": "脚本script2324354356435345003", "scriptType": "SCRIPTTYPR_IN", "scriptPath": "/opt/script/script2324354356435345003.py", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522161002", "updateTime": "20190522161002" }, "paramList": [ { "id": "6294244764980269948", "paramName": "INPUT_PARAM005", "paramType": "OUTPUT_TYPE", "paramValue": "out.csv", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522153927", "updateTime": "20190522153927", "taskId": "3317274162378352800" }, { "id": "5323026608543141080", "paramName": "INPUT_PARAM006", "paramType": "INPUT_TYPE", "paramValue": "/etc/test/int.out", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522153927", "updateTime": "20190522153927", "taskId": "3317274162378352800" } ], "children": [ { "id": "3669835762462846233", "taskName": "子任务003", "taskType": "GOVERN", "isKeyTask": "true", "userId": "SoftcomAI_Integration_Test2__zWX611819", "pId": "3317274162378352800", "rootTask": "false", "createTime": "20190522154312", "updateTime": "20190522154312", "script": { "id": "script2324354356435345007", "scriptName": "脚本script2324354356435345007", "scriptType": "SCRIPTTYPR_IN", "scriptPath": "/opt/script/script2324354356435345007.py", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522161002", "updateTime": "20190522161002" }, "paramList": [ { "id": "2259610438399225887", "paramName": "INPUT_PARAM015", "paramType": "OUTPUT_TYPE", "paramValue": "out.csv", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522154312", "updateTime": "20190522154312", "taskId": "3669835762462846233" }, { "id": "7945694693556717511", "paramName": "INPUT_PARAM016", "paramType": "INPUT_TYPE", "paramValue": "/etc/test/int.out", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522154312", "updateTime": "20190522154312", "taskId": "3669835762462846233" } ], "children": [] } ] }, { "id": "3325435561206517112", "taskName": "测试任务名称002", "taskType": "PARSE", "isKeyTask": "true", "userId": "SoftcomAI_Integration_Test2__zWX611819", "pId": "0", "rootTask": "false", "createTime": "20190522153927", "updateTime": "20190522153927", "script": { "id": "script2324354356435345002", "scriptName": "脚本script2324354356435345002", "scriptType": "SCRIPTTYPR_IN", "scriptPath": "/opt/script/script2324354356435345002.py", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522161002", "updateTime": "20190522161002" }, "paramList": [ { "id": "5842097471414196976", "paramName": "INPUT_PARAM003", "paramType": "OUTPUT_TYPE", "paramValue": "out.csv", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522153927", "updateTime": "20190522153927", "taskId": "3325435561206517112" }, { "id": "3927581714015490447", "paramName": "INPUT_PARAM004", "paramType": "INPUT_TYPE", "paramValue": "/etc/test/int.out", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522153927", "updateTime": "20190522153927", "taskId": "3325435561206517112" } ], "children": [ { "id": "5760199023622570404", "taskName": "子任务002", "taskType": "PARSE", "isKeyTask": "true", "userId": "SoftcomAI_Integration_Test2__zWX611819", "pId": "3325435561206517112", "rootTask": "false", "createTime": "20190522154312", "updateTime": "20190522154312", "script": { "id": "script2324354356435345006", "scriptName": "脚本script2324354356435345006", "scriptType": "SCRIPTTYPR_IN", "scriptPath": "/opt/script/script2324354356435345006.py", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522161002", "updateTime": "20190522161002" }, "paramList": [ { "id": "4523873133086498486", "paramName": "INPUT_PARAM013", "paramType": "OUTPUT_TYPE", "paramValue": "out.csv", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522154312", "updateTime": "20190522154312", "taskId": "5760199023622570404" }, { "id": "1630913167819950670", "paramName": "INPUT_PARAM014", "paramType": "INPUT_TYPE", "paramValue": "/etc/test/int.out", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522154312", "updateTime": "20190522154312", "taskId": "5760199023622570404" } ], "children": [] } ] }, { "id": "1484601205474025496", "taskName": "测试任务名称001", "taskType": "COLLECTION", "isKeyTask": "true", "userId": "SoftcomAI_Integration_Test2__zWX611819", "pId": "0", "rootTask": "false", "createTime": "20190522153704", "updateTime": "20190522153704", "script": { "id": "script2324354356435345001", "scriptName": "脚本script2324354356435345001", "scriptType": "SCRIPTTYPR_IN", "scriptPath": "/opt/script/script2324354356435345001.py", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522161002", "updateTime": "20190522161002" }, "paramList": [ { "id": "9213996011475149768", "paramName": "INPUT_PARAM001", "paramType": "OUTPUT_TYPE", "paramValue": "out.csv", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522153704", "updateTime": "20190522153704", "taskId": "1484601205474025496" }, { "id": "4442281474120796984", "paramName": "INPUT_PARAM002", "paramType": "INPUT_TYPE", "paramValue": "/etc/test/int.out", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522153704", "updateTime": "20190522153704", "taskId": "1484601205474025496" } ], "children": [ { "id": "6834608124000610806", "taskName": "子任务001", "taskType": "COLLECTION", "isKeyTask": "true", "userId": "SoftcomAI_Integration_Test2__zWX611819", "pId": "1484601205474025496", "rootTask": "false", "createTime": "20190522154312", "updateTime": "20190522154312", "script": { "id": "script2324354356435345005", "scriptName": "脚本script2324354356435345005", "scriptType": "SCRIPTTYPR_IN", "scriptPath": "/opt/script/script2324354356435345005.py", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522161002", "updateTime": "20190522161002" }, "paramList": [ { "id": "1520374751124746368", "paramName": "INPUT_PARAM009", "paramType": "OUTPUT_TYPE", "paramValue": "out.csv", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522154312", "updateTime": "20190522154312", "taskId": "6834608124000610806" }, { "id": "2251799634628698889", "paramName": "INPUT_PARAM010", "paramType": "INPUT_TYPE", "paramValue": "/etc/test/int.out", "appendType": "FILE_TYPE", "userId": "SoftcomAI_Integration_Test2__zWX611819", "createTime": "20190522154312", "updateTime": "20190522154312", "taskId": "6834608124000610806" } ], "children": [] } ] } ] } }
- 要素说明
参数名
参数类型
备注
success
String
请求是否成功。
returnData
JSON
返回体。
id
String
项目ID。
name
String
项目名称。
description
String
项目描述。
createTime
String
创建时间。
updateTime
String
更新时间。
userId
String
模式,暂无用。
tenantId
String
由目录ID组成的从树根部到节点目录的路径字符串。
tasks
JSONLIST
任务列表。
id (tasks)
String
任务ID。
taskName
String
任务名称。
taskType
String
任务名称。
isKeyTask
String
是否是关键任务。
pId
String
任务的父ID。
rootTask
String
是否是根任务。
createTime (tasks)
String
创建时间。
updateTime (tasks)
String
更新时间。
script
JSON
脚本。
id (script)
String
脚本ID。
scriptName
(script)
String
脚本名称。
scriptType
(script)
String
脚本类型。
scriptPath
(script)
String
脚本路径。
userId
(script)
String
用户信息。
createTime
(script)
String
脚本创建时间。
updateTime
(script)
String
脚本更新时间。
children
String
任务的子任务。
paramList
JSON
参数列表。
id (paramList)
String
参数的ID。
paramName (paramList)
String
参数名称。
paramType (paramList)
String
参数类型。
paramValue (paramList)
String
参数值。
appendType (paramList)
JSON
参数扩展类型。
状态码
具体请参考状态码。