Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 1.15 KB

broker_stop.md

File metadata and controls

57 lines (45 loc) · 1.15 KB

broker_stop

The broker_stop interface will stop a specified broker.

Permissions required to run this task: one of DBC, DBO, BRK

Request JSON Syntax

Key Description
task task name
token token returned by login
bname name of the broker to stop
async default "no", if "yes" run the task in asynchronous mode
  • The status of a task running in asynchronous mode can be checked using the 'gettaskstatus' api

Request Sample

{
  "task": "broker_stop",
  "token": "cdfb4c5717170c5e9c6856b4d1c61ee8132bcc7d82bd609066ed9ece2554c47f7926f07dd201b6aa",
  "bname": "broker1",
  "async":"yes"
}

Response JSON Syntax

Key Description
note if failed, a brief description will be given here
status execution result, success or failed.
task task name

Response Sample

    {
    "__EXEC_TIME" : "1200 ms",
    "note" : "none",
    "status" : "success",
    "task" : "broker_stop"
    }

Response Sample (async mode)

{
   "job-status" : "running",
   "note" : "none",
   "status" : "success",
   "task" : "broker_stop",
   "uuid" : "1877908931382247367"
}