Description: Fetch player badges
Ratelimit: 5 per 10s
Permission:
player-badges.read
Required parameters
| Name |
Type |
Description |
| serverId |
number |
The server id |
| uuid |
string |
The player uuid |
Query parameters
| Name |
Type |
Description |
Default |
| lang |
string |
The language of the badge data |
fr |
Available codes
| Status |
Code |
Description |
| 200 |
OK |
The request has been successfully completed |
| 400 |
INVALID_LANG |
The value doesn't follow the requirements |
| 400 |
INVALID_SERVER_ID |
The server id is invalid |
| 401 |
UNAUTHORIZED |
The token is invalid or expired |
| 403 |
ACCESS_DENIED |
The token or the author does not have the required permissions |
| 403 |
DISCORD_CONNECTION_REQUIRED |
You need a Discord account link to your Steam Account to access to the route |
| 404 |
LANGUAGE_NOT_FOUND |
The language was not found |
| 404 |
PLAYER_NOT_FOUND |
The uuid doesn't refer to an existing player |
| 404 |
SERVER_NOT_FOUND |
The server does not exist |
| 500 |
INTERNAL_ERROR |
An internal error has occured |
Response structure
-
code:
"OK"
-
data[]:
-
id:
number
-
category:
-
id:
number
-
name:
string
-
deletedAt:
date | null
-
iconPath:
string
-
fullIconPath:
string
-
value:
number
-
deletedAt:
date | null
-
translations?:
-
name:
string | null
-
description:
string | null
-
addedAt:
date
-
revokedAt:
date | null