Cancel Load Action
Cancel Load Action
Requestβ
POST /api/<db>/_cancel
Descriptionβ
Used to cancel the load transaction of the specified label. RETURN VALUES Return a JSON format string: Status: Success: cancel succeed Others: cancel failed Message: Error message if cancel failed
Path parametersβ
<db>
Specify the database name
Query parametersβ
<label>
Specify the load label
Request bodyβ
None
Responseβ
Cancel success
{
"msg": "OK",
"code": 0,
"data": null,
"count": 0
}Cancel failed
{
"msg": "Error msg...",
"code": 1,
"data": null,
"count": 0
}
Examplesβ
Cancel the load transaction of the specified label
POST /api/example_db/_cancel?label=my_label1
Response:
{
"msg": "OK",
"code": 0,
"data": null,
"count": 0
}