更新时间:2021-12-17 GMT+08:00
分享

查询采集任务状态列表

功能介绍

查询采集任务状态列表。

URI

  • URI格式
    GET /softcomai/datalake/collection/v1.0/tasks/status
  • 参数说明

    无。

请求

  • 请求样例
    https://localhost:port/softcomai/datalake/collection/v1.0/tasks/status
  • 参数说明

    无。

响应

  • 响应样例
    {
    "success": true,
    "returnData": [
    {
    "status": "init",
    "total": 11
    },
    {
    "status": "collecting",
    "total": 13
    },
    {
    "status": "finished",
    "total": 13
    },
    {
    "status": "error",
    "total": 1
    }
    ]
    }
  • 要素说明

    参数名

    参数类型

    备注

    success

    boolean

    请求是否成功。

    errorMsg

    String

    错误描述。

    errorCode

    String

    错误码。

    returnData

    Object

    返回值。

    status

    String

    状态。

    total

    String

    任务数。

状态码

具体请参考状态码

分享:

    相关文档

    相关产品