Get Load Info Action

Request

GET /api/<db>/_load_info

Description

用于获取指定label的导入作业的信息。

Path parameters

  • <db>

    指定数据库

Query parameters

  • label

    指定导入Label

Request body

Response

  1. {
  2. "msg": "success",
  3. "code": 0,
  4. "data": {
  5. "dbName": "default_cluster:db1",
  6. "tblNames": ["tbl1"],
  7. "label": "my_label",
  8. "clusterName": "default_cluster",
  9. "state": "FINISHED",
  10. "failMsg": "",
  11. "trackingUrl": ""
  12. },
  13. "count": 0
  14. }

Examples

  1. 获取指定 label 的导入作业信息

    1. GET /api/example_db/_load_info?label=my_label
    2. Response
    3. {
    4. "msg": "success",
    5. "code": 0,
    6. "data": {
    7. "dbName": "default_cluster:db1",
    8. "tblNames": ["tbl1"],
    9. "label": "my_label",
    10. "clusterName": "default_cluster",
    11. "state": "FINISHED",
    12. "failMsg": "",
    13. "trackingUrl": ""
    14. },
    15. "count": 0
    16. }