{"info":{"_postman_id":"44d25a53-7f31-4ac2-b859-44ebaab326af","name":"SkinSprite-API","description":"<html><head></head><body><p>The SkinSprite API provides endpoints for managing doctors, admin users, and patients, along with functionality for patients to upload images. Users can retrieve, add, update, and delete doctor, admin, and patient records using the respective endpoints. Additionally, patients can upload images using a dedicated endpoint.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"26302198","collectionId":"44d25a53-7f31-4ac2-b859-44ebaab326af","publishedId":"2sA35Mwxrj","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-04-06T08:31:03.000Z"},"item":[{"name":"doctors-info","id":"6d311bf9-c4b1-4394-995f-00cf66785bf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/doctor","description":"<h4 id=\"get-doctors\">Get Doctors</h4>\n<ul>\n<li><strong>GET /doctor</strong><ul>\n<li>Description: Retrieve a list of all doctors.</li>\n<li>Permissions: Admin access required.</li>\n<li>Response: List of doctor objects.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["doctor"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d311bf9-c4b1-4394-995f-00cf66785bf5"},{"name":"doctors-registration","id":"0bbf39b0-2684-42d6-a5ba-f2c01e440c28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"doctorID\": 12345,\r\n   \"doctorName\": \"John Doe\",\r\n   \"mobile\": 1234567890,\r\n   \"email\": \"johndoe@example.com\",\r\n   \"password\": \"password\",\r\n   \"age\": 35,\r\n   \"department\": \"Cardiology\",\r\n   \"gender\": \"Male\",\r\n   \"dob\": \"1989-05-20\",\r\n   \"address\": \"123 Main St, City\",\r\n   \"image\": \"https://example.com/profile.jpg\",\r\n   \"details\": \"Lorem ipsum dolor sit amet.\",\r\n   \"bloodGroup\": \"A+\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/doctor/register","description":"<h4 id=\"register-doctor\">Register Doctor</h4>\n<ul>\n<li><strong>POST /doctor/register</strong><ul>\n<li>Description: Register a new doctor.</li>\n<li>Permissions: Public access.</li>\n<li>Request Body: JSON object containing doctor registration details</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["doctor","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0bbf39b0-2684-42d6-a5ba-f2c01e440c28"},{"name":"doctors-info-update","id":"2a9e1b65-22d7-43f7-9078-1f26e852e154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n   \"mobile\": 9826543210,\r\n   \"address\": \"456 Elm St, Town\",\r\n   \"details\": \"New details updated.\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/doctor/66101579bbe416a002c932d6","description":"<h4 id=\"update-doctor-information\">Update Doctor Information</h4>\n<ul>\n<li><p><strong>PATCH /doctor/{doctorId}</strong></p>\n<ul>\n<li><p>Description: Update the information of a specific doctor.</p>\n</li>\n<li><p>Permissions: Admin access required.</p>\n</li>\n<li><p>Path Parameters:</p>\n<ul>\n<li><code>doctorId</code>: The unique ID of the doctor to update.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["doctor","66101579bbe416a002c932d6"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a9e1b65-22d7-43f7-9078-1f26e852e154"},{"name":"doctors-info-delete","id":"6b27e82f-a79a-45aa-81f5-472173d8d9b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/doctor/66101579bbe416a002c932d6","description":"<p>StartFragment</p>\n<h4 id=\"delete-doctor-information\">Delete Doctor Information</h4>\n<ul>\n<li><p><strong>DELETE /doctor/{doctorId}</strong></p>\n<ul>\n<li><p>Description: Delete the profile of a specific doctor.</p>\n</li>\n<li><p>Permissions: Admin access required.</p>\n</li>\n<li><p>Path Parameters:</p>\n<ul>\n<li><code>doctorId</code>: The unique ID of the doctor to delete</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["doctor","66101579bbe416a002c932d6"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b27e82f-a79a-45aa-81f5-472173d8d9b9"},{"name":"Admin-info","id":"c5a8ab41-9fe6-4b75-80ca-15d617005eb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/admin","description":"<h4 id=\"get-admin-information\">Get Admin Information</h4>\n<ul>\n<li><p><strong>GET /admin</strong></p>\n<ul>\n<li><p>Description: Retrieve the information of the admin.</p>\n</li>\n<li><p>Permissions: Admin access required.</p>\n</li>\n<li><p>Response: Admin profile information</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["admin"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5a8ab41-9fe6-4b75-80ca-15d617005eb6"},{"name":"Admin-registration","id":"4d6f73cc-b2ee-4c5f-958b-a9d41da15a37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userType\": \"admin\",\r\n    \"adminId\": \"admin1234\",\r\n    \"adminName\": \"John Doe\",\r\n    \"password\": \"adminpasswors\",\r\n    \"email\": \"johndoee@example.com\",\r\n    \"age\": 30,\r\n    \"gender\": \"Male\",\r\n    \"mobile\": 1234567890,\r\n    \"dob\":  \"1989-05-20\",\r\n    \"address\": \"123 Main St\",\r\n    \"education\": \"Bachelor's Degree\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/admin/register","description":"<h3 id=\"admin-registration-endpoint\">Admin Registration Endpoint</h3>\n<h4 id=\"register-admin\">Register Admin</h4>\n<ul>\n<li><p><strong>POST /admin/register</strong></p>\n<ul>\n<li><p>Description: Register a new admin.</p>\n</li>\n<li><p>Permissions: Public access.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["admin","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d6f73cc-b2ee-4c5f-958b-a9d41da15a37"},{"name":"Admin-info-update","id":"c82d064a-f011-4ecc-9935-c47fc56aa264","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"adminId\": \"admin1234\",\r\n    \"password\": \"adminpassword\",\r\n    \"email\": \"johndoe@example.com\",\r\n    \"age\": 30,\r\n    \"gender\": \"Male\",\r\n    \"mobile\": \"1234567890\",\r\n    \"dob\": \"1989-05-12\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/admin/6610410ea65245a74bb309c7","description":"<h4 id=\"update-admin-information\">Update Admin Information</h4>\n<ul>\n<li><p><strong>PATCH /admin/{adminId}</strong></p>\n<ul>\n<li><p>Description: Update the information of a specific admin.</p>\n</li>\n<li><p>Permissions: Admin access required.</p>\n</li>\n<li><p>Path Parameters:</p>\n<ul>\n<li><code>adminId</code>: The unique ID of the admin to update.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["admin","6610410ea65245a74bb309c7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c82d064a-f011-4ecc-9935-c47fc56aa264"},{"name":"Admin-info-forgot","id":"de98334d-6712-407a-b079-7a627093f739","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"sagnikdas0188@gmail.com\",\r\n  \"type\": \"admin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/admin/forgot","description":"<h3 id=\"admin-forgot-password-endpoint\">Admin Forgot Password Endpoint</h3>\n<h4 id=\"reset-admin-password\">Reset Admin Password</h4>\n<ul>\n<li><strong>POST /admin/forgot</strong><ul>\n<li>Description: Send a password reset email to the admin's registered email address.</li>\n<li>Permissions: Public access.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["admin","forgot"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"de98334d-6712-407a-b079-7a627093f739"},{"name":"Admin-info-delete","id":"bc7da455-d816-4566-b9c5-bb45954d12af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/admin/6610410ea65245a74bb309c7","description":"<p>Admin Information Deletion Endpoint</p>\n<h4 id=\"delete-admin-information\">Delete Admin Information</h4>\n<ul>\n<li><strong>DELETE /admin/{adminId}</strong><ul>\n<li>Description: Delete the profile of a specific admin.</li>\n<li>Permissions: Admin access required.</li>\n<li>Path Parameters:<ul>\n<li><code>adminId</code>: The unique ID of the admin to delete.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["admin","6610410ea65245a74bb309c7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc7da455-d816-4566-b9c5-bb45954d12af"},{"name":"Patient-info","id":"1479959f-d6e1-44ad-89db-09095db6ba2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/patient","description":"<p>Get Patient Information</p>\n<ul>\n<li><p><strong>GET /patient</strong></p>\n<ul>\n<li><p>Description: Retrieve the information of the patient.</p>\n</li>\n<li><p>Permissions: Patient access required.</p>\n</li>\n<li><p>Response: Patient profile information</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["patient"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1479959f-d6e1-44ad-89db-09095db6ba2a"},{"name":"Patient-registration","id":"48dc33ce-32ef-4e56-8958-188178195020","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userType\": \"patient\",\r\n  \"patientID\": 123456,\r\n  \"patientName\": \"John Doe\",\r\n  \"mobile\": 1234567890, \r\n  \"email\": \"johndoe@example.com\",\r\n  \"password\": \"password\",\r\n  \"age\": 30,\r\n  \"department\": \"Cardiology\",\r\n  \"gender\": \"Male\",\r\n  \"bloodGroup\": \"A+\",\r\n  \"dob\": \"1990-01-01\",\r\n  \"address\": \"123 Main St, City, Country\",\r\n  \"image\": \"https://example.com/profile.jpg\",\r\n  \"disease\": \"Hypertension\",\r\n  \"details\": \"High blood pressure\",\r\n  \"admitted\": true,\r\n  \"date\": \"2023-08-01\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/patient/register","description":"<h4 id=\"register-patient\">Register Patient</h4>\n<ul>\n<li><p><strong>POST /patient/register</strong></p>\n<ul>\n<li><p>Description: Register a new patient.</p>\n</li>\n<li><p>Permissions: Public access.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["patient","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"48dc33ce-32ef-4e56-8958-188178195020"},{"name":"Patient-info-update","id":"a5c61384-61fb-4d10-b582-b16886130bf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/patient/661055b88597d367cb471cc7","description":"<h4 id=\"update-patient-information\">Update Patient Information</h4>\n<ul>\n<li><p><strong>PATCH /patient/{patientId}</strong></p>\n<ul>\n<li><p>Description: Update the information of a specific patient.</p>\n</li>\n<li><p>Permissions: Patient access required.</p>\n</li>\n<li><p>Path Parameters:</p>\n<ul>\n<li><code>patientId</code>: The unique ID of the patient to update.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["patient","661055b88597d367cb471cc7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5c61384-61fb-4d10-b582-b16886130bf0"},{"name":"Patient-info-delete","id":"16204850-690d-45a0-8c51-0763310a44b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/patient/661055b88597d367cb471cc7","description":"<h4 id=\"delete-patient-information\">Delete Patient Information</h4>\n<ul>\n<li><p><strong>DELETE /patient/{patientId}</strong></p>\n<ul>\n<li><p>Description: Delete the profile of a specific patient.</p>\n</li>\n<li><p>Permissions: Patient access required.</p>\n</li>\n<li><p>Path Parameters:</p>\n<ul>\n<li><code>patientId</code>: The unique ID of the patient to delete.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["patient","661055b88597d367cb471cc7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"16204850-690d-45a0-8c51-0763310a44b5"},{"name":"image-upload","id":"993ed67a-ee94-4dd0-87eb-764bb5dd94d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"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/sagni/Downloads/a.jpg","/C:/Users/sagni/Downloads/now.jpeg"],"src":"/C:/Users/sagni/Downloads/now.jpeg"},{"key":"","value":"","type":"text","disabled":true}]},"url":"http://localhost:8000/upload","description":"<h4 id=\"upload-image\">Upload Image</h4>\n<ul>\n<li><strong>POST /upload</strong><ul>\n<li>Description: Upload an image to the server.</li>\n<li>Permissions: Public access.</li>\n<li>Request Body: Form-data with the image file.<ul>\n<li>Key: <code>image</code></li>\n<li>Value: Image file to upload.</li>\n</ul>\n</li>\n<li>Response: Success message indicating the successful upload</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["upload"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"993ed67a-ee94-4dd0-87eb-764bb5dd94d9"}],"variable":[{"key":"ngrok_url","value":"https://85da-14-139-241-214.ngrok-free.app/"}]}