API documentation for HeyDonto API
curl -i -X GET \
https://docs.heydonto.com/_mock/apis/heydonto/openapi/dental-service \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
[ { "title": "Teeth Whitening", "isEnabled": true, "id": 123 } ]
curl -i -X POST \
https://docs.heydonto.com/_mock/apis/heydonto/openapi/dental-service \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Teeth Whitening",
"isEnabled": true
}'
{ "title": "Teeth Whitening", "isEnabled": true, "id": 123 }
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/dental-service/{dentalServiceId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Teeth Whitening",
"isEnabled": true,
"id": 123
}'
{ "title": "Teeth Whitening", "isEnabled": true, "id": 123 }
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/dental-service/{dentalServiceId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "message": "Unauthorized", "statusCode": 401 }