获取任务详情
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
easygene:GetRun |
get |
*Run
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Workspace |
string |
是 |
工作空间名字 |
default-workspace |
| RunId |
string |
是 |
任务 ID |
run-12kDbbqp5O9dfsH0sEdQeRclGQb |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID |
DA980AD0-158F-44F3-847D-5EAB96C0EB6B |
| HostId |
string |
主机 ID |
easygene.cn-beijing.aliyuncs.com |
| Workspace |
string |
工作空间名字 |
test-workspace |
| RunId |
string |
任务 ID |
run-13BeYuxc0fxO24uA75UppTiMRoQ |
| RunName |
string |
任务名称 |
test-run |
| SubmissionId |
string |
提交 ID |
sub-13BeXWnGvrOl3MC124tazcJVKaV |
| Source |
string |
应用来源 |
EasyGene |
| AppName |
string |
应用名称 |
Sentieon |
| AppRevision |
string |
应用版本 |
1 |
| EntityType |
string |
实体类型 |
sample |
| EntityName |
string |
实体对象名称 |
s1 |
| User |
string |
用户 ID |
13579222 |
| Status |
string |
任务状态 枚举值:
|
Running |
| CreateTime |
string |
提交时间,采用 RFC 3339 格式并包含时区信息,例如 2021-06-10T13:30:20.414557061Z。 |
2021-06-10T13:30:20.414557061Z |
| StartTime |
string |
开始时间,采用 RFC 3339 格式并包含时区信息,例如 2021-06-10T13:30:24.414557061Z。 |
2021-06-10T13:30:24.414557061Z |
| EndTime |
string |
结束时间,采用 RFC 3339 格式并包含时区信息,例如 2021-06-10T13:36:20.405878292Z。 |
2021-06-10T13:36:20.405878292Z |
| ExecuteOptions |
object |
任务配置 |
|
| CallCaching |
boolean |
是否开启 CallCaching |
false |
| DeleteIntermediateResults |
boolean |
是否删除中间文件 |
false |
| FailureMode |
string |
失败模式 |
NoNewCalls |
| UseRelativeOutputPaths |
boolean |
相对输出路径 |
false |
| DataLoader |
string |
数据加载模式 |
Mount |
| Inputs |
string |
任务输入 |
{ "workflow1.task1.param1": "helloooo.txt", "workflow1.task1.param2": "abc", "workflow1.task2.param1": "new_helloooo.txt", "workflow1.task2.param2": "def" } |
| Outputs |
string |
任务输出 |
{ "workflow1.bam": "oss://my-bucket/test.bam", "workflow1.vcf": "oss://my-bucket/test.vcf" } |
| Labels |
object |
任务标签 |
|
|
string |
标签 |
test |
|
| OutputFolder |
string |
输出拷贝目录 |
oss://my-bucket/output/ |
| ExecuteDirectory |
string |
任务执行目录 |
oss://my-bucket/exec/ |
| DefaultRuntime |
string |
默认 runtime 值 |
{} |
| Description |
string |
任务描述 |
test run |
| Timing |
string |
时序信息 |
{} |
| Calls |
string |
作业信息 |
{} |
| Failures |
string |
错误信息 |
{} |
| BillingInstanceIds |
array |
任务 task 账单 ID 数组 |
|
|
string |
任务 task 账单 ID |
test_workflow.test_run;-1;1 |
示例
正常返回示例
JSON格式
{
"RequestId": "DA980AD0-158F-44F3-847D-5EAB96C0EB6B",
"HostId": "easygene.cn-beijing.aliyuncs.com",
"Workspace": "test-workspace",
"RunId": "run-13BeYuxc0fxO24uA75UppTiMRoQ",
"RunName": "test-run",
"SubmissionId": "sub-13BeXWnGvrOl3MC124tazcJVKaV",
"Source": "EasyGene",
"AppName": "Sentieon",
"AppRevision": "1",
"EntityType": "sample",
"EntityName": "s1",
"User": "13579222",
"Status": "Running",
"CreateTime": "2021-06-10T13:30:20.414557061Z",
"StartTime": "2021-06-10T13:30:24.414557061Z",
"EndTime": "2021-06-10T13:36:20.405878292Z",
"ExecuteOptions": {
"CallCaching": false,
"DeleteIntermediateResults": false,
"FailureMode": "NoNewCalls",
"UseRelativeOutputPaths": false,
"DataLoader": "Mount"
},
"Inputs": "{ \"workflow1.task1.param1\": \"helloooo.txt\", \"workflow1.task1.param2\": \"abc\", \"workflow1.task2.param1\": \"new_helloooo.txt\", \"workflow1.task2.param2\": \"def\" }",
"Outputs": "{ \"workflow1.bam\": \"oss://my-bucket/test.bam\", \"workflow1.vcf\": \"oss://my-bucket/test.vcf\" }",
"Labels": {
"key": "test"
},
"OutputFolder": "oss://my-bucket/output/",
"ExecuteDirectory": "oss://my-bucket/exec/",
"DefaultRuntime": "{}",
"Description": "test run",
"Timing": "{}",
"Calls": "{}",
"Failures": "{}",
"BillingInstanceIds": [
"test_workflow.test_run;-1;1"
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter %s is invalid. | 无效的参数 |
| 400 | MissingParameter | The input parameter %s that is mandatory for processing this request is not supplied. | 缺少必要的参数 |
| 404 | InvalidUser.NotFound | The specified user is not found. | 找不到该用户信息,请先购买开通基因云产品 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。