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

上报采集过程

功能介绍

采集过程上报。

URI

  • URI格式
    POST /softcomai/datalake/collection/v1.0/report/process
  • 参数说明

    无。

请求

  • 请求样例
    POST https://ip:port/softcomai/datalake/collection/v1.0/report/process
    {
    "taskId": "0b04c48edd9a4eea896e774f4bb30702",
    "startTime": 1615630658267,
    "uploadedCount": 1,
    "uploadedSize": 43,
    "progress": 0,
    "costTime": 1,
    "avgRate": "0.00",
    "predictEndTime": 1615633576543,
    "recordCount": 0,
    "cusName": "KGEJ0VWAMBPWNJXGZAU3",
    "cusId": "*******************************************"
    }
  • 参数说明

    参数名

    是否必选

    参数类型

    备注

    taskId

    String

    任务ID。

    startTime

    Long

    采集开始时间。

    uploadedCount

    Int

    已上传文件数量。

    uploadedSize

    Long

    已上传文件大小。

    progress

    Int

    完成百分比。

    costTime

    Int

    已上传时长。

    avgRate

    String

    平均速率。

    predictEndTime

    Long

    预计完成时间。

    recordCount

    Int

    已上传的记录条数。

    cusName

    String

    AK。

    cusId

    String

    SK。

响应

  • 响应样例
    {"success":true,"returnData": success }
  • 要素说明

    参数名

    参数类型

    备注

    success

    Boolean

    请求是否成功。

    returnData

    object

    返回值。

状态码

具体请参考状态码

分享:

    相关文档

    相关产品