Description: Fetch your claimed tickets statistics
Ratelimit: 5 per 10s
Permission: tickets-statistics.read

Required parameters
Name Type Description
serverId number The server id
Query parameters
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
Available codes
Status Code Description
200 OK The request has been successfully completed
400 INVALID_FROM The value doesn't follow the requirements
400 INVALID_SERVER_ID The server id is invalid
400 INVALID_TO 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
Response structure
  • code: "OK"
  • data[]:
    • date: date
    • amount: number

Description: Fetch your claimed tickets reasons statistics
Ratelimit: 5 per 10s
Permission: tickets-statistics.read

Required parameters
Name Type Description
serverId number The server id
Query parameters
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
Available codes
Status Code Description
200 OK The request has been successfully completed
400 INVALID_FROM The value doesn't follow the requirements
400 INVALID_SERVER_ID The server id is invalid
400 INVALID_TO 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
Response structure
  • code: "OK"
  • data[]:
    • reason: string
    • amount: number

Description: Fetch player claimed tickets statistics
Ratelimit: 5 per 10s
Permission: tickets-statistics.read

Required parameters
Name Type Description
serverId number The server id
uuid string The player uuid
Query parameters
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
Available codes
Status Code Description
200 OK The request has been successfully completed
400 INVALID_FROM The value doesn't follow the requirements
400 INVALID_SERVER_ID The server id is invalid
400 INVALID_TO 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 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[]:
    • date: date
    • amount: number

Description: Fetch player claimed tickets reasons statistics
Ratelimit: 5 per 10s
Permission: tickets-statistics.read

Required parameters
Name Type Description
serverId number The server id
uuid string The player uuid
Query parameters
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
Available codes
Status Code Description
200 OK The request has been successfully completed
400 INVALID_FROM The value doesn't follow the requirements
400 INVALID_SERVER_ID The server id is invalid
400 INVALID_TO 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 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[]:
    • reason: string
    • amount: number

Description: Fetch the top 10 of the most tickets claimers
Ratelimit: 5 per 10s
Permission: tickets-statistics.read

Required parameters
Name Type Description
serverId number The server id
Query parameters
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
Available codes
Status Code Description
200 OK The request has been successfully completed
400 INVALID_FROM The value doesn't follow the requirements
400 INVALID_SERVER_ID The server id is invalid
400 INVALID_TO 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
Response structure
  • code: "OK"
  • data[]:
    • player:
      • id: number
      • name: string
      • uuid: string
      • firstConnection: date
      • lastConnection: date
      • lastDashboardConnection: date | null
      • accountName: string | null
      • accountType: string
      • accountId: number
      • avatarUrl: string
      • discordUsername: string | null
      • discordDiscriminator: string | null
      • serverId: number
      • roles[]:
        • serverId: number
        • id: number
        • name: string
        • color: string
        • position: number | null
        • categories:
          • id: number
          • name: string
        • deletedAt: date | null
      • language:
        • alpha2: string
        • name: string
    • amount: number
    • type: string