Work in progress
POST https://getbeaned.api-d.com/api/users/
This endpoint allows you to upload an user data to the website. This is a required step to be able to add actions. The endpoint will update or create the user automatically.
GET https://getbeaned.api-d.com/api/users/<int:guild_id>/<int:user_id>/counters/
discord_id
boolean
Discord user ID
discord_bot
boolean
Please set that to True if the user is a bot
Update
boolean
False if we don't want to update the user because the data is stale
Authentication
string
Authentication token supplied on request.
discord_default_avatar_url
string
Default Discord CDN URL for the user avatar.
discord_avatar_url
string
Discord CDN URL to the PNG (static) or WEBP (animated) avatar of the user
discord_discriminator
integer
The user Discriminator (Excluding the #)
discord_name
string
Name of the user
string
{
'status': 'ok',
'message': 'User existed in database already',
'result': '[User representation]'
}{
'status': 'error',
'errors': ['List of errors']
}