Description: Fetch donators
Ratelimit: 5 per 10s
Permission:
payments.read-all
Required parameters
| Name |
Type |
Description |
| serverId |
number |
The server id |
Query parameters
| Name |
Type |
Description |
Default |
| minimum-amount |
number |
Minimum of global amount for each donator |
❌ |
| sortby |
string |
The column to sort by (enum: playerId | amount) |
❌ |
| page |
number |
The page number (min: 1) |
1 |
| perpage |
number |
The limit of elements per page (min: 1, max: 100) |
10 |
| search |
string |
The search query (only first 50 characters will be considered) |
❌ |
| sortdir |
string |
The direction to sort by (enum: asc | desc) |
desc |
Available codes
| Status |
Code |
Description |
| 200 |
OK |
The request has been successfully completed |
| 400 |
INVALID_MINIMUM-AMOUNT |
The value doesn't follow the requirements |
| 400 |
INVALID_PAGE |
The value doesn't follow the requirements |
| 400 |
INVALID_PERPAGE |
The value doesn't follow the requirements |
| 400 |
INVALID_SEARCH |
The value doesn't follow the requirements |
| 400 |
INVALID_SERVER_ID |
The server id is invalid |
| 400 |
INVALID_SORTBY |
The value doesn't follow the requirements |
| 400 |
INVALID_SORTDIR |
The value doesn't follow the requirements |
| 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 |
SERVER_NOT_FOUND |
The server does not exist |
| 500 |
INTERNAL_ERROR |
An internal error has occured |