{"info":{"_postman_id":"fc8d0b31-1572-41d1-a447-0676683fda56","name":"Task Reminder Telegram","description":"<html><head></head><body><p>This is the API documentation of Task Reminder Telegram Bot application. Change the PORT equal to your PORT number.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"33861954","collectionId":"fc8d0b31-1572-41d1-a447-0676683fda56","publishedId":"2sA3s1pCcg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-08-11T12:10:02.000Z"},"item":[{"name":"Sign Up","id":"6487b7cf-d8a6-4fe3-99a7-2de1b697937d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"soap\",\r\n    \"password\":\"200434\",\r\n    \"telegramId\":\"5657714933\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8090/api/auth/sign-up","description":"<p>Sign up with username, password and also telegramId.</p>\n","urlObject":{"protocol":"http","port":"8090","path":["api","auth","sign-up"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6487b7cf-d8a6-4fe3-99a7-2de1b697937d"},{"name":"Get Tasks","id":"e276c20a-1f90-46f9-a07c-365b8f5404a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8090/api/tasks","description":"<p>Get tasks for user by userId. use it after login. because token is need to fetch tasks from the backend</p>\n","urlObject":{"path":["api","tasks"],"host":["http://localhost:8090"],"query":[],"variable":[]}},"response":[],"_postman_id":"e276c20a-1f90-46f9-a07c-365b8f5404a7"},{"name":"Sign In","id":"e3611bd1-5052-4562-a67d-bc3b820f9c31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":" { \"username\":\"soap\",\r\n   \"password\":\"200434\"\r\n }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8090/api/auth/sign-in","description":"<p>use username and password to sign in.</p>\n","urlObject":{"protocol":"http","port":"8090","path":["api","auth","sign-in"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3611bd1-5052-4562-a67d-bc3b820f9c31"},{"name":"Sign Out","id":"5b973590-53a0-4825-a6c1-7ac261405d0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8090/api/auth/sign-out","description":"<p>clear the token cookie from the client's browser</p>\n","urlObject":{"protocol":"http","port":"8090","path":["api","auth","sign-out"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b973590-53a0-4825-a6c1-7ac261405d0f"},{"name":"Task add","id":"b90427be-0619-4cb1-8e5b-cb506c4ccbff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"dueDate\": \"2024-08-07\",\r\n  \"recurrence\": \"none\",\r\n  \"description\":\"Test 006\",\r\n   \"recurrence\": \"monthly\"\r\n  \r\n  \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8090/api/tasks","description":"<p>Add a task to the db.</p>\n","urlObject":{"protocol":"http","port":"8090","path":["api","tasks"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b90427be-0619-4cb1-8e5b-cb506c4ccbff"},{"name":"delete task","id":"345547b1-b114-4758-ba7d-338fd3245868","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8090/api/tasks/66b2edef9854b84fa5b550ac","description":"<p>delete a specific task using the taskId</p>\n","urlObject":{"path":["api","tasks","66b2edef9854b84fa5b550ac"],"host":["http://localhost:8090"],"query":[],"variable":[]}},"response":[],"_postman_id":"345547b1-b114-4758-ba7d-338fd3245868"},{"name":"update task","id":"ada3abac-7e54-431a-86ce-1d66d96aa7ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"updated\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8090/api/tasks/66b2e891faaaf1526632269e","description":"<p>Provide the fields with value expected to update</p>\n","urlObject":{"path":["api","tasks","66b2e891faaaf1526632269e"],"host":["http://localhost:8090"],"query":[],"variable":[]}},"response":[],"_postman_id":"ada3abac-7e54-431a-86ce-1d66d96aa7ee"},{"name":"Password Reset","id":"cbb869ca-a7c3-4b6b-9943-58f29d77bcd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"soap\",\r\n    \"password\":\"200434\",\r\n    \"telegramId\":\"5657714933\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8090/api/auth/reset-password","description":"<p>Send the username , telegram Id with the new password. So you can reset the current password to a new password in case you forget it.</p>\n","urlObject":{"protocol":"http","port":"8090","path":["api","auth","reset-password"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbb869ca-a7c3-4b6b-9943-58f29d77bcd0"}],"variable":[{"key":"baseUrl","value":"http://localhost:8090"}]}