-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
TemplatedocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
User Routes
| Route | Method | Description | Status |
|---|---|---|---|
/appointments |
POST |
Check whether patient is existed or not and add appointment | π |
Admin Routes
| Route | Method | Description | Status |
|---|---|---|---|
/login |
POST |
Verify login and give token | π |
/logout |
GET |
Deletes the token and logs the user out | π |
/patients |
GET |
get All patients data | π |
/patients/:patientId |
GET |
GET Profile Data + History + Balance | π |
/patients/search?name&phone |
get |
Search for Patients | π |
/appointments/search?name&phone |
GET |
Search for patient's appointments | π |
/appointments/:date |
GET |
GET Patients Appoinments At Date | π |
/appointments/available/:date |
GET |
GET Available appointments at Date | π |
/patients/:patientId/history |
POST |
adds a log to the patiant's history | π |
/patients/:patientId/appointment/:appointmentId |
PATCH |
Edit availability (isDone) , Edit appointment date | π |
/patients/:patientId |
PATCH |
edits the profile data for that patiant | π |
/patients/:patientId/appointment |
DELETE |
deletes that oatiant's appointment | π |
|
|
π |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
TemplatedocumentationImprovements or additions to documentationImprovements or additions to documentation