Players Resource
The Player Object
| Field | Type | Description |
playerId | Int32 | - |
discordAccounts | DiscordAccount[] | - |
steamAccounts | SteamAccount[] | - |
createdDate | DateTime | UTC |
modifiedDate | DateTime? | UTC |
The DiscordAccount Object
| Field | Type | Description |
discordId | string | - |
username | string | The account's full Discord username. |
avatar | string | - |
isGuildMember | bool? | - |
isGuildBooster | bool? | - |
isSoftUnlinked | bool | - |
The SteamAccount Object
| Field | Type | Description |
steamId | string | - |
username | string | - |
avatar | string | - |
isSteamGroupMember | bool? | - |
isSoftUnlinked | bool | - |
One player can have multiple accounts, however one account cannot belong to multiple
players. In the case that two players sign into the same account, the associated Player objects
will be merged.
Example
Get All Players
GET /players
Query String Parameters
| Name | Type | Default | Description |
playerId | Int32 | - | - |
discordId | string | - | - |
steamId | string | - | - |
limit | Int32 | 100 | The number of players to return. At most 100. |
page | Int32 | 0 | The zero-indexed page. |
status | string | linked | Use all to include unlinked accounts. |
createdAfter | DateTime | - | UTC |
modifiedAfter | DateTime | - | UTC |
| Name | Description |
X-Total | The total number of players. |
X-Total-Pages | The total number of pages, calculated using the limit. |
Example