任务列表

获取任务列表

请求地址: https://app.3dcat.live/api/3dcat/application/task

请求方法:GET

请求参数:

字段名类型是否必填说明
currentint当前页(从1开始)
sizeint一页数目
appNameString应用名称(模糊查询)
completedbooleantrue:查询已完成的任务 false:查询进行中的任务

返回结果

字段名类型说明
taskNameString任务名称
appIdString应用id
appNameString应用名称
nodeIdString节点机id
startTimeString任务开始时间
endTimeString任务结束时间
minuteString任务运行时长
machineDesString机型描述
machineAttrString机型
unitLong机型每分钟单价(分)
consumerTypeint1包机-测试2包机-正式3计量
totalAmountint总消费金额(分)

返回内容示例:

{
  "version": "1.0.0",
  "result": true,
  "message": "success",
  "code": 200,
  "data": {
    "records": [
      {
        "taskName": "1443103845306732544",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 14:42:23",
        "endTime": "2021-09-29 14:46:22",
        "minute": 4,
        "machineDes": null,
        "machineAttr": null,
        "unit": 0,
        "consumerType": 3,
        "totalAmount": 0
      },
      {
        "taskName": "1443103804370325504",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 14:42:13",
        "endTime": "2021-09-29 14:43:42",
        "minute": 2,
        "machineDes": "高级RTX GPU",
        "machineAttr": "Advanced",
        "unit": 10,
        "consumerType": 3,
        "totalAmount": 20
      },
      {
        "taskName": "1443103513809915904",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 14:41:04",
        "endTime": "2021-09-29 14:42:18",
        "minute": 2,
        "machineDes": "旗舰型RTX",
        "machineAttr": "Professional",
        "unit": 15,
        "consumerType": 3,
        "totalAmount": 30
      },
      {
        "taskName": "1443045915127582720",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 10:50:38",
        "endTime": "2021-09-29 10:53:43",
        "minute": 4,
        "machineDes": "旗舰型RTX",
        "machineAttr": "Professional",
        "unit": 15,
        "consumerType": 3,
        "totalAmount": 60
      },
      {
        "taskName": "1443044957488287744",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 10:48:23",
        "endTime": "2021-09-29 11:05:42",
        "minute": 18,
        "machineDes": "旗舰型RTX",
        "machineAttr": "Professional",
        "unit": 15,
        "consumerType": 3,
        "totalAmount": 270
      },
      {
        "taskName": "1443042790014586880",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 10:39:46",
        "endTime": "2021-09-29 10:42:30",
        "minute": 3,
        "machineDes": "旗舰型RTX",
        "machineAttr": "Professional",
        "unit": 15,
        "consumerType": 3,
        "totalAmount": 45
      },
      {
        "taskName": "1443041343436886016",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 10:34:01",
        "endTime": "2021-09-29 10:39:11",
        "minute": 6,
        "machineDes": "旗舰型RTX",
        "machineAttr": "Professional",
        "unit": 15,
        "consumerType": 3,
        "totalAmount": 90
      },
      {
        "taskName": "1443039350819524608",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 10:26:06",
        "endTime": "2021-09-29 10:33:06",
        "minute": 7,
        "machineDes": "旗舰型RTX",
        "machineAttr": "Professional",
        "unit": 15,
        "consumerType": 3,
        "totalAmount": 105
      },
      {
        "taskName": "1443033195338665984",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 10:01:38",
        "endTime": "2021-09-29 10:06:48",
        "minute": 6,
        "machineDes": "高级RTX GPU",
        "machineAttr": "Advanced",
        "unit": 10,
        "consumerType": 3,
        "totalAmount": 60
      },
      {
        "taskName": "1443031952583168000",
        "appId": 2409,
        "appName": "Citypark",
        "nodeIp": "192.169.0.1",
        "userId": 10000000,
        "userName": "wsh_1234",
        "startTime": "2021-09-29 09:56:42",
        "endTime": "2021-09-29 10:01:31",
        "minute": 5,
        "machineDes": "旗舰型RTX",
        "machineAttr": "Professional",
        "unit": 15,
        "consumerType": 3,
        "totalAmount": 75
      }
    ],
    "total": 1712,
    "size": 10,
    "current": 1,
    "orders": [

    ],
    "searchCount": true,
    "pages": 172
  },
  "serverTime": 1632898304148,
  "requestId": "da055f118b7f4773"
}
QQ: 912428984
+86 18588403835