Default Value Routes
Create a default value for a guild
POST /default/create/[ Guild Id ]
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
<key>
Request
Guild Id
string
This is the discord guild id
Response
{
"created": boolean
}{
"error": {
"code": 400,
"message": "Could nto create new default values"
},
"catchError": "string"
}If authorization header not provided:
{
"error": {
"code": 403
"message": "Please specify an authorization key!"
}
}If invalid authorization key:
{
"error": {
"code": 403,
"message": "Invalid authorization Key!"
}
}Update Default Staff Ticket Roles
POST /default/update/ticketStaffRoles/[ Guild Id ]
This will update the ticket staff discord role ids.
Headers
Content-Type
application/json
Authorization
<key>
Body
ticketStaffRoles
string[]
An array of the discord role ids
Request
Guild Id
string
This is the discord guild id
Response
If authorization header not provided:
If invalid authorization key:
Update Default Embed Color
POST /default/update/embedColor/[ Guild Id ]
This will update the default embed color
Headers
Content-Type
application/json
Authorization
<key>
Body
embedColor
string
The Hex Code for the embed color.
Request
Guild Id
string
This is the discord guild id
Response
If authorization header not provided:
If invalid authorization key:
Update Default User Roles
POST /default/update/roles/[ Guild Id ]
This will update the default discord role ids for a user
Headers
Content-Type
application/json
Authorization
<key>
Body
roles
string[]
An array of the discord role ids
Request
Guild Id
string
This is the discord guild id
Response
If authorization header not provided:
If invalid authorization key:
Get Default Ticket Staff Roles
GET /default/ticketStaffRoles/[ Guild Id ]
This will return a string array of discord roles.
Headers
Content-Type
application/json
Request
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
Content-Type
application/json
Request
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
Content-Type
application/json
Request
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
Content-Type
application/json
Authorization
<key>
Request
Guild Id
string
This is the discord guild id
Response
If authorization header not provided:
If invalid authorization key:
Last updated