Unofficial API Docs for Gaius Discord Bots (1.1)

Download OpenAPI specification:

License: MIT

About

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

apiKey

Use the createapikey scope scope command in your server to get the api key for your server.

Available scopes:

  • warnings
  • caselogs
  • wordlists
  • notes
  • info
  • modlogs
  • leveling
Security Scheme Type: API Key
Header parameter name: api-key

Get a list of all wordlists

Authorizations:
apiKey

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get all words in a list

Authorizations:
apiKey
path Parameters
ListName
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Creates new list with given name optional array of words can be put in the body.

Authorizations:
apiKey
path Parameters
ListName
string
Request Body schema: application/json
optional

List of words to add to the list.

Array of objects (wordlist)

Responses

Request samples

Content type
application/json
{
  • "words": [
    ]
}

Response samples

Content type
application/json
{
  • "added": [
    ],
  • "invalid": [
    ]
}

Update a created list with the words

Authorizations:
apiKey
path Parameters
ListName
string
Request Body schema: application/json
required

List of words to add to the list.

Array of objects (wordlist)

Responses

Request samples

Content type
application/json
{
  • "words": [
    ]
}

Response samples

Content type
application/json
{
  • "added": [
    ],
  • "invalid": [
    ]
}

Delete words from a list

Authorizations:
apiKey
path Parameters
ListName
string
Request Body schema: application/json
optional

List of words to delete from the list

words
Array of strings

Responses

Request samples

Content type
application/json
{
  • "words": [
    ]
}

Response samples

Content type
application/json
Example
[ ]

Get a random picture of a snake

Authorizations:
apiKeyNone

Responses

Get a random picture of a bunny

Authorizations:
apiKeyNone

Responses

Get a random picture of Guts from 'Berserk'

Authorizations:
apiKeyNone

Responses

Get a random picture of Holo from 'Spice and Wolf'

Authorizations:
apiKeyNone

Responses

Get a random picture of Frieza from 'Dragon Ball'

Authorizations:
apiKeyNone

Responses

Get a random picture of a Sea slug

Authorizations:
apiKeyNone

Responses

Get all caselogs

Authorizations:
apiKey

Responses

Response samples

Content type
application/json
{
  • "property1": {
    },
  • "property2": {
    },
  • "totalCases": "string"
}

Fetch caselogs for user with their ID

Fetch all caselogs for a user ID

Authorizations:
apiKey
path Parameters
UserID
string <Snowflake>

Either a User ID

Responses

Response samples

Content type
application/json
{
  • "property1": {
    },
  • "property2": {
    }
}

Get all caselogs that occurred after the given date.

Get all caselogs that occurred after the given timestamp or ISO date. Invalid dates are: before 2016, and 1 minute after the current time

Authorizations:
apiKey
path Parameters
string or string
Examples: 2022-09-27 18:00:00.000

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get all caselogs that occurred before the given date.

Get all caselogs that occurred before the given timestamp or ISO date. Invalid dates are: before 2016, and 1 minute after the current time

Authorizations:
apiKey
path Parameters
string or string
Examples: 2022-09-27 18:00:00.000

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get all warnings for the given server.

Authorizations:
apiKey

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Fetch warning with ID

Fetch all warnings for a user ID or the warning with the corresponding ID

Authorizations:
apiKey
path Parameters
string or integer

Either a User ID or note ID

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get all warnings that occurred after date.

Get all warnings that occurred after the given timestamp or ISO date. Invalid dates are: before 2016, and 1 minute after the current time

Authorizations:
apiKey
path Parameters
string or string
Examples: 2022-09-27 18:00:00.000

Responses

Response samples

Content type
application/json
[
  • [
    ]
]

Get all warnings that occurred before date.

Get all warnings that occurred before the given timestamp or ISO date. Invalid dates are: before 2016, and 1 minute after the current time

Authorizations:
apiKey
path Parameters
string or string
Examples: 2022-09-27 18:00:00.000

Responses

Response samples

Content type
application/json
[
  • [
    ]
]

Fetch all modlogs

Authorizations:
apiKey

Responses

Response samples

Content type
application/json
{
  • "property1": {
    },
  • "property2": {
    }
}

Fetch modlogs for user with their ID

Fetch all modlogs for a user ID

Authorizations:
apiKey
path Parameters
UserID
string <Snowflake>

Either a User ID

Responses

Response samples

Content type
application/json
{
  • "property1": {
    },
  • "property2": {
    }
}

Get all notes for a given server.

Authorizations:
apiKey

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Fetch note with ID

Fetch all notes for a user ID or the note with the corresponding ID

Authorizations:
apiKey
path Parameters
string or integer

Either a User ID or warning ID

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Leveling System Endpoints

Endpoints for the Leveling system

Get a users xp

Authorizations:
apiKey
path Parameters
userid
string <Snowflake>

Responses

Response samples

Content type
application/json
{
  • "text": 0,
  • "voice": 0
}

Update a users xp

Authorizations:
apiKey
path Parameters
userid
string <Snowflake>
Request Body schema: application/json
required

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

Responses

Request samples

Content type
application/json
{
  • "textamount": "string",
  • "voiceamount": "string"
}

Response samples

Content type
application/json
{
  • "text": 0,
  • "voice": 0
}

Get user information

Authorizations:
apiKey
path Parameters
User
string <Snowflake>
header Parameters
string or null

Which bot to use if not supplied the server will try to guess.

Responses

Response samples

Content type
application/json
{
  • "member": {
    },
  • "infractions": {
    }
}