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

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