This is the REST API for the Discord BOT MARK .
The Node.Js REST API has various endpoints with various states supporting different types of requests like GET, POST & PUT. Currently the BOT is in it's version 1.0.0, it has completed the testing phase and is now avaialbe to use in your various Discord servers. Click here to add the bot your discord server. Currenlty the BOT is only accessing one endpoint of the API - /data/todo
- /data/todo
- A GET request to
/data/todo/
results in generating a JSON of all the of the ToDo items added. - A GET request to
/data/todo/:date
results in ToDo items only for a specified date. - A POST request to
/data/todo
with the reuired headers and body results in the addition of a new ToDo for the current date. - A PUT request to
/data/todo/:id
with the required headers and body results in completing a ToDo item.
This endpoint is currently linked to my firebase, so any GET/POST/PUT request affects my firebase firestore database.