最近任务列表
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
easygene:ListUserActiveRuns |
list |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| MaxResults |
integer |
否 |
最大返回个数。 |
3 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
DA980AD0-158F-44F3-847D-5EAB96C0EB6B |
| HostId |
string |
主机 ID。 |
easygene.cn-beijing.aliyuncs.com |
| MaxResults |
integer |
最大返回结果数。 |
10 |
| NextToken |
string |
下次查询 Token。 |
MTIzNDU2P1dvcmtzcGFjZT93cy1mMDE4OTgxNGU1ZTkK |
| TotalCount |
integer |
返回结果总数。 |
10 |
| Runs |
array<object> |
运行任务列表。 |
|
|
array<object> |
运行任务信息。 |
||
| AppName |
string |
应用名称。 |
MyApp |
| Source |
string |
应用来源。 |
EasyGene |
| Labels |
object |
任务标签。 |
|
|
string |
标签值。 |
test |
|
| RunName |
string |
任务名称。 |
test-run |
| AppRevision |
string |
应用版本号。 |
1 |
| RunId |
string |
任务 ID。 |
run-13BeYuxc0fxO24uA75UppTiMRoQ |
| Status |
string |
任务状态。 |
Running |
| CreateTime |
string |
任务提交时间,采用 RFC 3339 格式的 UTC 时间。 |
2021-06-10T13:30:20.414557061Z |
| StartTime |
string |
任务开始时间,采用 RFC 3339 格式的 UTC 时间。 |
2021-06-10T13:30:20.414557061Z |
| EndTime |
string |
任务结束时间,采用 RFC 3339 格式的 UTC 时间。 |
2021-06-10T13:30:20.414557061Z |
| SubmissionId |
string |
投递 ID。 |
sub-13BeXWnGvrOl3MC124tazcJVKaV |
| EntityName |
string |
实体名称。 |
s1 |
| EntityType |
string |
实体对象 ID。 |
sample |
| ExecuteDirectory |
string |
任务运行目录。 |
oss://my-bucket/my-execdir/ |
| ExecuteOptions |
object |
任务执行选项。 |
|
| CallCaching |
boolean |
是否开启 CallCaching。 |
false |
| UseRelativeOutputPaths |
boolean |
是否使用相对输出路径。 |
false |
| FailureMode |
string |
失败模式。 |
NoNewCalls |
| DeleteIntermediateResults |
boolean |
是否删除中间文件。 |
false |
| Inputs |
string |
任务输入参数。 |
{ "workflow1.task1.param1": "helloooo.txt", "workflow1.task1.param2": "abc", "workflow1.task2.param1": "new_helloooo.txt", "workflow1.task2.param2": "def" } |
| DefaultRuntime |
string |
默认运行时。 |
{} |
| Workspace |
string |
工作空间名称。 |
test-workspace |
| RegionId |
string |
地域 ID。 |
cn-beijing |
示例
正常返回示例
JSON格式
{
"RequestId": "DA980AD0-158F-44F3-847D-5EAB96C0EB6B",
"HostId": "easygene.cn-beijing.aliyuncs.com",
"MaxResults": 10,
"NextToken": "MTIzNDU2P1dvcmtzcGFjZT93cy1mMDE4OTgxNGU1ZTkK",
"TotalCount": 10,
"Runs": [
{
"AppName": "MyApp",
"Source": "EasyGene",
"Labels": {
"key": "test"
},
"RunName": "test-run",
"AppRevision": "1",
"RunId": "run-13BeYuxc0fxO24uA75UppTiMRoQ",
"Status": "Running",
"CreateTime": "2021-06-10T13:30:20.414557061Z",
"StartTime": "2021-06-10T13:30:20.414557061Z",
"EndTime": "2021-06-10T13:30:20.414557061Z",
"SubmissionId": "sub-13BeXWnGvrOl3MC124tazcJVKaV",
"EntityName": "s1",
"EntityType": "sample",
"ExecuteDirectory": "oss://my-bucket/my-execdir/",
"ExecuteOptions": {
"CallCaching": false,
"UseRelativeOutputPaths": false,
"FailureMode": "NoNewCalls",
"DeleteIntermediateResults": false
},
"Inputs": "{ \"workflow1.task1.param1\": \"helloooo.txt\", \"workflow1.task1.param2\": \"abc\", \"workflow1.task2.param1\": \"new_helloooo.txt\", \"workflow1.task2.param2\": \"def\" }",
"DefaultRuntime": "{}",
"Workspace": "test-workspace",
"RegionId": "cn-beijing"
}
]
}
错误码
|
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. | 缺少必要的参数 |
| 400 | SignatureDoesNotMatch | The specified signature is invalid. | 签名认证错误 |
| 403 | InvalidUser.AccessDenied | The request was denied due to insufficient user permission. | 用户权限不匹配,无权进行本次操作 |
| 404 | InvalidUser.NotFound | The specified user is not found. | 找不到该用户信息,请先购买开通基因云产品 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。