{"info":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","description":"<html><head></head><body><p>Online campus API Docs</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4599335","collectionId":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","publishedId":"SW7T8Wyu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-11-12T07:02:53.000Z"},"item":[{"name":"Authentication","item":[{"name":"Register","id":"12d96ad7-c659-4ffb-89a9-b1452ef4e11f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"John\",\n\t\"last_name\": \"Doe\",\n\t\"username\": \"johndoe123\",\n\t\"email\": \"201751025@iiitvadodara.ac.in\",\n\t\"password\": \"passpass123\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/auth/register","description":"<p>Register your account with Online Campus. Users will receive a mail to verify their accounts.</p>\n<p>No token is required for this request.</p>\n","urlObject":{"path":["auth","register"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"12d96ad7-c659-4ffb-89a9-b1452ef4e11f"},{"name":"Obtain Token","id":"fdd035ab-f4a9-42cc-993e-065cfb333290","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"johndoe123","type":"text"},{"key":"password","value":"passpass123","type":"text"}]},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/auth/token/obtain","description":"<p>Get the <code>access</code> and <code>request</code> tokens for provided credentials. <code>access</code> token is used for API calls, and <code>refresh</code> token is used to refresh your access tokens. <code>access</code> token becomes stale after 30 days, and refresh tokens become stale after 60 days.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["auth","token","obtain"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fdd035ab-f4a9-42cc-993e-065cfb333290"},{"name":"Get User Details","id":"85abc835-dfda-4954-ab05-e2f0a8e8bd3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/auth/current_user","description":"<p>Get the account details for the logged in user by providing the <code>access</code> token.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["auth","current_user"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"85abc835-dfda-4954-ab05-e2f0a8e8bd3a"},{"name":"Update Current User","id":"76c25463-00af-436a-8ee7-2c844e6e156a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"John\",\n\t\"last_name\": \"Doe\",\n\t\"bio\": \"Kore wa John Doe no new bio.\",\n\t\"contact_no\": \"9563295632\",\n\t\"birth_date\": \"1999-09-14\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/auth/current_user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["auth","current_user"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"76c25463-00af-436a-8ee7-2c844e6e156a"}],"id":"1884d155-b40e-4a19-9c97-c3e545fc27fc","_postman_id":"1884d155-b40e-4a19-9c97-c3e545fc27fc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}}},{"name":"Complaints","item":[{"name":"List Complaints","id":"23e8b689-cb3e-4d7c-bb01-b47effee60a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/complaint","description":"<p>List all the complaints for the current user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["complaint"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"23e8b689-cb3e-4d7c-bb01-b47effee60a6"},{"name":"Create Complaint","id":"24fed3ae-cd7e-4fa8-b6f7-f4895fe95c06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Second complaint from this user\",\n\t\"description\": \"This is a description for this complaint\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/complaint/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["complaint",""],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"24fed3ae-cd7e-4fa8-b6f7-f4895fe95c06"},{"name":"Update Complaint Status","id":"b56421fd-4fc1-45e2-8361-c48b4c71f2ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"closed\",\n\t\"remark\": \"The complaint has been updated.\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/complaint/update/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["complaint","update","1"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b56421fd-4fc1-45e2-8361-c48b4c71f2ea"}],"id":"07ac902c-f417-4d63-b36d-dd416156e46b","_postman_id":"07ac902c-f417-4d63-b36d-dd416156e46b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}}},{"name":"Mess Menu","item":[{"name":"Create Menu","id":"5a084f83-7a00-4db1-9b75-7c16eeb08781","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"monday_breakfast\": \"Milk, Bread Butter, Pakoda\",\n    \"monday_lunch\": \"Roti, Daal, Rice, Potato Sabji\",\n    \"monday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"monday_dinner\": \"Executive Dinner\",\n    \"tuesday_breakfast\": \"Milk, Bread Butter, Pakoda Firse\",\n    \"tuesday_lunch\": \"Roti, Daal, Rice, Mix Sabji\",\n    \"tuesday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"tuesday_dinner\": \"Executive Dinner\",\n    \"wednesday_breakfast\": \"Milk, Bread Butter, Pakoda Again\",\n    \"wednesday_lunch\": \"Roti, Daal, Rice, Flower Sabji\",\n    \"wednesday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"wednesday_dinner\": \"Executive Dinner\",\n    \"thursday_breakfast\": \"Milk, Bread Butter, Pakoda Once More\",\n    \"thursday_lunch\": \"Roti, Daal, Rice, Cabbage Sabji\",\n    \"thursday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"thursday_dinner\": \"Executive Dinner\",\n    \"friday_breakfast\": \"Milk, Bread Butter, Pakoda Dobara\",\n    \"friday_lunch\": \"Roti, Daal, Rice, Paneer Sabji\",\n    \"friday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"friday_dinner\": \"Executive Dinner\",\n    \"saturday_breakfast\": \"Milk, Bread Butter, Aaj Pohe\",\n    \"saturday_lunch\": \"Roti, Daal, Rice, Potato And Veg Sabji\",\n    \"saturday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"saturday_dinner\": \"Executive Dinner\",\n    \"sunday_breakfast\": \"Milk, Bread Butter, Aloo Paratha\",\n    \"sunday_lunch\": \"Roti, Daal, Rice, Potato Sabji Again\",\n    \"sunday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"sunday_dinner\": \"Executive Dinner\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/messmenu/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["messmenu",""],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a084f83-7a00-4db1-9b75-7c16eeb08781"},{"name":"Retrieve All Menus","id":"a557dde9-7276-4e37-9189-97b1a323322b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"monday_breakfast\": \"Milk, Bread Butter, Pakoda\",\n    \"monday_lunch\": \"Roti, Daal, Rice, Potato Sabji\",\n    \"monday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"monday_dinner\": \"Executive Dinner\",\n    \"tuesday_breakfast\": \"Milk, Bread Butter, Pakoda Firse\",\n    \"tuesday_lunch\": \"Roti, Daal, Rice, Mix Sabji\",\n    \"tuesday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"tuesday_dinner\": \"Executive Dinner\",\n    \"wednesday_breakfast\": \"Milk, Bread Butter, Pakoda Again\",\n    \"wednesday_lunch\": \"Roti, Daal, Rice, Flower Sabji\",\n    \"wednesday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"wednesday_dinner\": \"Executive Dinner\",\n    \"thursday_breakfast\": \"Milk, Bread Butter, Pakoda Once More\",\n    \"thursday_lunch\": \"Roti, Daal, Rice, Cabbage Sabji\",\n    \"thursday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"thursday_dinner\": \"Executive Dinner\",\n    \"friday_breakfast\": \"Milk, Bread Butter, Pakoda Dobara\",\n    \"friday_lunch\": \"Roti, Daal, Rice, Paneer Sabji\",\n    \"friday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"friday_dinner\": \"Executive Dinner\",\n    \"saturday_breakfast\": \"Milk, Bread Butter, Aaj Pohe\",\n    \"saturday_lunch\": \"Roti, Daal, Rice, Potato And Veg Sabji\",\n    \"saturday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"saturday_dinner\": \"Executive Dinner\",\n    \"sunday_breakfast\": \"Milk, Bread Butter, Aloo Paratha\",\n    \"sunday_lunch\": \"Roti, Daal, Rice, Potato Sabji Again\",\n    \"sunday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"sunday_dinner\": \"Executive Dinner\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/messmenu/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["messmenu",""],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a557dde9-7276-4e37-9189-97b1a323322b"},{"name":"Retreive Menu","id":"bb4aaeab-eb0f-4b41-a039-e888f2f0209a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/messmenu/menu/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["messmenu","menu","1"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb4aaeab-eb0f-4b41-a039-e888f2f0209a"},{"name":"Edit Menu","id":"b3ee26d1-f4c8-4e95-95da-770e13d6c910","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"monday_breakfast\": \"56 Bhog, unbelievable food.\",\n    \"monday_lunch\": \"Roti, Daal, Rice, Potato Sabji\",\n    \"monday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"monday_dinner\": \"Executive Dinner\",\n    \"tuesday_breakfast\": \"Milk, Bread Butter, Pakoda Firse\",\n    \"tuesday_lunch\": \"Roti, Daal, Rice, Mix Sabji\",\n    \"tuesday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"tuesday_dinner\": \"Executive Dinner\",\n    \"wednesday_breakfast\": \"Milk, Bread Butter, Pakoda Again\",\n    \"wednesday_lunch\": \"Roti, Daal, Rice, Flower Sabji\",\n    \"wednesday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"wednesday_dinner\": \"Executive Dinner\",\n    \"thursday_breakfast\": \"Milk, Bread Butter, Pakoda Once More\",\n    \"thursday_lunch\": \"Roti, Daal, Rice, Cabbage Sabji\",\n    \"thursday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"thursday_dinner\": \"Executive Dinner\",\n    \"friday_breakfast\": \"Milk, Bread Butter, Pakoda Dobara\",\n    \"friday_lunch\": \"Roti, Daal, Rice, Paneer Sabji\",\n    \"friday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"friday_dinner\": \"Executive Dinner\",\n    \"saturday_breakfast\": \"Milk, Bread Butter, Aaj Pohe\",\n    \"saturday_lunch\": \"Roti, Daal, Rice, Potato And Veg Sabji\",\n    \"saturday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"saturday_dinner\": \"Executive Dinner\",\n    \"sunday_breakfast\": \"Milk, Bread Butter, Aloo Paratha\",\n    \"sunday_lunch\": \"Roti, Daal, Rice, Potato Sabji Again\",\n    \"sunday_snacks\": \"Chai, Coffee, Morning Pakode\",\n    \"sunday_dinner\": \"Executive Dinner\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/messmenu/menu/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["messmenu","menu","1"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3ee26d1-f4c8-4e95-95da-770e13d6c910"},{"name":"Delete Menu","id":"1c8cec7b-a347-48bf-a952-f60b0313a667","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/messmenu/menu/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["messmenu","menu","1"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c8cec7b-a347-48bf-a952-f60b0313a667"}],"id":"3de1c6e5-e83a-4ecf-ba70-24fd7b8456ed","_postman_id":"3de1c6e5-e83a-4ecf-ba70-24fd7b8456ed","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}}},{"name":"Leave","item":[{"name":"Create Leave","id":"5d3349df-9e01-4aad-88ac-a8f705efbe01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"reason\": \"Go Home\",\n\t\"start_date\": \"2019-11-16T08:00Z\",\n\t\"end_date\": \"2019-11-21T15:00Z\",\n\t\"location\": \"Vadodara\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/leave/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["leave",""],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d3349df-9e01-4aad-88ac-a8f705efbe01"},{"name":"List Leave ( For Current Student )","id":"b7b23d17-0352-4a87-b1c4-a49d8b1b19bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/leave","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["leave"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7b23d17-0352-4a87-b1c4-a49d8b1b19bc"},{"name":"List Leave ( For Hostel Staff )","id":"c87b6b2c-6c90-4d9b-b760-e5abd4626516","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/leave","description":"<p>Make this request with a token of hostel staff member. It will only fetch the leave application which have a status of <code>Submitted</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["leave"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c87b6b2c-6c90-4d9b-b760-e5abd4626516"},{"name":"Update Leave","id":"9066897d-4b1f-46a7-805e-eb315d299184","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"rejected\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/leave/update/1","description":"<p>Can only update the <code>status</code> of the leave.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["leave","update","1"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9066897d-4b1f-46a7-805e-eb315d299184"}],"id":"6d90a6fa-a378-4884-95dc-b00a03423658","_postman_id":"6d90a6fa-a378-4884-95dc-b00a03423658","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}}},{"name":"Dates","item":[{"name":"Create Dates","id":"e39a0e60-ea3e-4b04-9799-5a1e10fd14a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"exam_link\": \"google.com\",\n    \"holiday_link\": \"facebook.com\",\n    \"academic_link\": \"iiitvadodara.ac.in\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/dates/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["dates",""],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e39a0e60-ea3e-4b04-9799-5a1e10fd14a4"},{"name":"Update Dates","id":"47c342bd-a612-491f-8269-e0a278ec316b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"exam_link\": \"somi.dev\",\n    \"holiday_link\": \"technokami.in\",\n    \"academic_link\": \"neeraj.rajaram\"\n}"},"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/dates/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["dates","1"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"47c342bd-a612-491f-8269-e0a278ec316b"},{"name":"Delete Dates","id":"4f27a95e-3a4d-4536-b08c-212a8a504062","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/dates/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["dates","1"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f27a95e-3a4d-4536-b08c-212a8a504062"},{"name":"Get Dates","id":"ebc0795a-aa97-478e-88b8-dcce655105e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com/dates/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}},"urlObject":{"path":["dates","1"],"host":["http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ebc0795a-aa97-478e-88b8-dcce655105e7"}],"id":"d04d54da-472a-4573-92f5-5d79317f4dc3","_postman_id":"d04d54da-472a-4573-92f5-5d79317f4dc3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","id":"a4bf1a6f-29d8-43ba-8f6d-921b728c611b","name":"Online Campus","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"438d8ca9-e1b9-4ed0-a90c-029eb3cd70d9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b1f632b5-cc7e-44e6-af7f-872dd5f8b398","type":"text/javascript","exec":[""]}}],"variable":[{"key":"API_HOST","value":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"},{"key":"API_HOST_DEPL","value":"http://ec2-3-135-9-162.us-east-2.compute.amazonaws.com"}]}