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β
{
"msg": "success",
"code": 0,
"data": {
"dbName": "default_cluster:db1",
"tblNames": ["tbl1"],
"label": "my_label",
"clusterName": "default_cluster",
"state": "FINISHED",
"failMsg": "",
"trackingUrl": ""
},
"count": 0
}
Examplesβ
-
Get the load job information of the specified label
GET /api/example_db/_load_info?label=my_label
Response
{
"msg": "success",
"code": 0,
"data": {
"dbName": "default_cluster:db1",
"tblNames": ["tbl1"],
"label": "my_label",
"clusterName": "default_cluster",
"state": "FINISHED",
"failMsg": "",
"trackingUrl": ""
},
"count": 0
}