Move rule
/api/rules/{id}/moveMove a rule one place up or down; the rule it passes takes its number. Returns the list in its new order.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/rules/497f6eca-6276-4993-bfeb-53cbbbba6f08/move" \ -H "Content-Type: application/json" \ -d '{ "direction": null }'{ "rules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "number": 0, "title": "string", "text": "string", "updatedAt": "2019-08-24T14:15:22Z" } ], "canEdit": true}Update rule PUT
Replace a rule's title and text. A refusal (400) says what is wrong in error. Needs the `ManageSettings` permission.
Get whether the channel is live on Twitch GET
What the Live and Now pages' Live on Twitch card shows: `on` is false when the poll is off or Twitch is not set up, and `stream` is null when the channel is not live. The card redraws on the live stream's `modbot.twitch.` facts. Needs the `ViewLiveInstances` permission.