API documentation for HeyDonto API
curl -i -X GET \ https://docs.heydonto.com/_mock/apis/heydonto/openapi/dental-practices \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
[ { "title": "Downtown Dental Clinic", "isEnabled": true, "id": 123, "createdAt": "2021-07-01T00:00:00.000Z", "updatedAt": "2021-07-01T00:00:00.000Z" } ]
curl -i -X POST \ https://docs.heydonto.com/_mock/apis/heydonto/openapi/dental-practices \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "title": "Downtown Dental Clinic", "isEnabled": true }'
{ "title": "Downtown Dental Clinic", "isEnabled": true, "id": 123, "createdAt": "2021-07-01T00:00:00.000Z", "updatedAt": "2021-07-01T00:00:00.000Z" }
curl -i -X PUT \ 'https://docs.heydonto.com/_mock/apis/heydonto/openapi/dental-practices/{dentalPracticeId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "title": "Downtown Dental Clinic", "isEnabled": true, "id": 123 }'
{ "title": "Downtown Dental Clinic", "isEnabled": true, "id": 123, "createdAt": "2021-07-01T00:00:00.000Z", "updatedAt": "2021-07-01T00:00:00.000Z" }
curl -i -X DELETE \ 'https://docs.heydonto.com/_mock/apis/heydonto/openapi/dental-practices/{dentalPracticeId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "message": "Unauthorized", "statusCode": 401 }