Releases: mocbotau/mocbot-api
Releases · mocbotau/mocbot-api
v.1.4.6
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
v1.4.1
MOCBOT v1.4.1
- Implemented routes
GET
lobbies/{guild_id}/{user_Id}
andGET
/lobbies
PUT
lobbies/{guild_Id}/{leader_id}/users
has been updated toDELETE
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
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
v1.2.0
v1.1.0
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
MOCBOT API v1.0.0
Initial release of the API.