Skip to content

Releases: mocbotau/mocbot-api

v.1.4.6

20 Jan 05:40
d888548
Compare
Choose a tag to compare

MOCBOT v1.4.6

  • Updated PATCH behaviour of Roles and Settings
  • Cleaned up API docs
  • Fixed erroneous return in updateVerification
  • New routes:
Method Route Description
GET /settings Fetches all the settings for all servers
GET /verification/{guild_id} Fetches all verification data for a guild

v1.4.2

10 Jan 10:14
0e6c897
Compare
Choose a tag to compare

MOCBOT v1.4.2

Bug Fixes

  • Aims to resolve issue where lobbies would fail to be created on occassion

v1.4.1

03 Jan 08:52
5492bec
Compare
Choose a tag to compare

MOCBOT v1.4.1

  • Implemented routes GET lobbies/{guild_id}/{user_Id} and GET /lobbies
  • PUT lobbies/{guild_Id}/{leader_id}/users has been updated to DELETE lobbies/{guild_id}/{leader_id}/{user_id} (only deleting one user at a time due to database library limitation)
  • Updated API spec to reflect new changes
  • Added middleware handling and improved log readability + log file output

v1.4.0

31 Dec 04:48
9918845
Compare
Choose a tag to compare

MOCBOT v1.4.0

  • Implemented new routes for lobbies
  • Changed theme and appearance of MOCBOT API Docs
  • New routes:
Method Route Description
GET /lobbies/{guild_id} Fetches all the lobbies in a guild
POST /lobby/{guild_id} Creates a new lobby in the guild
GET /lobby/{guild_id}/{leader_id} Gets lobby data from a given guild ID and leader ID
PUT /lobby/{guild_id}/{leader_id} Replaces existing lobby data with new data for a given guild ID and leader ID
PATCH /lobby/{guild_id}/{leader_id} Updates existing lobby data with the new provided data for a given guild ID and leader ID
DELETE /lobby/{guild_id}/{leader_id} Deletes existing lobby data with the given guild ID and leader ID
GET /lobby/{guild_id}/{leader_id}/users Gets users in a given lobby
POST /lobby/{guild_id}/{leader_id}/users Adds new user(s) into a given lobby
PUT /lobby/{guild_id}/{leader_id}/users Deletes user(s) from a given lobby

v1.3.0

30 Dec 09:08
95c953d
Compare
Choose a tag to compare

What's Changed

Implemented Roles functionality to the API

Full Changelog: v1.2.0...v1.3.0

v1.2.0

29 Dec 03:43
4701b51
Compare
Choose a tag to compare

MOCBOT v1.2.0

  • Introduces Developers route
    • /developers

v1.1.0

26 Dec 05:43
9410f6c
Compare
Choose a tag to compare

MOCBOT API v1.1.0

  • Introduces Verification and AFK routes
    • /verifciation
    • /afk

Fixes

  • 404 errors now are thrown correctly for all routes

v1.0.0

26 Dec 05:50
a691de5
Compare
Choose a tag to compare

MOCBOT API v1.0.0

Initial release of the API.