Switches counting on or off, says who sees your badges, pins up to three and keeps any back
PUT
/api/v1/badges/settings - Přihlášení
- Bez scope
- Scope
- Žádný
- Nástroj MCP
badges.setSettings
Parametry
Žádné.
Tělo požadavku
| Pole | Typ a význam |
|---|---|
enabled | boolean Count badges at all. Off keeps what was earned and shows it to nobody. |
hidden | array of string Badge ids nobody else ever sees (every season of them) |
onBoard | boolean Be on the public board. Off takes you off it; your collection stays as visible as visibility says. |
showcase | array of string Up to three earned badges shown first on your profile: an id |
visibility | "public" | "friends" | "nobody" Who besides you sees your badges. Only public ones are on the board. |
Odpověď 200
| Pole | Typ a význam |
|---|---|
categories vždy | array of object |
categories[].id vždy | string |
categories[].name vždy | string |
counts vždy | object |
counts.brass vždy | integer |
counts.copper vždy | integer |
counts.gold vždy | integer |
counts.total vždy | integer |
counts.unlocked vždy | integer |
enabled vždy | boolean |
hidden vždy | array of string |
items vždy | array of object |
items[].animation | string |
items[].art | string |
items[].category vždy | string |
items[].current | boolean |
items[].how vždy | string |
items[].icon vždy | string |
items[].id vždy | string |
items[].manual | boolean |
items[].name vždy | string |
items[].of | integer |
items[].progress | integer |
items[].quiet | boolean |
items[].reason | string |
items[].ref vždy | string |
items[].retired | boolean |
items[].season | string |
items[].seasonName | string |
items[].secret | boolean |
items[].serial | integer |
items[].tiers vždy | array of object |
items[].tiers[].backfill | boolean |
items[].tiers[].metal vždy | string |
items[].tiers[].new | boolean |
items[].tiers[].rarity | number |
items[].tiers[].threshold | integer |
items[].tiers[].unlockedAt | string |
onBoard vždy | boolean |
season | object |
season.id vždy | string |
season.name vždy | string |
showcase vždy | array of string |
visibility vždy | string |
Chyby
| Stav | Typ a význam |
|---|---|
400 | The request was not understood. |
401 | Sign in and try again. |
404 | There is nothing here, or nothing you may see. |
429 | Too many requests. |
500 | Something on our side went wrong. |
Každá chyba přijde jako { code, message, requestId }. Chyby