github-languages.read and github-languages.read
| 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"
number
string
string
string
string
github-languages.read
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| category | string | The category to get sentences from |
| 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 | |
CATEGORY_NOT_FOUND |
The category doesn't exist | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"
number
string
string
string
string
github-languages.{langAlpha2}-manage scope to use this endpoint (where {langAlpha2} is the language alpha2 code)
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| alpha2 | string | The language alpha2 code |
| category | string | The category to get sentences from |
| Key | Type | Structure | Description | Default | Required |
|---|---|---|---|---|---|
| sentences | array |
|
The sentences to update | ❌ | ✅ |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
BAD_BODY |
The request body is invalid | |
INVALID_SENTENCES |
The value sentences doesn't follow the requirements |
|
INVALID_SERVER_ID |
The server id is invalid | |
MISSING_BODY |
The request does not have a body | |
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 | |
CATEGORY_NOT_FOUND |
The category doesn't exist | |
LANGUAGE_NOT_FOUND |
The language doesn't exist | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"