Unofficial Gaius API docs Built by Flammableassassin
If you wish to contribute feel free to here https://github.com/flamableassassin/openapi-docs/
Each group has a link to the discord messages from the original API docs. Join the discord server with this invite: https://discord.gg/C7SxkVh
Endpoints for wordlists
ListName | string |
List of words to add to the list.
Array of objects (wordlist) |
{- "words": [
- {
- "word": "string",
- "flags": [
- "string"
]
}
]
}
{- "added": [
- {
- "word": "string",
- "flags": [
- "string"
]
}
], - "invalid": [
- "you pass 'invalid word' instead of {word, flags} and you get 'invalid word'"
]
}
ListName | string |
List of words to add to the list.
Array of objects (wordlist) |
{- "words": [
- {
- "word": "string",
- "flags": [
- "string"
]
}
]
}
{- "added": [
- {
- "word": "string",
- "flags": [
- "string"
]
}
], - "invalid": [
- "you pass 'invalid word' instead of {word, flags} and you get 'invalid word'"
]
}
ListName | string |
List of words to delete from the list
words | Array of strings |
{- "words": [
- "string"
]
}
[ ]
Get a random picture
Endpoint for case logs
{- "property1": {
- "casenum": 0,
- "type": "ban",
- "time": 0,
- "userid": "string",
- "modid": "string",
- "reason": "string",
- "date": 0
}, - "property2": {
- "casenum": 0,
- "type": "ban",
- "time": 0,
- "userid": "string",
- "modid": "string",
- "reason": "string",
- "date": 0
}, - "totalCases": "string"
}
Fetch all caselogs for a user ID
UserID | string <Snowflake> Either a User ID |
{- "property1": {
- "casenum": 0,
- "type": "ban",
- "time": 0,
- "userid": "string",
- "modid": "string",
- "reason": "string",
- "date": 0
}, - "property2": {
- "casenum": 0,
- "type": "ban",
- "time": 0,
- "userid": "string",
- "modid": "string",
- "reason": "string",
- "date": 0
}
}
Get all caselogs that occurred after the given timestamp or ISO date. Invalid dates are: before 2016, and 1 minute after the current time
string or string Examples: 2022-09-27 18:00:00.000 |
[- {
- "property1": {
- "casenum": 0,
- "type": "ban",
- "time": 0,
- "userid": "string",
- "modid": "string",
- "reason": "string",
- "date": 0
}, - "property2": {
- "casenum": 0,
- "type": "ban",
- "time": 0,
- "userid": "string",
- "modid": "string",
- "reason": "string",
- "date": 0
}
}
]
Get all caselogs that occurred before the given timestamp or ISO date. Invalid dates are: before 2016, and 1 minute after the current time
string or string Examples: 2022-09-27 18:00:00.000 |
[- {
- "property1": {
- "casenum": 0,
- "type": "ban",
- "time": 0,
- "userid": "string",
- "modid": "string",
- "reason": "string",
- "date": 0
}, - "property2": {
- "casenum": 0,
- "type": "ban",
- "time": 0,
- "userid": "string",
- "modid": "string",
- "reason": "string",
- "date": 0
}
}
]
Endpoints for fetching warnings
Fetch all warnings for a user ID or the warning with the corresponding ID
string or integer Either a User ID or note ID |
[- {
- "guildid": "string",
- "warnid": 0,
- "userid": "string",
- "reason": "string",
- "warndate": 0,
- "pardonerid": "string",
- "pardondate": 0,
- "modid": "string"
}
]
Get all warnings that occurred after the given timestamp or ISO date. Invalid dates are: before 2016, and 1 minute after the current time
string or string Examples: 2022-09-27 18:00:00.000 |
[- [
- {
- "guildid": "string",
- "warnid": 0,
- "userid": "string",
- "reason": "string",
- "warndate": 0,
- "pardonerid": "string",
- "pardondate": 0,
- "modid": "string"
}
]
]
Get all warnings that occurred before the given timestamp or ISO date. Invalid dates are: before 2016, and 1 minute after the current time
string or string Examples: 2022-09-27 18:00:00.000 |
[- [
- {
- "guildid": "string",
- "warnid": 0,
- "userid": "string",
- "reason": "string",
- "warndate": 0,
- "pardonerid": "string",
- "pardondate": 0,
- "modid": "string"
}
]
]
Endpoints for modlogs
{- "property1": {
- "bans": 0,
- "kicks": 0,
- "softbans": 0,
- "mutes": 0,
- "warns": 0,
- "vcmutes": 0,
- "vcbans": 0,
- "unmutes": 0,
- "purgewarns": 0,
- "pardons": 0,
- "unbans": 0
}, - "property2": {
- "bans": 0,
- "kicks": 0,
- "softbans": 0,
- "mutes": 0,
- "warns": 0,
- "vcmutes": 0,
- "vcbans": 0,
- "unmutes": 0,
- "purgewarns": 0,
- "pardons": 0,
- "unbans": 0
}
}
Fetch all modlogs for a user ID
UserID | string <Snowflake> Either a User ID |
{- "property1": {
- "bans": 0,
- "kicks": 0,
- "softbans": 0,
- "mutes": 0,
- "warns": 0,
- "vcmutes": 0,
- "vcbans": 0,
- "unmutes": 0,
- "purgewarns": 0,
- "pardons": 0,
- "unbans": 0
}, - "property2": {
- "bans": 0,
- "kicks": 0,
- "softbans": 0,
- "mutes": 0,
- "warns": 0,
- "vcmutes": 0,
- "vcbans": 0,
- "unmutes": 0,
- "purgewarns": 0,
- "pardons": 0,
- "unbans": 0
}
}
Endpoints for fetching user notes
Fetch all notes for a user ID or the note with the corresponding ID
string or integer Either a User ID or warning ID |
[- {
- "guildid": "string",
- "id": 0,
- "userid": "string",
- "msg": "string",
- "modid": "string",
- "time": 0
}
]
Endpoints for the Leveling system
userid | string <Snowflake> |
The XP amount of a user to update. Set either property to 0
to not modify it
string or number The amount to add to a users text level | |
string or number The amount to add to a users voice level |
{- "textamount": "string",
- "voiceamount": "string"
}
{- "text": 0,
- "voice": 0
}
Other endpoints
User | string <Snowflake> |
string or null Which bot to use if not supplied the server will try to guess. |
{- "member": {
- "avatar": "string",
- "avatar_decoration_data": { },
- "communication_disabled_until": "2019-08-24T14:15:22Z",
- "flags": 0,
- "joined_at": "2019-08-24T14:15:22Z",
- "nick": "string",
- "pending": true,
- "premium_since": "2019-08-24T14:15:22Z",
- "roles": [
- "string"
], - "user": {
- "id": "string",
- "username": "string",
- "avatar": "string",
- "discriminator": "string",
- "public_flags": 0,
- "flags": -9007199254740991,
- "bot": true,
- "system": true,
- "banner": "string",
- "accent_color": 0,
- "global_name": "string"
}, - "mute": true,
- "deaf": true
}, - "infractions": {
- "noteCount": 0,
- "warnCount": 0,
- "caseCount": 0
}
}