player-sessions.read-all
player-sessions.read scope)
staff-statistics.read permission to filter by staffTime
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| filter | string | The filter you wan't to fetch the sessions |
| Name | Type | Description | Default |
|---|---|---|---|
| from | date | The start date where you wan't to fetch the statistics | ❌ |
| to | date | The end date where you wan't to fetch the statistics | ❌ |
| active | boolean | If you wan't to fetch only active sessions | true |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_ACTIVE |
The value doesn't follow the requirements | |
INVALID_FROM |
The value doesn't follow the requirements | |
INVALID_SERVER_ID |
The server id is invalid | |
INVALID_TO |
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
number
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
string
date | null
string
string
number
date | null
string | null
string | null
date
date | null
string
date
date | null
number
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| Name | Type | Description | Default |
|---|---|---|---|
| from | date | The start date where you wan't to fetch the statistics | ❌ |
| to | date | The end date where you wan't to fetch the statistics | ❌ |
| limit | number | The limit of the data length (min: 1, max: 50) |
10 |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_FROM |
The value doesn't follow the requirements | |
INVALID_LIMIT |
The value doesn't follow the requirements | |
INVALID_SERVER_ID |
The server id is invalid | |
INVALID_TO |
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
string
date | null
string
string
number
date | null
string | null
string | null
date
date | null
number
player-sessions.read-me
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| Name | Type | Description | Default |
|---|---|---|---|
| from | date | The start date where you wan't to fetch the sessions | 0 |
| to | date | The end date where you wan't to fetch the sessions | Current date |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_FROM |
The value doesn't follow the requirements | |
INVALID_SERVER_ID |
The server id is invalid | |
INVALID_TO |
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
number
string
date
date | null
number
player-sessions.read-me
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| Name | Type | Description | Default |
|---|---|---|---|
| from | date | The start date where you wan't to fetch the presence pourcentage | 0 |
| to | date | The end date where you wan't to fetch the presence pourcentage | Current date |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_FROM |
The value doesn't follow the requirements | |
INVALID_SERVER_ID |
The server id is invalid | |
INVALID_TO |
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
number | null
player-sessions.read staff-statistics.read permission to filter by staffTime
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| Name | Type | Description | Default |
|---|---|---|---|
| from | date | The start date where you wan't to fetch the sessions | 0 |
| to | date | The end date where you wan't to fetch the sessions | Current date |
| filters | string | The filters you wan't to apply to the sessions (separated by a comma) | All filters |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_FILTERS |
The value doesn't follow the requirements | |
INVALID_FROM |
The value doesn't follow the requirements | |
INVALID_SERVER_ID |
The server id is invalid | |
INVALID_TO |
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 | |
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
number
string
date
date | null
number
player-sessions.read staff-statistics.read permission to filter by staffTime
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| filter | string | The filter you wan't to get the global duration |
| Name | Type | Description | Default |
|---|---|---|---|
| from | date | The start date where you wan't to fetch the duration | 0 |
| to | date | The end date where you wan't to fetch the duration | Current date |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_FROM |
The value doesn't follow the requirements | |
INVALID_SERVER_ID |
The server id is invalid | |
INVALID_TO |
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 | |
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
player-sessions.read staff-statistics.read permission to fetch the staff presence pourcentage
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| Name | Type | Description | Default |
|---|---|---|---|
| from | date | The start date where you wan't to fetch the presence pourcentage | 0 |
| to | date | The end date where you wan't to fetch the presence pourcentage | Current date |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_FROM |
The value doesn't follow the requirements | |
INVALID_SERVER_ID |
The server id is invalid | |
INVALID_TO |
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 | |
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
number | null
player-sessions.read staff-statistics.read permission to consider the staffTime filter
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| Name | Type | Description | Default |
|---|---|---|---|
| from | date | The start date where you wan't to fetch the statistics | 0 |
| to | date | The end date where you wan't to fetch the statistics | Current date |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
INVALID_FROM |
The value doesn't follow the requirements | |
INVALID_SERVER_ID |
The server id is invalid | |
INVALID_TO |
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 | |
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
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| 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 | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"
string[]