player.read
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| guildId | string | The Discord guild id where you wan't to fetch the member |
| userId | string | The Discord user id of the member you wan't to fetch |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_SERVER_ID |
The server id is invalid | |
UNAUTHORIZED |
The token is invalid or expired | |
ACCESS_DENIED |
The token or the author does not have the required permissions | |
DISCORD_CONNECTION_REQUIRED |
You need a Discord account link to your Steam Account to access to the route | |
MEMBER_NOT_FOUND |
We didn't found any member with this user id | |
PLAYER_NOT_FOUND |
We didn't found any player with this member | |
SERVER_NOT_FOUND |
We didn't found any server with this guild id | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"
number
string
string
date
date
date | null
string | null
string
number
string
string | null
string | null
number
number
number
string
string
number | null
number
string
date | null
string
string
player.read
small parameter will not work with ticketType parameter
uuids parameter will not work with the search parameter
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| Name | Type | Description | Default |
|---|---|---|---|
| from | date | The start date to fetch the players list | ❌ |
| online | boolean | Fetch only the online players | ❌ |
| permission | string | Fetch only the players with the specified permissions | ❌ |
| teamManagementCategories | string | Fetch only the players with the specified team management categories (separated by a comma) | ❌ |
| allowAdministrators | boolean | Only work if teamManagementCategories is specified (allow to fetch the administrators) else, it will be ignored |
❌ |
| ticketType | string | Fetch only the players which have an access to a specific ticket type | ❌ |
| small | boolean | If you want the minimum of informations possible (id, name, serverId, uuid, avatarUrl, accountType) |
❌ |
| uuids | string | To search players by their uuids (comma separated) | ❌ |
| 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) | ❌ |
| sortby | string | The column to sort by | id |
| sortdir | string | The direction to sort by (enum: ) |
desc |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_ALLOW_ADMINISTRATORS |
The value doesn't follow the requirements | |
INVALID_FROM |
The value doesn't follow the requirements | |
INVALID_ONLINE |
The value doesn't follow the requirements | |
INVALID_PAGE |
The value doesn't follow the requirements | |
INVALID_PERMISSION |
The value doesn't follow the requirements | |
INVALID_PERPAGE |
The value doesn't follow the requirements | |
INVALID_SEARCH |
The value doesn't follow the requirements | |
INVALID_SERVER_ID |
The server id is invalid | |
INVALID_SMALL |
The value doesn't follow the requirements | |
INVALID_SORTBY |
The value doesn't follow the requirements | |
INVALID_SORTDIR |
The value doesn't follow the requirements | |
INVALID_TEAM_MANAGEMENT_CATEGORIES |
The value doesn't follow the requirements | |
INVALID_TEAM_MANAGEMENT_CATEGORY |
The team management category doesn't exists | |
INVALID_TICKET_TYPE |
The value doesn't follow the requirements | |
INVALID_UUIDS |
The value doesn't follow the requirements | |
UNAUTHORIZED |
The token is invalid or expired | |
ACCESS_DENIED |
The token or the author does not have the required permissions | |
DISCORD_CONNECTION_REQUIRED |
You need a Discord account link to your Steam Account to access to the route | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"
number
string
string
date
date
date | null
string | null
string
number
string
string | null
string | null
number
number
number
string
string
number | null
number
string
date | null
string
string
number
number
number
number
number
string
string | null
player.read
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_SERVER_ID |
The server id is invalid | |
UNAUTHORIZED |
The token is invalid or expired | |
ACCESS_DENIED |
The token or the author does not have the required permissions | |
DISCORD_CONNECTION_REQUIRED |
You need a Discord account link to your Steam Account to access to the route | |
PLAYER_NOT_FOUND |
The player was not found | |
PLAYER_NOT_FOUND |
The uuid doesn't refer to an existing player | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"
number
string
string
date
date
date | null
string | null
string
number
string
string | null
string | null
number
number
number
string
string
number | null
number
string
date | null
string
string