Welcome to the Doctor-Patient Appointment API documentation. This API, built using Django REST Framework, facilitates the management of doctor-patient appointments.
The Doctor-Patient Appointment API allows for the creation, retrieval, updating, and deletion of appointments between doctors and patients.
- Create, retrieve, update, and delete appointments
- Retrieve lists of doctors, patients, and appointments
- Error handling
GET /api/doctors/: Retrieve a list of all doctorsPOST /api/doctors/: Create a new doctor profileGET /api/doctors/<pk>/: Retrieve details of a specific doctorPUT /api/doctors/<pk>/: Update details of a specific doctorDELETE /api/doctors/<pk>/: Delete a doctor profile
GET /api/patients/: Retrieve a list of all patientsPOST /api/patients/: Create a new patient profileGET /api/patients/<pk>/: Retrieve details of a specific patientPUT /api/patients/<pk>/: Update details of a specific patientDELETE /api/patients/<pk>/: Delete a patient profile
GET /appointments/: Retrieve a list of all appointmentsPOST /api/appointments/: Create a new appointmentGET /api/appointments/<pk>/: Retrieve details of a specific appointmentPUT /api/appointments/<pk>/: Update details of a specific appointmentDELETE /api/appointments/<pk>/: Cancel a specific appointment
The API provides error handling, returning appropriate HTTP status codes and error messages to aid in debugging and troubleshooting.