{"info":{"_postman_id":"9f63a92a-89d5-4e1d-a3d3-6311bd1972df","name":"Yearbook","description":"<html><head></head><body><p><strong>API DOCUMENTATION</strong> of <a href=\"https://github.com/raghav4/yearbook-backend\">Yearbook</a> project.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6857431","collectionId":"9f63a92a-89d5-4e1d-a3d3-6311bd1972df","publishedId":"Szmb7zkd","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-05-05T11:10:23.000Z"},"item":[{"name":"Messages","item":[{"name":"Route to get all messages (Feed)","id":"fef6780f-3877-4888-9bf1-7ad2d91d68be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJpYXQiOjE2MjE5NTEwMTd9.E1BOQo0IqFk9PeDYJIqf-Q7H1Wf99Oq6sSQEUP1dFy4","type":"text"}],"url":"http://localhost:5000/api/user/messages/all","urlObject":{"protocol":"http","port":"5000","path":["api","user","messages","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fef6780f-3877-4888-9bf1-7ad2d91d68be"},{"name":"Route to get all User","id":"c9675ec4-b6e5-49fd-b210-97eb890b9e33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/user/all","urlObject":{"protocol":"http","port":"5000","path":["api","user","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9675ec4-b6e5-49fd-b210-97eb890b9e33"}],"id":"23c5084b-3fc9-49f6-b5c5-bf82488e22e5","_postman_id":"23c5084b-3fc9-49f6-b5c5-bf82488e22e5","description":""},{"name":"Polls","item":[{"name":"Add a Poll Question","id":"15e58ffc-ddec-4ae9-8bcb-4060813c0859","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWJlMjhjNTliMzE0ZDY0MzFiMDIxZDMiLCJhdXRoVHlwZSI6ImFkbWluIiwiaWF0IjoxNTk1MzQyNDAwfQ.1AHnck7f3NGnmKpSu4vZE_1xrvApLTfgcRQNIEvTV8A","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\" : \"Helfpul person of the Batch\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/polls/new","urlObject":{"protocol":"http","port":"5000","path":["api","polls","new"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"15e58ffc-ddec-4ae9-8bcb-4060813c0859"}],"id":"6c661493-972a-42fb-896f-f68a256dd112","_postman_id":"6c661493-972a-42fb-896f-f68a256dd112","description":""},{"name":"User","item":[{"name":"Messages","item":[{"name":"Delete a Message","id":"b1d66a24-4d45-4d51-9b77-3dd4e811b004","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1NzljYjU1YTJjNzg0NGVkYmFjYjIiLCJpYXQiOjE1ODkwMDQwNzZ9.ybRaGIssHk_7ECf_Wf1g7ortrXTFQLySqvwpfAudSnA","type":"text"}],"url":"http://localhost:5000/api/user/messages/5eb57e6ae3e205880eee339e","urlObject":{"protocol":"http","port":"5000","path":["api","user","messages","5eb57e6ae3e205880eee339e"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1d66a24-4d45-4d51-9b77-3dd4e811b004"},{"name":"Send a Message","id":"481c54e2-6b55-4bcd-b947-96c9235273ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1NzljYjU1YTJjNzg0NGVkYmFjYjIiLCJpYXQiOjE1ODkwMDQwNzZ9.ybRaGIssHk_7ECf_Wf1g7ortrXTFQLySqvwpfAudSnA","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"message\" : \"Trying out some dummy message, lol!\",\n\t\"sendTo\" : \"5eb57e6ae3e205880eee339e\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/messages","urlObject":{"protocol":"http","port":"5000","path":["api","user","messages"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"481c54e2-6b55-4bcd-b947-96c9235273ba"},{"name":"Update a message","id":"1c947b9e-15ad-4f62-8d34-be9d1b7a43e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1NzljYjU1YTJjNzg0NGVkYmFjYjIiLCJpYXQiOjE1ODkwMDQwNzZ9.ybRaGIssHk_7ECf_Wf1g7ortrXTFQLySqvwpfAudSnA","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"message\" : \"Updating the message!\",\n\t\"sendTo\" : \"5eb57e6ae3e205880eee339e\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/messages","urlObject":{"protocol":"http","port":"5000","path":["api","user","messages"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c947b9e-15ad-4f62-8d34-be9d1b7a43e7"},{"name":"Get all Messages of Logged In User","id":"effe453b-49c9-45fb-bd15-248b4836ca4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJpYXQiOjE1ODkxOTIzMTZ9.QmcZpBKqwO0nSwLr7uZbFNBwo_oGMgeo3G1g-EvMEtc","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/messages","urlObject":{"protocol":"http","port":"5000","path":["api","user","messages"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"effe453b-49c9-45fb-bd15-248b4836ca4d"},{"name":"Get Message of a user with the given ID.","id":"e7ce9c5c-17dd-4715-838f-a6661fdb2634","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJpYXQiOjE1ODkwMTI3Njl9.4qfDuTZHTlLwguyZBCnNuhBvnrk4fHvO4KnJwTDAel4","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:5000/api/user/messages/5eb579cb55a2c7844edbacb2","urlObject":{"protocol":"http","port":"5000","path":["api","user","messages","5eb579cb55a2c7844edbacb2"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7ce9c5c-17dd-4715-838f-a6661fdb2634"}],"id":"b0db31cf-a3f4-45f0-84e7-59b15c56fa3f","_postman_id":"b0db31cf-a3f4-45f0-84e7-59b15c56fa3f","description":""},{"name":"Public","item":[{"name":"Login","id":"ceb5034f-fc26-4500-bc1e-6541e137aea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"email\" : \"raghav2@yahoo.com\",\n\t\"password\" : \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/onboarding/user/login","description":"<p>API Endpoint to login a user</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","onboarding","user","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ceb5034f-fc26-4500-bc1e-6541e137aea8"},{"name":"Sign Up","id":"f6fdaf52-25c1-4ad0-bfad-1fd68c8dc441","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\" : \"Saurabh Singh\",\n\t\"email\" : \"fapitod237@mailrnl.com\",\n\t\"password\" : \"password\",\n\t\"department\" : \"CSE\",\n\t\"section\" : \"C\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/signup/","description":"<p>API End point to add/create a user</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","user","signup",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6fdaf52-25c1-4ad0-bfad-1fd68c8dc441"},{"name":"Verify Email","id":"3ea176ee-e392-4ae3-98bc-9b22012881bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\" : \"Raghav Sharma\",\n\t\"email\" : \"raghavsyt@gmail.com\",\n\t\"phoneNo\" : \"0987654321\",\n\t\"password\" : \"raghavsharma\",\n\t\"department\" : \"CSE\",\n\t\"section\" : \"A\",\n\t\"otp\" : \"4006\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/signup/verify","urlObject":{"protocol":"http","port":"5000","path":["api","user","signup","verify"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ea176ee-e392-4ae3-98bc-9b22012881bb"},{"name":"Reset Password","id":"a988690a-8b44-4aea-8dcb-3aa272e670d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"input\" : \"raghav2@yahoo.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/reset","urlObject":{"protocol":"http","port":"5000","path":["api","user","reset"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a988690a-8b44-4aea-8dcb-3aa272e670d5"}],"id":"1372b794-b1a3-46de-b39a-20ae4e0633b9","_postman_id":"1372b794-b1a3-46de-b39a-20ae4e0633b9","description":""},{"name":"Self Answers","item":[{"name":"Route to add/update a slambook answer","id":"09ff2e41-24e8-4c8f-9c56-b86a5d070e6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJpYXQiOjE1ODg5NTI4MDJ9.DGbzEc5zbL4cft4ihn7fYmH6lrCNr2Ygaf7d4PuxkcE","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"answer\" : \"kya daalna hai answer me??\",\n\t\"questionId\": \"5eb5aae0901e3dc7af9ef9d8\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/answers","urlObject":{"protocol":"http","port":"5000","path":["api","user","answers"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"09ff2e41-24e8-4c8f-9c56-b86a5d070e6a"},{"name":"Route to get all Slambook Questions","id":"7ff72fe6-1c64-4d4c-ae83-f95bc3667136","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJpYXQiOjE1ODg5NTI4MDJ9.DGbzEc5zbL4cft4ihn7fYmH6lrCNr2Ygaf7d4PuxkcE","type":"text"}],"url":"http://localhost:5000/api/slambook/questions/all","urlObject":{"protocol":"http","port":"5000","path":["api","slambook","questions","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ff72fe6-1c64-4d4c-ae83-f95bc3667136"},{"name":"All answers by a user","id":"353d319c-4451-4911-bc19-9a833bb17318","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJpYXQiOjE1ODg5NTI4MDJ9.DGbzEc5zbL4cft4ihn7fYmH6lrCNr2Ygaf7d4PuxkcE","type":"text"}],"url":"http://localhost:5000/api/slambook/answers/self","urlObject":{"protocol":"http","port":"5000","path":["api","slambook","answers","self"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"353d319c-4451-4911-bc19-9a833bb17318"}],"id":"e6c0a937-3291-422d-b4c7-d9f8540f5fe8","description":"<p>This folder consists of all the routes which deals with the answer (self) related queires.</p>\n","_postman_id":"e6c0a937-3291-422d-b4c7-d9f8540f5fe8"},{"name":"Get all the Users","id":"27dc029d-5c94-4c28-a95e-9e06e38e0a62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1MjU0NmU4MzdkNjUzMjhmMDllODkiLCJpYXQiOjE1ODg5MzY5ODZ9.aAK7xJGZ6RRaXJspNU2yx1qZ0tvGzFJBT-64NeJ9qUY","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:5000/api/user/info/all","urlObject":{"protocol":"http","port":"5000","path":["api","user","info","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"27dc029d-5c94-4c28-a95e-9e06e38e0a62"},{"name":"Update the User Details","id":"b2efee62-67d5-4182-b297-ac677c20efdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJkZXBhcnRtZW50IjoiQ1NFIiwic2VjdGlvbiI6IkEiLCJpc0FkbWluIjpmYWxzZSwiaWF0IjoxNTk0OTIyNTQ1LCJleHAiOjE1OTU1MjczNDV9.F2_KVZSkgYmXAqd6CvKx4f4xuBemOjhJDPfYcS5mzr4","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"info\" : {\n\t\t\"bio\" : \"Hello, Hope it's working now?\"\n\t},\n\t\"socialHandles\": {\n\t\t\"linkedin\": \"rshx\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/info","urlObject":{"protocol":"http","port":"5000","path":["api","user","info"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2efee62-67d5-4182-b297-ac677c20efdd"},{"name":"Get all the Users of the same class","id":"333cc59e-4509-4d64-ac68-8bb5acc8cb02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1MjU0NmU4MzdkNjUzMjhmMDllODkiLCJpYXQiOjE1ODg5MzY5ODZ9.aAK7xJGZ6RRaXJspNU2yx1qZ0tvGzFJBT-64NeJ9qUY","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:5000/api/user/info/class/all","description":"<p>Route to get all the users belonging to the same class as that of the requesting person.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","user","info","class","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"333cc59e-4509-4d64-ac68-8bb5acc8cb02"},{"name":"Reset Password","id":"9ddd3bd9-2d99-4a85-b02e-15863a64ab1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJkZXBhcnRtZW50IjoiQ1NFIiwic2VjdGlvbiI6IkEiLCJpc0FkbWluIjpmYWxzZSwiaWF0IjoxNTkzMjc0Njk0LCJleHAiOjE1OTM4Nzk0OTR9.o3EFb4_rcBCWqPBX2Aj7a3nec3z_dN31PkPcg4BwJeQ","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"password\" : \"password\",\n    \"newPassword\" : \"passwordx\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/self/reset","urlObject":{"protocol":"http","port":"5000","path":["api","user","self","reset"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ddd3bd9-2d99-4a85-b02e-15863a64ab1d"},{"name":"Validate User Signup Access","id":"7ef06de2-1e92-4018-adc8-9769ab7452b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\" : \"fapitod237@mailrnl.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/signup/validate","urlObject":{"protocol":"http","port":"5000","path":["api","user","signup","validate"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ef06de2-1e92-4018-adc8-9769ab7452b9"},{"name":"Validate User Email OTP","id":"d7702fa6-b319-4a2e-9062-46b719285480","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\" : \"fapitod237@mailrnl.com\",\n    \"otp\" : \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/user/signup/verify","urlObject":{"protocol":"http","port":"5000","path":["api","user","signup","verify"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7702fa6-b319-4a2e-9062-46b719285480"},{"name":"Route to get the logged in user details","id":"79c94d4a-bb8f-4db9-bf77-8353827dc5c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJkZXBhcnRtZW50IjoiQ1NFIiwic2VjdGlvbiI6IkEiLCJhdXRoVHlwZSI6InVzZXIiLCJpYXQiOjE1OTUzMzUxNTAsImV4cCI6MTU5NTkzOTk1MH0.w1Tf1AKiY02Tp_Ht-lMxKJLa3tgv5J4VFFyyxzlh3vs","type":"text"}],"url":"http://localhost:5000/api/user/messages/self","urlObject":{"protocol":"http","port":"5000","path":["api","user","messages","self"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"79c94d4a-bb8f-4db9-bf77-8353827dc5c1"},{"name":"Route to get Class Student","id":"4ee83db5-7bfa-497b-8cf3-acf59042d678","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJkZXBhcnRtZW50IjoiQ1NFIiwic2VjdGlvbiI6IkEiLCJhdXRoVHlwZSI6InVzZXIiLCJpYXQiOjE1OTUzMzUwMTAsImV4cCI6MTU5NTkzOTgxMH0.fY8ZJQI3oyGbp2MtfF2sJ5uzxfsMRffKM1i2tur0-Zk","type":"text"}],"url":"http://localhost:5000/api/user/class/all","urlObject":{"protocol":"http","port":"5000","path":["api","user","class","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ee83db5-7bfa-497b-8cf3-acf59042d678"}],"id":"8fe9be76-091e-458b-b04a-a3d2439294e2","_postman_id":"8fe9be76-091e-458b-b04a-a3d2439294e2","description":""},{"name":"Admin","item":[{"name":"Public","item":[{"name":"Login an admin","id":"b8918279-1322-4228-80d0-b5ab6b8027b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\" : \"temp\",\n\t\"password\" : \"temp\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/onboarding/admin/login","urlObject":{"protocol":"http","port":"5000","path":["api","onboarding","admin","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8918279-1322-4228-80d0-b5ab6b8027b7"}],"id":"14ba2ad8-d2ea-4675-a035-0f66eee54c4f","description":"<p>Public routes for admin </p>\n<ul>\n<li>Login (Admin)</li>\n</ul>\n","_postman_id":"14ba2ad8-d2ea-4675-a035-0f66eee54c4f"},{"name":"Grant Access to the Number","id":"b6f42b5c-a2cd-423a-b922-d633e9557c39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWJlMjliNDYyY2I3NzZhNWRhZjk1NWUiLCJpc1N1cGVyQWRtaW4iOmZhbHNlLCJpc0FkbWluIjp0cnVlLCJpYXQiOjE1ODk1MjE0MTd9.XwIEmg4FbsaiTJLc_TO41fho4zyALzGxazeKcd5bAKY","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"phoneNumber\" : \"1122334455\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/admin/user/grant","urlObject":{"protocol":"http","port":"5000","path":["api","admin","user","grant"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6f42b5c-a2cd-423a-b922-d633e9557c39"},{"name":"Add Slambook Question","id":"bfaa33d1-7078-457e-956e-642f16feed6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-token","type":"text","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWJlMjhjNTliMzE0ZDY0MzFiMDIxZDMiLCJhdXRoVHlwZSI6ImFkbWluIiwiaWF0IjoxNTk1MzA2MDgxfQ.hZA3sG7ZbEJeXTEVM5gNAjucAAATjayfBAtlEWFXkqw"}],"body":{"mode":"raw","raw":"{\n\t\"question\" : \"Friends you'll miss the most?\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/admin/questions","urlObject":{"protocol":"http","port":"5000","path":["api","admin","questions"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"bfaa33d1-7078-457e-956e-642f16feed6b"},{"name":"Register a secondary admin","id":"5d24e029-8e21-4713-ac70-dab47fa17d27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWJlMjliNDYyY2I3NzZhNWRhZjk1NWUiLCJpc1N1cGVyQWRtaW4iOmZhbHNlLCJpYXQiOjE1ODk1MjA4NDV9.TAIENh-LiAb9-Zh8w13mQOjr4vSKEOke4q8fnPC0lF8","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"username\" : \"username\",\n\t\"password\" : \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/admin/r/register","description":"<p>Only a Super Admin can register secondary admins</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","admin","r","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d24e029-8e21-4713-ac70-dab47fa17d27"},{"name":"Delete a question","id":"a3cb2c3c-c628-488c-a275-1b86b2da81c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJpYXQiOjE1ODg5NTI4MDJ9.DGbzEc5zbL4cft4ihn7fYmH6lrCNr2Ygaf7d4PuxkcE","type":"text"}],"url":"http://localhost:5000/api/admin/questions/5ec80919a0804db2ad1948c1","urlObject":{"protocol":"http","port":"5000","path":["api","admin","questions","5ec80919a0804db2ad1948c1"],"host":["localhost"],"query":[{"disabled":true,"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJpYXQiOjE1ODg5NTI4MDJ9.DGbzEc5zbL4cft4ihn7fYmH6lrCNr2Ygaf7d4PuxkcE"}],"variable":[]}},"response":[],"_postman_id":"a3cb2c3c-c628-488c-a275-1b86b2da81c7"},{"name":"Get User Slam Questions","id":"1db23f73-0c28-41d5-a0b8-152fca882eb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWJlMjhjNTliMzE0ZDY0MzFiMDIxZDMiLCJpc0FkbWluIjp0cnVlLCJpYXQiOjE1OTIyODQ3MjF9.BryRgKj3re9Z3knKA_ZtmzNFaW90NvJNyUiTNwOXXE0","type":"text"}],"url":"http://localhost:5000/api/admin/questions","urlObject":{"protocol":"http","port":"5000","path":["api","admin","questions"],"host":["localhost"],"query":[{"disabled":true,"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWJlMjhjNTliMzE0ZDY0MzFiMDIxZDMiLCJpc0FkbWluIjp0cnVlLCJpYXQiOjE1OTIyODQ1NTJ9.ZxO0B6SFiZnr6cqQkz46CPL4RDfIvqZslQQCLJEi3Bc"}],"variable":[]}},"response":[],"_postman_id":"1db23f73-0c28-41d5-a0b8-152fca882eb4"},{"name":"Grant Access to the Email","id":"cce3a60e-7c13-4d11-9ae4-7482023f5921","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\" : \"t\",\n    \"password\" : \"t\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/user/signup","urlObject":{"protocol":"http","port":"3000","path":["api","user","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cce3a60e-7c13-4d11-9ae4-7482023f5921"}],"id":"ead1390b-c82e-4d7a-b746-c863976ea1ae","_postman_id":"ead1390b-c82e-4d7a-b746-c863976ea1ae","description":""},{"name":"Route to get all User","id":"ab69df80-e958-4dbe-9376-2abc97565897","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJkZXBhcnRtZW50IjoiQ1NFIiwic2VjdGlvbiI6IkEiLCJhdXRoVHlwZSI6InVzZXIiLCJpYXQiOjE1OTUzMDQ3MTUsImV4cCI6MTU5NTkwOTUxNX0.hGG7XDAhu-d2H_mIgoVb3hW9aEW01e7GwZd2JUeUX8Y","type":"text"}],"url":"http://localhost:5000/api/user/all","urlObject":{"protocol":"http","port":"5000","path":["api","user","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab69df80-e958-4dbe-9376-2abc97565897"},{"name":"Route to forgot password","id":"ff5c5bb7-7ea9-4b8e-8cc8-e2434e851b5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWI1N2U2YWUzZTIwNTg4MGVlZTMzOWUiLCJkZXBhcnRtZW50IjoiQ1NFIiwic2VjdGlvbiI6IkEiLCJhdXRoVHlwZSI6InVzZXIiLCJpYXQiOjE1OTUzOTY3MDQsImV4cCI6MTU5NjAwMTUwNH0.JzsdBSFbAT2KXMjAygMjBklO7x_60LyyRmhFvJc5iFo","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\" : \"raghav2@yahoo.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/onboarding/forgot","urlObject":{"protocol":"http","port":"5000","path":["api","onboarding","forgot"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff5c5bb7-7ea9-4b8e-8cc8-e2434e851b5e"},{"name":"Get all Poll questiosn","id":"c7623cf8-e3b0-4af1-8f51-de4e7cddf547","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZWJlMjhjNTliMzE0ZDY0MzFiMDIxZDMiLCJpc1N1cGVyQWRtaW4iOnRydWUsImlzQWRtaW4iOnRydWUsImlhdCI6MTYyMTk1MDQ0N30.K4QSYpOqBap7UgT2EeImLSxaJbocgYlFf3CNmAQiDtg","type":"text"}],"url":"http://localhost:5000/api/admin/polls","urlObject":{"protocol":"http","port":"5000","path":["api","admin","polls"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7623cf8-e3b0-4af1-8f51-de4e7cddf547"}],"event":[{"listen":"prerequest","script":{"id":"dc31cff9-5bea-4742-a97a-ee52d6101f5b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9db3cf37-dfd5-4ae3-a62e-4f242efbe383","type":"text/javascript","exec":[""]}}]}