StatsHub Docs
APIEndpoint referenceDashboard

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

A rule tells the bot which position moves not to alert on: a striker listed at centre-forward is noise, not news.

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

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.

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Query Parameters

leagueGroupId?string
ruleType?string

Response Body

application/json

application/json

application/json

application/json

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