Get Load State
Request
GET /api/<db>/get_load_state
Description
Returns the status of the load transaction of the specified label
Path parameters
<db>
Specify database
Query parameters
label
Specify label
Request body
None
Response
{
"msg": "success",
"code": 0,
"data": "VISIBLE",
"count": 0
}
If label does not exist, return:
{
"msg": "success",
"code": 0,
"data": "UNKNOWN",
"count": 0
}
Examples
Get the status of the load transaction of the specified label.
GET /api/example_db/get_load_state?label=my_label
{
"msg": "success",
"code": 0,
"data": "VISIBLE",
"count": 0
}