/
Don't worry, API works successfully.
The Deleter API is a RESTful API based on HTTP(s) requests and JSON responses.
Each response is a JSON object. The data requested is wrapped in the result tag. If you have a response, it will always be within the result field. We also include a success flag, an array of potential errors, and messages in the response.
An error object will contain an integer code field and a message
Success Response
{
success: true,
result: {
shards: [
{
id: 1,
ready: true,
status: 0,
ping: 182,
channels: 271,
guilds: 9,
users: 522
}
],
totalGuilds: 9,
totalChannels: 271,
totalUsers: 522
},
messages: [],
errors: []
}Error Response
{
success: false,
result: null,
messages: [],
errors: [
{
message: 'token is invalid',
code: 10003
}
]
}{
success: false,
result: null,
messages: [
'lang.commands must be one of the following values: ru, en, gg',
'lang.interface must be one of the following values: ru, en, gg'
],
errors: [
{
message: 'Bad Request',
code: 0
}
]
}Last updated