{"info":{"_postman_id":"11bbe9ac-bdc2-4af9-b755-af0dbb060db5","name":"Healthcare Appointment Management System (Work in Progress)","description":"<html><head></head><body><p><strong>This project is currently under active development. Core features have been implemented, and we are working on expanding functionality.</strong></p>\n<p>This is an independent project, not a group effort.</p>\n<p>This is a Django-based healthcare appointment management system that allows patients to book appointments with doctors. It includes advanced user authentication, appointment scheduling, and doctor management. The project is continuously evolving, with more advanced features planned for future implementation.</p>\n<p>Current Features-</p>\n<p><strong>User Management:</strong> - Patient and Doctor registration and authentication</p>\n<p>- Traditional username/password registration</p>\n<p>- Google Sign-Up integration for easy access</p>\n<p>- Email verification for enhanced security</p>\n<p>- <strong>User profile managemen</strong>t (edit profile, change password)</p>\n<p>- Admin user management with distinction between social and traditional sign</p>\n<p>-ups-</p>\n<p><strong>Appointment System:</strong></p>\n<p>- Create, view, update, and delete appointments</p>\n<p>- Appointment status tracking (Scheduled, Completed, Cancelled)</p>\n<p>- Doctor availability management</p>\n<p><strong>- Doctor Management:</strong></p>\n<p>- Doctor registration with specialization</p>\n<p>- Doctor profile management- Admin Interface:</p>\n<p>- Manage users, doctors, and appointments</p>\n<p>- Distinguish between users registered via social auth and traditional methods</p>\n<p><strong>Planned Features</strong></p>\n<p>- Patient Payment System</p>\n<p>- Drug Booking and Ordering System</p>\n<p>- Dispatch Management (Dispatch Company Registration)</p>\n<p>- Real-Time Chat Functionality</p>\n<p>- AI Chatbot Integration</p>\n<p>- Enhanced Admin Dashboard</p>\n<p>- User Feedback and Rating System</p>\n<p>- Notifications System</p>\n<p><strong>Technologies Used</strong></p>\n<p>- Django</p>\n<p>- Django Rest Framework</p>\n<p>- SQLite (default database)</p>\n<p>- Google OAuth for social authentication</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"36548151","collectionId":"11bbe9ac-bdc2-4af9-b755-af0dbb060db5","publishedId":"2sAYBUCXPR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-23T03:00:29.000Z"},"item":[{"name":"create patient","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"4dacb465-f59f-4a07-b7fd-d93ca4a8cd22","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"marama","type":"text"},{"key":"email","value":"marama@gmail.com","type":"text"},{"key":"password","value":"test12345","type":"text"},{"key":"password_confirm","value":"test12345","type":"text"},{"key":"is_patient","value":"True","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/MELVIN/Pictures/WhatsApp Image 2022-10-25 at 5.39.05 AM[boye].jpeg"],"src":"/C:/Users/MELVIN/Pictures/WhatsApp Image 2022-10-25 at 5.39.05 AM[boye].jpeg"},{"key":"date_of_birth","value":"2024-11-1989","type":"text"}]},"url":"http://127.0.0.1:8000/api/register/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","register",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"b200a9f1-e48f-4017-b9af-b806b637122c","name":"create patient","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"marama","type":"text"},{"key":"email","value":"marama@gmail.com","type":"text"},{"key":"password","value":"test12345","type":"text"},{"key":"password_confirm","value":"test12345","type":"text"},{"key":"is_patient","value":"True","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/MELVIN/Pictures/WhatsApp Image 2022-10-25 at 5.39.05 AM[boye].jpeg"],"src":"/C:/Users/MELVIN/Pictures/WhatsApp Image 2022-10-25 at 5.39.05 AM[boye].jpeg"},{"key":"date_of_birth","value":"2024-11-1989","type":"text"}]},"url":"http://127.0.0.1:8000/api/register/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 21:58:03 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"302"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User created successfully. Please check your email to verify your account.\",\n    \"data\": {\n        \"id\": 3,\n        \"username\": \"marama\",\n        \"email\": \"marama@gmail.com\",\n        \"is_patient\": true,\n        \"is_doctor\": false,\n        \"email_verified\": false,\n        \"patient_profile\": {\n            \"id\": 1,\n            \"user\": 3,\n            \"image\": null,\n            \"date_of_birth\": null\n        },\n        \"doctor_profile\": null\n    }\n}"}],"_postman_id":"4dacb465-f59f-4a07-b7fd-d93ca4a8cd22"},{"name":"create doctor","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"7380619a-0a4d-45cd-ac4f-dfc3c6a7ba06","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"sade","type":"text"},{"key":"email","value":"sade@gmail.com","type":"text"},{"key":"password","value":"test12345","type":"text"},{"key":"password_confirm","value":"test12345","type":"text"},{"key":"is_doctor","value":"True","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/MELVIN/Pictures/WhatsApp Image 2022-10-25 at 5.39.05 AM[boye].jpeg"],"src":"/C:/Users/MELVIN/Pictures/WhatsApp Image 2022-10-25 at 5.39.05 AM[boye].jpeg"},{"key":"date_of_birth","value":"2021-01-10","type":"text"},{"key":"specialization","value":"Dental","type":"text"},{"key":"availability","value":"True","type":"text"}]},"url":"http://127.0.0.1:8000/api/register/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","register",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"f2a66cf1-8e6e-4523-8bb1-c440ef8c72cb","name":"create doctor","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"sade","type":"text"},{"key":"email","value":"sade@gmail.com","type":"text"},{"key":"password","value":"test12345","type":"text"},{"key":"password_confirm","value":"test12345","type":"text"},{"key":"is_doctor","value":"True","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/MELVIN/Pictures/WhatsApp Image 2022-10-25 at 5.39.05 AM[boye].jpeg"],"src":"/C:/Users/MELVIN/Pictures/WhatsApp Image 2022-10-25 at 5.39.05 AM[boye].jpeg"},{"key":"date_of_birth","value":"2021-01-10","type":"text"},{"key":"specialization","value":"Dental","type":"text"},{"key":"availability","value":"True","type":"text"}]},"url":"http://127.0.0.1:8000/api/register/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 22:07:14 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"304"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User created successfully. Please check your email to verify your account.\",\n    \"data\": {\n        \"id\": 4,\n        \"username\": \"sade\",\n        \"email\": \"sade@gmail.com\",\n        \"is_patient\": false,\n        \"is_doctor\": true,\n        \"email_verified\": false,\n        \"patient_profile\": null,\n        \"doctor_profile\": {\n            \"id\": 1,\n            \"user\": 4,\n            \"specialization\": \"\",\n            \"availability\": true\n        }\n    }\n}"}],"_postman_id":"7380619a-0a4d-45cd-ac4f-dfc3c6a7ba06"},{"name":"patient login","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"e54f0e8d-f315-4212-9ac8-7a8914e74b9f","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"marama","type":"text"},{"key":"password","value":"test12345","type":"text"}]},"url":"http://127.0.0.1:8000/api/token/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","token",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"754a137b-a0d0-49d5-8e1d-52b628821232","name":"patient login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"marama","type":"text"},{"key":"password","value":"test12345","type":"text"}]},"url":"http://127.0.0.1:8000/api/token/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 22:01:05 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"483"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTczMjM5OTI2NSwiaWF0IjoxNzMyMzEyODY1LCJqdGkiOiJlNjU5MDkxNWNhMDk0ZjQxYmRlZmY4YTBiMWY1MGY0NiIsInVzZXJfaWQiOjN9.OrbBQylp4fH06wqPattVSmE8Wfj5dkH-2yDMCawMf5w\",\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzMyMzE2NDY1LCJpYXQiOjE3MzIzMTI4NjUsImp0aSI6IjUwNDhkNzlhN2E2NzQxMjNhZjcyNGI5NWM3ZjFkOWRhIiwidXNlcl9pZCI6M30.qLSyCGYC4Tc4pkKpSlVoxpopNuAyFdCLvcnR5yEUHcQ\"\n}"}],"_postman_id":"e54f0e8d-f315-4212-9ac8-7a8914e74b9f"},{"name":"doctor login","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"8051e0cd-2f95-45ac-87bf-5b802f3c59a8","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"sade","type":"text"},{"key":"password","value":"test12345","type":"text"}]},"url":"http://127.0.0.1:8000/api/token/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","token",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"54af51b8-1849-4043-bfce-77ef9b791806","name":"doctor login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"marama","type":"text"},{"key":"password","value":"test12345","type":"text"}]},"url":"http://127.0.0.1:8000/api/token/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 22:01:05 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"483"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTczMjM5OTI2NSwiaWF0IjoxNzMyMzEyODY1LCJqdGkiOiJlNjU5MDkxNWNhMDk0ZjQxYmRlZmY4YTBiMWY1MGY0NiIsInVzZXJfaWQiOjN9.OrbBQylp4fH06wqPattVSmE8Wfj5dkH-2yDMCawMf5w\",\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzMyMzE2NDY1LCJpYXQiOjE3MzIzMTI4NjUsImp0aSI6IjUwNDhkNzlhN2E2NzQxMjNhZjcyNGI5NWM3ZjFkOWRhIiwidXNlcl9pZCI6M30.qLSyCGYC4Tc4pkKpSlVoxpopNuAyFdCLvcnR5yEUHcQ\"\n}"}],"_postman_id":"8051e0cd-2f95-45ac-87bf-5b802f3c59a8"},{"name":"get patient profile","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"6a629331-17f0-4018-b069-9b1b948d762a","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8000/api/users/profile/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","users","profile",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"fca6a74c-df27-495d-8f96-09f4694a3441","name":"get patient profile","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8000/api/users/profile/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 03:28:27 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, PUT, PATCH, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"209"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 46,\n    \"username\": \"marama\",\n    \"email\": \"marama@gmail.com\",\n    \"is_patient\": true,\n    \"is_doctor\": false,\n    \"email_verified\": false,\n    \"patient_profile\": {\n        \"id\": 18,\n        \"user\": 46,\n        \"image\": null,\n        \"date_of_birth\": null\n    },\n    \"doctor_profile\": null\n}"}],"_postman_id":"6a629331-17f0-4018-b069-9b1b948d762a"},{"name":"update profile","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"7826ec43-7033-4338-8cc4-80c21e57efc5","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"date_of_birth","value":"1990/01/01","type":"text"}]},"url":"http://localhost:8000/api/users/users/update_profile/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","users","users","update_profile",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"afead6ad-5cd4-4887-9e09-16caad9bab07","name":"get profile copy","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8000/api/users/profile/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 03:28:27 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, PUT, PATCH, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"209"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 46,\n    \"username\": \"marama\",\n    \"email\": \"marama@gmail.com\",\n    \"is_patient\": true,\n    \"is_doctor\": false,\n    \"email_verified\": false,\n    \"patient_profile\": {\n        \"id\": 18,\n        \"user\": 46,\n        \"image\": null,\n        \"date_of_birth\": null\n    },\n    \"doctor_profile\": null\n}"}],"_postman_id":"7826ec43-7033-4338-8cc4-80c21e57efc5"},{"name":"doctor logout","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"fc62f35d-49ab-47b3-9d12-e511e769f787","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"refresh","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTczMjM5OTc3NiwiaWF0IjoxNzMyMzEzMzc2LCJqdGkiOiJjMzFhYmQ1MzA4NWI0NTRkODUzYWY4NzM3YTdhMjc5YiIsInVzZXJfaWQiOjR9.S1XyBfktecGCOmRLFwD9UHy06OetEVi1_rSNUiReqt4","type":"text"}]},"url":"http://127.0.0.1:8000/api/logout/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","logout",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"6104adae-7877-49e9-bde6-bf6b0bb163f6","name":"doctor logout","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"refresh","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTczMjM5OTc3NiwiaWF0IjoxNzMyMzEzMzc2LCJqdGkiOiJjMzFhYmQ1MzA4NWI0NTRkODUzYWY4NzM3YTdhMjc5YiIsInVzZXJfaWQiOjR9.S1XyBfktecGCOmRLFwD9UHy06OetEVi1_rSNUiReqt4","type":"text"}]},"url":"http://127.0.0.1:8000/api/logout/"},"status":"Reset Content","code":205,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 22:13:10 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"31"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Logout successful\"\n}"}],"_postman_id":"fc62f35d-49ab-47b3-9d12-e511e769f787"},{"name":"patient logout","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"0e1436eb-05d7-4694-a50b-19d905e608ed","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"refresh","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTczMjM5OTI2NSwiaWF0IjoxNzMyMzEyODY1LCJqdGkiOiJlNjU5MDkxNWNhMDk0ZjQxYmRlZmY4YTBiMWY1MGY0NiIsInVzZXJfaWQiOjN9.OrbBQylp4fH06wqPattVSmE8Wfj5dkH-2yDMCawMf5w","type":"text"}]},"url":"http://127.0.0.1:8000/api/logout/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","logout",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"05f89eb8-0943-4eb2-81f8-8338bd5ccb46","name":"doctor logout Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"refresh","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTczMjM5OTI2NSwiaWF0IjoxNzMyMzEyODY1LCJqdGkiOiJlNjU5MDkxNWNhMDk0ZjQxYmRlZmY4YTBiMWY1MGY0NiIsInVzZXJfaWQiOjN9.OrbBQylp4fH06wqPattVSmE8Wfj5dkH-2yDMCawMf5w","type":"text"}]},"url":"http://127.0.0.1:8000/api/logout/"},"status":"Reset Content","code":205,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 22:14:47 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"31"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Logout successful\"\n}"}],"_postman_id":"0e1436eb-05d7-4694-a50b-19d905e608ed"},{"name":"password-reset","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"017a0fa4-2bcb-4693-bf11-ee93f3d6692c","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"loveth01@gmail.com","type":"text"}]},"url":"http://127.0.0.1:8000/api/users/password-reset/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","users","password-reset",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1a426148-86cc-4ea3-8ba2-45a1ce391b10","name":"password-reset","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"loveth01@gmail.com","type":"text"}]},"url":"http://127.0.0.1:8000/api/users/password-reset/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 02:12:39 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"87"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"If an account with this email exists, a password reset link has been sent.\"\n}"}],"_postman_id":"017a0fa4-2bcb-4693-bf11-ee93f3d6692c"},{"name":"password-reset-confirmation","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"6e89778f-ee01-4e13-8bf8-a4d37fa42c8a","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"new_password","value":"Afolasade01@","type":"text"}]},"url":"http://127.0.0.1:8000/api/users/verify-email/NDI/cgvi53-f62c791f5f25a4c0d6399f8f09833268/ ","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","users","verify-email","NDI","cgvi53-f62c791f5f25a4c0d6399f8f09833268"," "],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e89778f-ee01-4e13-8bf8-a4d37fa42c8a"},{"name":"verify patient email","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"8a183065-e8e8-48e4-bfef-8f70c13c4feb","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/api/users/verify-email/Mw/cgx14r-f4720271f0b90a0f018872d90c8039f5/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","users","verify-email","Mw","cgx14r-f4720271f0b90a0f018872d90c8039f5",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"2f7d2ac5-4020-4c94-87ea-f2fabac95b1e","name":"patient email verification","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/api/users/verify-email/Mw/cgx14r-f4720271f0b90a0f018872d90c8039f5/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 21:59:11 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"50"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Email has been verified successfully.\"\n}"}],"_postman_id":"8a183065-e8e8-48e4-bfef-8f70c13c4feb"},{"name":"verify doctor email","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"06b8ac9b-8592-47eb-92c5-e5f029e36731","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/api/users/verify-email/NA/cgx1k2-3380e828dfc5e6cfc85980971f687253/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","users","verify-email","NA","cgx1k2-3380e828dfc5e6cfc85980971f687253",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"a3defa98-c187-49f4-951b-a6c637a8a116","name":"verify doctor email","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/api/users/verify-email/NA/cgx1k2-3380e828dfc5e6cfc85980971f687253/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 22:16:21 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"50"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Email has been verified successfully.\"\n}"}],"_postman_id":"06b8ac9b-8592-47eb-92c5-e5f029e36731"},{"name":"list_accounts","event":[{"listen":"test","script":{"id":"2b85485e-31e5-4f87-8bc6-64bf762ea711","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"50e752cd-a4f2-419e-b198-038074b8fbe3","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/api/users/","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","users",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"91fb0652-abb6-40bc-87c6-876bb1546b93","name":"list_accounts","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/api/users/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 20 Nov 2024 00:07:32 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"158"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": \"http://127.0.0.1:8000/api/users/users/\",\n    \"patients\": \"http://127.0.0.1:8000/api/users/patients/\",\n    \"doctors\": \"http://127.0.0.1:8000/api/users/doctors/\"\n}"}],"_postman_id":"50e752cd-a4f2-419e-b198-038074b8fbe3"},{"name":"update doctor profile","event":[{"listen":"test","script":{"id":"b554582d-fc29-4307-bb4b-fe7e7bbe6905","exec":["pm.test(\"Successful PUT request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});",""],"type":"text/javascript","packages":{}}}],"id":"fc5ca514-f434-4251-b549-fff5cc07e2fd","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"specialization","value":"dental","type":"text"}]},"url":"http://localhost:8000/api/users/users/update_profile/","description":"<p>This is a PUT request and it is used to overwrite an existing piece of data. For instance, after you create an entity with a POST request, you may want to modify that later. You can do that using a PUT request. You typically identify the entity being updated by including an identifier in the URL (eg. <code>id=1</code>).</p>\n<p>A successful PUT request typically returns a <code>200 OK</code>, <code>201 Created</code>, or <code>204 No Content</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","users","users","update_profile",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc5ca514-f434-4251-b549-fff5cc07e2fd"},{"name":"Delete data","event":[{"listen":"test","script":{"exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript"}}],"id":"ae0fdd37-a13f-45c3-b4a8-a20160e48935","request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://postman-rest-api-learner.glitch.me//info?id=1","description":"<p>This is a DELETE request, and it is used to delete data that was previously created via a POST request. You typically identify the entity being updated by including an identifier in the URL (eg. <code>id=1</code>).</p>\n<p>A successful DELETE request typically returns a <code>200 OK</code>, <code>202 Accepted</code>, or <code>204 No Content</code> response code.</p>\n","urlObject":{"path":["info"],"host":["https://postman-rest-api-learner.glitch.me/"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"ae0fdd37-a13f-45c3-b4a8-a20160e48935"},{"name":"google_auth","id":"8b6a0ce1-0fa7-4794-85ed-fd343c0dab4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"scope","value":"<scope>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"useBrowser","value":"<use-browser>"},{"key":"tokenName","value":"<token-name>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8000/api/auth/google/","urlObject":{"protocol":"http","port":"8000","path":["api","auth","google",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b6a0ce1-0fa7-4794-85ed-fd343c0dab4b"},{"name":"google_signup_doctor","id":"bc47b268-a54f-48eb-9016-ef5e13653b91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDU4NTk1OTQ5MTEyNTUxMzIwODEiLCJlbWFpbCI6ImVsbWVsdmluMjAwMkBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiYXRfaGFzaCI6IjlvNzhPaFNvUTZWOUJhdW5fTEFtcVEiLCJuYW1lIjoiTWVsdmluIFByaW5jZSBBamF5aSIsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS9BQ2c4b2NKMHZiWFZjZ3VZMm5UeEUwejlESW9WVTR2Ump1NlZLUnRGSkI4NVQyT09CNXJKSmRwRT1zOTYtYyIsImdpdmVuX25hbWUiOiJNZWx2aW4gUHJpbmNlIiwiZmFtaWx5X25hbWUiOiJBamF5aSIsImlhdCI6MTczMjMxNDI4NSwiZXhwIjoxNzMyMzE3ODg1fQ.LQk7ABEbdBZRWMwqGLR9uUd8T0nPk9UJkmb4Dc2-vAE3T66jmys3k1VDDNvsqKzNfS4i7np6FozvMrQOv9HP0eVjpGEby7Q9mbQngvS11AgojCNXBr5zS8TqpUoHAfTNiQ2r7RpfZI6GNKiswgOno9sA9pRmAKcQXltUA-VsVn4WiaE_I0QR2C6CAvFM4mG011078IGXoWerKl09kqFpkw6QkluVeWPgy4gr6wXC8dZlqlVoKCwFgCd6coNS7Ljtcd_kdGMjXc24kY4PGtnI5ipKNGH9udM84zm7Ss_PvE0dB9wgvFmUiFsAT8fgEryorr6UP_inWtsAMQcgPBcK8A\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/google-signin/","urlObject":{"protocol":"http","port":"8000","path":["api","google-signin",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"249e3918-cc37-4a4d-8943-6ed3b943bd55","name":"google_signup_doctor","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDU4NTk1OTQ5MTEyNTUxMzIwODEiLCJlbWFpbCI6ImVsbWVsdmluMjAwMkBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiYXRfaGFzaCI6IjlvNzhPaFNvUTZWOUJhdW5fTEFtcVEiLCJuYW1lIjoiTWVsdmluIFByaW5jZSBBamF5aSIsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS9BQ2c4b2NKMHZiWFZjZ3VZMm5UeEUwejlESW9WVTR2Ump1NlZLUnRGSkI4NVQyT09CNXJKSmRwRT1zOTYtYyIsImdpdmVuX25hbWUiOiJNZWx2aW4gUHJpbmNlIiwiZmFtaWx5X25hbWUiOiJBamF5aSIsImlhdCI6MTczMjMxNDI4NSwiZXhwIjoxNzMyMzE3ODg1fQ.LQk7ABEbdBZRWMwqGLR9uUd8T0nPk9UJkmb4Dc2-vAE3T66jmys3k1VDDNvsqKzNfS4i7np6FozvMrQOv9HP0eVjpGEby7Q9mbQngvS11AgojCNXBr5zS8TqpUoHAfTNiQ2r7RpfZI6GNKiswgOno9sA9pRmAKcQXltUA-VsVn4WiaE_I0QR2C6CAvFM4mG011078IGXoWerKl09kqFpkw6QkluVeWPgy4gr6wXC8dZlqlVoKCwFgCd6coNS7Ljtcd_kdGMjXc24kY4PGtnI5ipKNGH9udM84zm7Ss_PvE0dB9wgvFmUiFsAT8fgEryorr6UP_inWtsAMQcgPBcK8A\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/google-signin/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 22:26:07 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"610"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Login successful\",\n    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTczMjQwMDc2NywiaWF0IjoxNzMyMzE0MzY3LCJqdGkiOiJhZDkzMWZhOGEzN2Y0ZTNkOTA4ZTE4YjdlODAwNmI3OCIsInVzZXJfaWQiOjF9.vqvxCDTecN3hr1Wjw37MrYumBwNHdVAjytJKEfe1Axs\",\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzMyMzE3OTY3LCJpYXQiOjE3MzIzMTQzNjcsImp0aSI6IjliNDk2ZDljNjJkMDRmYzhiNDc3M2U2OWMxZWEwMzA0IiwidXNlcl9pZCI6MX0.Rx-_xexPBIbAOEtLR3DJo2oOxo1Si3ekZmcPObcwZjA\",\n    \"user\": {\n        \"id\": 1,\n        \"email\": \"elmelvin2002@gmail.com\",\n        \"first_name\": \"Melvin Prince\",\n        \"last_name\": \"Ajayi\"\n    }\n}"}],"_postman_id":"bc47b268-a54f-48eb-9016-ef5e13653b91"},{"name":"google_signup_patient","id":"d0e9bd03-de9f-47a1-b8f2-2b0070530b66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDUzOTE5MDU3ODgyMjI5MjY2NDIiLCJlbWFpbCI6ImFqYXlpYWRlYm95ZTIwMDJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF0X2hhc2giOiJGWEpNT2c5VGk3S0hoTE9ySV9lWXp3IiwibmFtZSI6ImFqYXlpIGFkZWJveWUiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jSXNsa24zZkdRNFRWRDZlWjRrM0k0STc4RFJnT2dCUkVxbDVDQ1VRUkdrVHlySjdtUT1zOTYtYyIsImdpdmVuX25hbWUiOiJhamF5aSIsImZhbWlseV9uYW1lIjoiYWRlYm95ZSIsImlhdCI6MTczMjMxNDUzOSwiZXhwIjoxNzMyMzE4MTM5fQ.iyk7AV6oeGEJjwJKPbeDxOmmBQPKTm133J_AH1CshVeq-tMf8zb7rtgSGq9JFL3ztzTmGzsjskiUfdeR1-niHCx4hSb6mS6nIfQwIa4T7tIkJXfZ_LEgIwcRKiKj9ho7YvbBRtw6NM4s9iSu8U0x2g4y2a7LHPC3YqhswOu_4sHOplM7GtpPbFJJPrAQfnAOrPh_1W7H_hGd-XIxR3oe87KqYJ5tdg-4AFHrux-CwMb1X5zrmEszoJ885ituEpY2hV4zCduIVMG0A33-lg0cKX8m3_QCIKJqmIhYSHq1Po6ezWS-JDZQFSa3lIt1C-oNNY8oUsU-oeG-kR3Iv_bjPQ\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/google-signin/","urlObject":{"protocol":"http","port":"8000","path":["api","google-signin",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"42ee2874-4fb8-43d3-9da6-29b0a7137802","name":"google_signup_patient","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDUzOTE5MDU3ODgyMjI5MjY2NDIiLCJlbWFpbCI6ImFqYXlpYWRlYm95ZTIwMDJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF0X2hhc2giOiJGWEpNT2c5VGk3S0hoTE9ySV9lWXp3IiwibmFtZSI6ImFqYXlpIGFkZWJveWUiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jSXNsa24zZkdRNFRWRDZlWjRrM0k0STc4RFJnT2dCUkVxbDVDQ1VRUkdrVHlySjdtUT1zOTYtYyIsImdpdmVuX25hbWUiOiJhamF5aSIsImZhbWlseV9uYW1lIjoiYWRlYm95ZSIsImlhdCI6MTczMjMxNDUzOSwiZXhwIjoxNzMyMzE4MTM5fQ.iyk7AV6oeGEJjwJKPbeDxOmmBQPKTm133J_AH1CshVeq-tMf8zb7rtgSGq9JFL3ztzTmGzsjskiUfdeR1-niHCx4hSb6mS6nIfQwIa4T7tIkJXfZ_LEgIwcRKiKj9ho7YvbBRtw6NM4s9iSu8U0x2g4y2a7LHPC3YqhswOu_4sHOplM7GtpPbFJJPrAQfnAOrPh_1W7H_hGd-XIxR3oe87KqYJ5tdg-4AFHrux-CwMb1X5zrmEszoJ885ituEpY2hV4zCduIVMG0A33-lg0cKX8m3_QCIKJqmIhYSHq1Po6ezWS-JDZQFSa3lIt1C-oNNY8oUsU-oeG-kR3Iv_bjPQ\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/google-signin/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 22:30:49 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"85"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Please select a role: patient or doctor.\",\n    \"role_selection_required\": true\n}"}],"_postman_id":"d0e9bd03-de9f-47a1-b8f2-2b0070530b66"},{"name":"set_role_doctor","id":"be9d43fa-5e78-4d56-be17-31b62bbf0f50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDU4NTk1OTQ5MTEyNTUxMzIwODEiLCJlbWFpbCI6ImVsbWVsdmluMjAwMkBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiYXRfaGFzaCI6InB0QzRQUUZ4MF9tdTkxanYxUDBtekEiLCJuYW1lIjoiTWVsdmluIFByaW5jZSBBamF5aSIsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS9BQ2c4b2NKMHZiWFZjZ3VZMm5UeEUwejlESW9WVTR2Ump1NlZLUnRGSkI4NVQyT09CNXJKSmRwRT1zOTYtYyIsImdpdmVuX25hbWUiOiJNZWx2aW4gUHJpbmNlIiwiZmFtaWx5X25hbWUiOiJBamF5aSIsImlhdCI6MTczMjMxMjI5OCwiZXhwIjoxNzMyMzE1ODk4fQ.CITemvnph2sS4XDbV2TeQEQVPlE3RPRrwMoKr5_8OJbeaFn3eEtpBiCNEvZuOPw5rGf7yGe0ZxIxiXWcWNQfGuSHD_Y0A6YNizLnDgWf_Ij_ogiWphRX-hZTGEXwZ9VPodTwnBttz_cL5aLTjUhYygkvqIVsL0YpheZiVu9Y4RVOAJv9n4pFpkpRRU93QCp34-Ptla2Sv7orBgSB08ohBpEPgKskKVE_gmNUIKsbhR-fml0yr0WX7O225rV5YV1s-c0qkomHLglSODTZymb4F-9Dj91dplTej5u3COIlYhU-TeXUePlBwWNOj0iShcC_ROuaU6lUj58LmzRJpXPZAA\",\r\n    \"role\": \"doctor\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/set-role/","urlObject":{"protocol":"http","port":"8000","path":["api","set-role",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1c0453ab-0d94-4c24-90a9-7953ae487b3e","name":"set_role_doctor","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDU4NTk1OTQ5MTEyNTUxMzIwODEiLCJlbWFpbCI6ImVsbWVsdmluMjAwMkBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiYXRfaGFzaCI6InB0QzRQUUZ4MF9tdTkxanYxUDBtekEiLCJuYW1lIjoiTWVsdmluIFByaW5jZSBBamF5aSIsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS9BQ2c4b2NKMHZiWFZjZ3VZMm5UeEUwejlESW9WVTR2Ump1NlZLUnRGSkI4NVQyT09CNXJKSmRwRT1zOTYtYyIsImdpdmVuX25hbWUiOiJNZWx2aW4gUHJpbmNlIiwiZmFtaWx5X25hbWUiOiJBamF5aSIsImlhdCI6MTczMjMxMjI5OCwiZXhwIjoxNzMyMzE1ODk4fQ.CITemvnph2sS4XDbV2TeQEQVPlE3RPRrwMoKr5_8OJbeaFn3eEtpBiCNEvZuOPw5rGf7yGe0ZxIxiXWcWNQfGuSHD_Y0A6YNizLnDgWf_Ij_ogiWphRX-hZTGEXwZ9VPodTwnBttz_cL5aLTjUhYygkvqIVsL0YpheZiVu9Y4RVOAJv9n4pFpkpRRU93QCp34-Ptla2Sv7orBgSB08ohBpEPgKskKVE_gmNUIKsbhR-fml0yr0WX7O225rV5YV1s-c0qkomHLglSODTZymb4F-9Dj91dplTej5u3COIlYhU-TeXUePlBwWNOj0iShcC_ROuaU6lUj58LmzRJpXPZAA\",\r\n    \"role\": \"doctor\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/set-role/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 21:53:14 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"55"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Role updated successfully.\",\n    \"role\": \"doctor\"\n}"}],"_postman_id":"be9d43fa-5e78-4d56-be17-31b62bbf0f50"},{"name":"set_role_patient","id":"cfd1434c-b802-4fd9-966c-7b73b04d4ea5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDUzOTE5MDU3ODgyMjI5MjY2NDIiLCJlbWFpbCI6ImFqYXlpYWRlYm95ZTIwMDJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF0X2hhc2giOiJGWEpNT2c5VGk3S0hoTE9ySV9lWXp3IiwibmFtZSI6ImFqYXlpIGFkZWJveWUiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jSXNsa24zZkdRNFRWRDZlWjRrM0k0STc4RFJnT2dCUkVxbDVDQ1VRUkdrVHlySjdtUT1zOTYtYyIsImdpdmVuX25hbWUiOiJhamF5aSIsImZhbWlseV9uYW1lIjoiYWRlYm95ZSIsImlhdCI6MTczMjMxNDUzOSwiZXhwIjoxNzMyMzE4MTM5fQ.iyk7AV6oeGEJjwJKPbeDxOmmBQPKTm133J_AH1CshVeq-tMf8zb7rtgSGq9JFL3ztzTmGzsjskiUfdeR1-niHCx4hSb6mS6nIfQwIa4T7tIkJXfZ_LEgIwcRKiKj9ho7YvbBRtw6NM4s9iSu8U0x2g4y2a7LHPC3YqhswOu_4sHOplM7GtpPbFJJPrAQfnAOrPh_1W7H_hGd-XIxR3oe87KqYJ5tdg-4AFHrux-CwMb1X5zrmEszoJ885ituEpY2hV4zCduIVMG0A33-lg0cKX8m3_QCIKJqmIhYSHq1Po6ezWS-JDZQFSa3lIt1C-oNNY8oUsU-oeG-kR3Iv_bjPQ\",\r\n    \"role\": \"patient\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/set-role/","urlObject":{"protocol":"http","port":"8000","path":["api","set-role",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"75af60dc-b540-449b-9b09-5b2a58358c6d","name":"set_role patient","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDUzOTE5MDU3ODgyMjI5MjY2NDIiLCJlbWFpbCI6ImFqYXlpYWRlYm95ZTIwMDJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF0X2hhc2giOiJGWEpNT2c5VGk3S0hoTE9ySV9lWXp3IiwibmFtZSI6ImFqYXlpIGFkZWJveWUiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jSXNsa24zZkdRNFRWRDZlWjRrM0k0STc4RFJnT2dCUkVxbDVDQ1VRUkdrVHlySjdtUT1zOTYtYyIsImdpdmVuX25hbWUiOiJhamF5aSIsImZhbWlseV9uYW1lIjoiYWRlYm95ZSIsImlhdCI6MTczMjMxNDUzOSwiZXhwIjoxNzMyMzE4MTM5fQ.iyk7AV6oeGEJjwJKPbeDxOmmBQPKTm133J_AH1CshVeq-tMf8zb7rtgSGq9JFL3ztzTmGzsjskiUfdeR1-niHCx4hSb6mS6nIfQwIa4T7tIkJXfZ_LEgIwcRKiKj9ho7YvbBRtw6NM4s9iSu8U0x2g4y2a7LHPC3YqhswOu_4sHOplM7GtpPbFJJPrAQfnAOrPh_1W7H_hGd-XIxR3oe87KqYJ5tdg-4AFHrux-CwMb1X5zrmEszoJ885ituEpY2hV4zCduIVMG0A33-lg0cKX8m3_QCIKJqmIhYSHq1Po6ezWS-JDZQFSa3lIt1C-oNNY8oUsU-oeG-kR3Iv_bjPQ\",\r\n    \"role\": \"patient\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/set-role/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Nov 2024 22:32:11 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"56"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Role updated successfully.\",\n    \"role\": \"patient\"\n}"}],"_postman_id":"cfd1434c-b802-4fd9-966c-7b73b04d4ea5"},{"name":"appointments","id":"84ba2a0d-a6b7-481c-bd2f-0bff9cf7e4d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDUzOTE5MDU3ODgyMjI5MjY2NDIiLCJlbWFpbCI6ImFqYXlpYWRlYm95ZTIwMDJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF0X2hhc2giOiJGWEpNT2c5VGk3S0hoTE9ySV9lWXp3IiwibmFtZSI6ImFqYXlpIGFkZWJveWUiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jSXNsa24zZkdRNFRWRDZlWjRrM0k0STc4RFJnT2dCUkVxbDVDQ1VRUkdrVHlySjdtUT1zOTYtYyIsImdpdmVuX25hbWUiOiJhamF5aSIsImZhbWlseV9uYW1lIjoiYWRlYm95ZSIsImlhdCI6MTczMjMxNDUzOSwiZXhwIjoxNzMyMzE4MTM5fQ.iyk7AV6oeGEJjwJKPbeDxOmmBQPKTm133J_AH1CshVeq-tMf8zb7rtgSGq9JFL3ztzTmGzsjskiUfdeR1-niHCx4hSb6mS6nIfQwIa4T7tIkJXfZ_LEgIwcRKiKj9ho7YvbBRtw6NM4s9iSu8U0x2g4y2a7LHPC3YqhswOu_4sHOplM7GtpPbFJJPrAQfnAOrPh_1W7H_hGd-XIxR3oe87KqYJ5tdg-4AFHrux-CwMb1X5zrmEszoJ885ituEpY2hV4zCduIVMG0A33-lg0cKX8m3_QCIKJqmIhYSHq1Po6ezWS-JDZQFSa3lIt1C-oNNY8oUsU-oeG-kR3Iv_bjPQ\",\r\n    \"role\": \"patient\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/appointments/","urlObject":{"protocol":"http","port":"8000","path":["api","appointments",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"42437b09-f56d-4572-a912-156da38182e1","name":"book appointment","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ5NzQwYTcwYjA5NzJkY2NmNzVmYTg4YmM1MjliZDE2YTMwNTczYmQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI1MTc4NjU1Mzc0MTAtaGFvYjZxcmpzbjhpMGRnc2E5N3VqMTZmZDBoamZhMWguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDUzOTE5MDU3ODgyMjI5MjY2NDIiLCJlbWFpbCI6ImFqYXlpYWRlYm95ZTIwMDJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF0X2hhc2giOiJGWEpNT2c5VGk3S0hoTE9ySV9lWXp3IiwibmFtZSI6ImFqYXlpIGFkZWJveWUiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jSXNsa24zZkdRNFRWRDZlWjRrM0k0STc4RFJnT2dCUkVxbDVDQ1VRUkdrVHlySjdtUT1zOTYtYyIsImdpdmVuX25hbWUiOiJhamF5aSIsImZhbWlseV9uYW1lIjoiYWRlYm95ZSIsImlhdCI6MTczMjMxNDUzOSwiZXhwIjoxNzMyMzE4MTM5fQ.iyk7AV6oeGEJjwJKPbeDxOmmBQPKTm133J_AH1CshVeq-tMf8zb7rtgSGq9JFL3ztzTmGzsjskiUfdeR1-niHCx4hSb6mS6nIfQwIa4T7tIkJXfZ_LEgIwcRKiKj9ho7YvbBRtw6NM4s9iSu8U0x2g4y2a7LHPC3YqhswOu_4sHOplM7GtpPbFJJPrAQfnAOrPh_1W7H_hGd-XIxR3oe87KqYJ5tdg-4AFHrux-CwMb1X5zrmEszoJ885ituEpY2hV4zCduIVMG0A33-lg0cKX8m3_QCIKJqmIhYSHq1Po6ezWS-JDZQFSa3lIt1C-oNNY8oUsU-oeG-kR3Iv_bjPQ\",\r\n    \"role\": \"patient\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/appointments/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 23 Nov 2024 02:16:51 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"133"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"appointments\": \"http://localhost:8000/api/appointments/appointments/\",\n    \"feedback\": \"http://localhost:8000/api/appointments/feedback/\"\n}"}],"_postman_id":"84ba2a0d-a6b7-481c-bd2f-0bff9cf7e4d1"},{"name":"book appointment","id":"4ae692b8-2e90-4d90-8bff-b2fd72b75373","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"doctor_id","value":"4","type":"text"},{"key":"date_time","value":"2024-11-23T14:35:00","type":"text"},{"key":"notes","value":"","type":"text"}]},"url":"http://localhost:8000/api/appointments/appointments/","urlObject":{"protocol":"http","port":"8000","path":["api","appointments","appointments",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"881f0644-ea43-4009-ae89-6fc56967acbc","name":"patient appointment","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"doctor_id","value":"4","type":"text"},{"key":"date_time","value":"2024-11-23T14:35:00","type":"text"}]},"url":"http://localhost:8000/api/appointments/appointments/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 23 Nov 2024 02:27:45 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"596"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"patient\": {\n        \"id\": 3,\n        \"username\": \"marama\",\n        \"email\": \"marama@gmail.com\",\n        \"is_patient\": true,\n        \"is_doctor\": false,\n        \"email_verified\": true,\n        \"patient_profile\": {\n            \"id\": 1,\n            \"user\": 3,\n            \"image\": null,\n            \"date_of_birth\": null\n        },\n        \"doctor_profile\": null\n    },\n    \"doctor\": {\n        \"id\": 4,\n        \"username\": \"sade\",\n        \"email\": \"sade@gmail.com\",\n        \"is_patient\": false,\n        \"is_doctor\": true,\n        \"email_verified\": true,\n        \"patient_profile\": null,\n        \"doctor_profile\": {\n            \"id\": 1,\n            \"user\": 4,\n            \"specialization\": \"\",\n            \"availability\": true\n        }\n    },\n    \"date_time\": \"2024-11-23T14:35:00Z\",\n    \"status\": \"SCHEDULED\",\n    \"notes\": null,\n    \"created_at\": \"2024-11-23T02:27:45.421671Z\",\n    \"updated_at\": \"2024-11-23T02:27:45.421671Z\"\n}"}],"_postman_id":"4ae692b8-2e90-4d90-8bff-b2fd72b75373"},{"name":"appointment feedback","id":"e40c27e5-d20b-45fc-91fd-1342ebda1d19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"appointment","value":"1","type":"text"},{"key":"rating","value":"5","type":"text"},{"key":"comment","value":"satisfactory","type":"text"}]},"url":"http://localhost:8000/api/appointments/feedback/","urlObject":{"protocol":"http","port":"8000","path":["api","appointments","feedback",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"36bbf740-b577-4ada-a63b-ae061ed0f52b","name":"appointment feedback rating","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"appointment","value":"1","type":"text"},{"key":"rating","value":"5","type":"text"},{"key":"comment","value":"satisfactory","type":"text"}]},"url":"http://localhost:8000/api/appointments/feedback/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 23 Nov 2024 02:41:21 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"103"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"appointment\": 1,\n    \"rating\": 5,\n    \"comment\": \"satisfactory\",\n    \"created_at\": \"2024-11-23T02:41:20.952023Z\"\n}"}],"_postman_id":"e40c27e5-d20b-45fc-91fd-1342ebda1d19"},{"name":"doctor appointment rating","id":"20cb3a16-4613-48f5-8af3-16f11e14f37a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/appointments/feedback/doctor_average_rating/?doctor_id=4","urlObject":{"protocol":"http","port":"8000","path":["api","appointments","feedback","doctor_average_rating",""],"host":["localhost"],"query":[{"key":"doctor_id","value":"4"}],"variable":[]}},"response":[{"id":"db1348f3-0ca1-4dcb-91b7-9727d9593962","name":"doctor feedback rating","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:8000/api/appointments/feedback/doctor_average_rating/?doctor_id=4","protocol":"http","host":["localhost"],"port":"8000","path":["api","appointments","feedback","doctor_average_rating",""],"query":[{"key":"doctor_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 23 Nov 2024 02:48:33 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"22"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"average_rating\": 5\n}"}],"_postman_id":"20cb3a16-4613-48f5-8af3-16f11e14f37a"},{"name":"feedback by id","id":"f9c12911-21d3-4126-95a9-abb395e6b871","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/appointments/feedback/1/","urlObject":{"protocol":"http","port":"8000","path":["api","appointments","feedback","1",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7560d127-9fcb-4bfc-87ce-dc1c8b840df5","name":"feedback by id","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/appointments/feedback/1/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 23 Nov 2024 02:55:38 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.11"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"103"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"appointment\": 1,\n    \"rating\": 5,\n    \"comment\": \"satisfactory\",\n    \"created_at\": \"2024-11-23T02:41:20.952023Z\"\n}"}],"_postman_id":"f9c12911-21d3-4126-95a9-abb395e6b871"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"id":"530bbdd9-38d3-441e-92dc-61f171c18dc2","key":"id","value":"1"},{"id":"57b5ecc1-1ffd-4eb5-a9a4-fa78c5251c5d","key":"base_url","value":"https://postman-rest-api-learner.glitch.me/"}]}