StatsHub Docs
Endpoint referenceDashboard

/dashboard/bot/position-change-avoid-rules

SECURITY: unauthenticated, as in the original, and three of the four verbs write.

GET
/api/v2/dashboard/bot/position-change-avoid-rules

SECURITY: unauthenticated, as in the original, and three of the four verbs write. See the task on the admin bot endpoints.

A rule tells the bot which position moves not to alert on: a striker listed at centre-forward is noise, not news. Rules are either global or scoped to a group of competitions.

Query Parameters

leagueGroupId?string
ruleType?string

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/dashboard/bot/position-change-avoid-rules"
[  {    "createdAt": "string",    "fromPosition": "string",    "id": 0,    "isEnabled": true,    "leagueGroupId": 0,    "leagueGroupName": "string",    "ruleType": "string",    "toPosition": "string",    "updatedAt": "string"  }]