Get Load Info Action

Request

GET /api/<db>/_load_info

Description

Used to obtain the information of the load job of the specified label.

Path parameters

  • <db>

    Specify database

Query parameters

  • label

    Specify load label

Request body

None

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. Get the load job information of the specified 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. }