API endpoints

Note

BASE URL: https://api.bladelist.gg

Get bot data and push bot stats

Warning

POST and PUT requests are same, POST is recommanded.

Note

URL: /bots/<botID>/
ACCEPTED TYPES: GET, PUT, POST
ACCESS: [POST: Superuser, bot owner, admins] [PUT: Same as POST] [GET: Everyone]

To update servers and shards you should send them in body using POST or PUT request, shards is optional.

1{
2"server_count": int,
3"shard_count": int,
4}

Get server data and push server stats

Note

URL: /servers/<serverID>/
ACCEPTED TYPES: GET, PUT/POST
ACCESS: [POST: Superuser only] [PUT: Same as POST] [GET: Everyone]

To update members online and total members you should send them in body.

1{
2"members_online": int,
3"member_count": int
4}