Update Shard Config

Update Shard Config

PATCH
/node/shards/config
/node/shards/config

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

flowGateboolean

flowGateModestring

Value in: "LIMIT" | "FLOW"

flowGateLimitnumber

flowGateRatenumber

a percentage

flowForceLimitboolean

newShardboolean

titanic_systemboolean

solve_captchaboolean

login_system_2boolean

login_1_as_backupboolean

loginCacheboolean

forceCancelationboolean

loginAccountCacheboolean

curl -X PATCH "https://api.t4b.top/node/shards/config" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "flowGate": true,
    "flowGateMode": "LIMIT",
    "flowGateLimit": 0,
    "flowGateRate": 0,
    "flowForceLimit": true,
    "newShard": true,
    "titanic_system": true,
    "solve_captcha": true,
    "login_system_2": true,
    "login_1_as_backup": true,
    "loginCache": true,
    "forceCancelation": true,
    "loginAccountCache": true
  }'

Ok

{
  "data": {
    "flowGate": true,
    "flowGateMode": "LIMIT",
    "flowGateLimit": 100,
    "flowGateRate": 100,
    "flowForceLimit": true,
    "newShard": true,
    "titanic_system": true,
    "solve_captcha": true,
    "login_system_2": true,
    "login_1_as_backup": true,
    "loginCache": true,
    "forceCancelation": true,
    "loginAccountCache": true
  },
  "statusCode": 200
}