The GetBeaned API

Work in progress

post
Add an user

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.
Request
Response
Request
Headers
Update
optional
boolean
False if we don't want to update the user because the data is stale
Authentication
required
string
Authentication token supplied on request.
Form Data Parameters
discord_default_avatar_url
required
string
Default Discord CDN URL for the user avatar.
discord_avatar_url
required
string
Discord CDN URL to the PNG (static) or WEBP (animated) avatar of the user
discord_discriminator
required
integer
The user Discriminator (Excluding the #)
discord_name
required
string
Name of the user
discord_id
required
boolean
Discord user ID
discord_bot
required
boolean
Please set that to True if the user is a bot
Response
200: OK
Cake successfully retrieved.
{
'status': 'ok',
'message': 'User existed in database already',
'result': '[User representation]'
}
302: Found
Error when saving the new user
{
'status': 'error',
'errors': ['List of errors']
}

get
API Users Counter

https://getbeaned.api-d.com/api/users/<int:guild_id>/<int:user_id>/counters/
Request
Response
Request
Path Parameters
optional
string
Response
200: OK