Update doctor specialties
PATCH/doctors/:doctor_id/specialties
Updates doctor specialties.
Request
Path Parameters
doctor_id Doctor Idrequired
- application/json
Body
required
specialties MedicalSpecialty (string)[]required
Possible values: [ALLERGY, ANESTHESIOLOGY, CARDIOLOGY, DERMATOLOGY, ENDOCRINOLOGY, GASTROENTEROLOGY, GERIATRICS, GYNECOLOGY, HEMATOLOGY, INFECTIOUS_DISEASE, INTERNAL_MEDICINE, NEPHROLOGY, NEUROLOGY, OBSTETRICS, ONCOLOGY, OPHTHALMOLOGY, ORTHOPEDICS, OTOLARYNGOLOGY, PATHOLOGY, PEDIATRICS, PSYCHIATRY, PULMONOLOGY, RADIOLOGY, RHEUMATOLOGY, SURGERY, UROLOGY, SPORTS_MEDICINE, MAXILLOFACIAL, VASCULAR, EMERGENCY, NURSING, GENERAL], >= 1
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
- any
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...