Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 748 Bytes

shard_start.md

File metadata and controls

41 lines (31 loc) · 748 Bytes

shard_start

Start shards or turn on a shard.

Request Json Syntax

Key Description
task task name
token token string encrypted.
shardname turn on a shard if a shardname is defined.

Request Sample

{
  "task": "shard_start",
  "token": "4504b930fc1be99bf5dfd31fc5799faaa3f117fb903f397de087cd3544165d857926f07dd201b6aa",
  "shardname": "demoshard1"
}

Response Json Syntax

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

Response Sample

{
   "__EXEC_TIME" : "72 ms",
   "note" : "none",
   "status" : "success",
   "task" : "shard_start"
}