Description: Get all sentences
Ratelimit: 5 per 10s
Permissions: github-languages.read and github-languages.read

Required parameters
Name Type Description
serverId number The server id
Available codes
Status Code Description
200 OK The request has been successfully completed
400 INVALID_SERVER_ID The server id is invalid
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:
    • id: number
    • category: string
    • name: string
    • translations:
      • [language_alpha2]: string
      • default: string

Description: Get all sentences for a category
Ratelimit: 5 per 10s
Permission: github-languages.read

Required parameters
Name Type Description
serverId number The server id
category string The category to get sentences from
Available codes
Status Code Description
200 OK The request has been successfully completed
400 INVALID_SERVER_ID The server id is invalid
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 CATEGORY_NOT_FOUND The category doesn't exist
404 SERVER_NOT_FOUND The server does not exist
500 INTERNAL_ERROR An internal error has occured
Response structure
  • code: "OK"
  • data:
    • id: number
    • category: string
    • name: string
    • translations:
      • [language_alpha2]: string
      • default: string

Description: Update all sentences for a category
Ratelimit: 5 per 10s

Required parameters
Name Type Description
serverId number The server id
alpha2 string The language alpha2 code
category string The category to get sentences from
Required body
Key Type Structure Description Default Required
sentences array
  • id: number
  • translation: string
The sentences to update
Available codes
Status Code Description
200 OK The request has been successfully completed
400 BAD_BODY The request body is invalid
400 INVALID_SENTENCES The value sentences doesn't follow the requirements
400 INVALID_SERVER_ID The server id is invalid
400 MISSING_BODY The request does not have a body
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 CATEGORY_NOT_FOUND The category doesn't exist
404 LANGUAGE_NOT_FOUND The language doesn't exist
404 SERVER_NOT_FOUND The server does not exist
500 INTERNAL_ERROR An internal error has occured
Response structure
  • code: "OK"