This API provides functionalities for managing doctors and appointments.
- URL:
https://us-central1-proven-gasket-416318.cloudfunctions.net/doctors/doctors
- Method:
POST
- Request Body: JSON
{ "doc_name": "Dr. John Doe" }
- Example:
curl -X POST -H "Content-Type: application/json" -d "{\"doc_name\": \"Dr. John Doe\"}" https://us-central1-proven-gasket-416318.cloudfunctions.net/doctors/doctors
- URL:
https://us-central1-proven-gasket-416318.cloudfunctions.net/doctors/doctors/{doctorId}/slot
- Method:
GET
- Example:
curl https://us-central1-proven-gasket-416318.cloudfunctions.net/doctors/doctors/{doctorId}/slot
- URL:
https://us-central1-proven-gasket-416318.cloudfunctions.net/doctors/doctors/{doctorId}/slot/book/{slotId}
- Method:
POST
- Example:
curl -X POST -H "Content-length: 0" https://us-central1-proven-gasket-416318.cloudfunctions.net/doctors/doctors/1/slot/book/1
- URL:
https://us-central1-proven-gasket-416318.cloudfunctions.net/doctors/appointments/reset
- Method:
POST
- Example:
curl -X POST -H "Content-Length: 0" https://us-central1-proven-gasket-416318.cloudfunctions.net/doctors/appointments/reset