Get Load State
Request
GET /api/<db>/get_load_state
Description
返回指定label的导入事务的状态
Path parameters
<db>
指定数据库
Query parameters
label
指定导入label
Request body
无
Response
{
"msg": "success",
"code": 0,
"data": "VISIBLE",
"count": 0
}
如label不存在,则返回:
{
"msg": "success",
"code": 0,
"data": "UNKNOWN",
"count": 0
}
Examples
获取指定label的导入事务的状态。
GET /api/example_db/get_load_state?label=my_label
{
"msg": "success",
"code": 0,
"data": "VISIBLE",
"count": 0
}