Default Value Routes

Create a default value for a guild

POST /default/create/[ Guild Id ]

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Authorization

<key>

Request

Name
Type
Description

Guild Id

string

This is the discord guild id

Response

{
    "created": boolean
}

Update Default Staff Ticket Roles

POST /default/update/ticketStaffRoles/[ Guild Id ]

This will update the ticket staff discord role ids.

Headers

Name
Value

Content-Type

application/json

Authorization

<key>

Body

Name
Type
Description

ticketStaffRoles

string[]

An array of the discord role ids

Request

Name
Type
Description

Guild Id

string

This is the discord guild id

Response

Update Default Embed Color

POST /default/update/embedColor/[ Guild Id ]

This will update the default embed color

Headers

Name
Value

Content-Type

application/json

Authorization

<key>

Body

Name
Type
Description

embedColor

string

The Hex Code for the embed color.

Request

Name
Type
Description

Guild Id

string

This is the discord guild id

Response

Update Default User Roles

POST /default/update/roles/[ Guild Id ]

This will update the default discord role ids for a user

Headers

Name
Value

Content-Type

application/json

Authorization

<key>

Body

Name
Type
Description

roles

string[]

An array of the discord role ids

Request

Name
Type
Description

Guild Id

string

This is the discord guild id

Response

Get Default Ticket Staff Roles

GET /default/ticketStaffRoles/[ Guild Id ]

This will return a string array of discord roles.

Headers

Name
Value

Content-Type

application/json

Request

Name
Type
Description

Guild Id

string

This is the discord guild id

Response

Get Default Embed Color

GET /default/embedColor/[ Guild Id ]

This will return a hex string for embed colors.

Headers

Name
Value

Content-Type

application/json

Request

Name
Type
Description

Guild Id

string

This is the discord guild id

Response

Get Default Ticket Staff Roles

GET /default/roles/[ Guild Id ]

This will return a string array of discord roles.

Headers

Name
Value

Content-Type

application/json

Request

Name
Type
Description

Guild Id

string

This is the discord guild id

Response

Does Default Values Contain Guild

GET /exists/[ Guild Id ]

This will return a boolean on if the guild already has default values or not.

Headers

Name
Value

Content-Type

application/json

Authorization

<key>

Request

Name
Type
Description

Guild Id

string

This is the discord guild id

Response

Last updated