Download Resource
Use Download Resource endpoints when the SDK receives a resource name that the client must download. The response body contains the file content.
Endpoint Resources
All download resources use GET.
| Resource | Endpoint | Description |
|---|---|---|
| Icon font | v3/download/air-doctor-icons.ttf | Air Doctor icon font file. |
| Built-in icon | v3/download/icon/{name} | Built-in icon file by name. |
| Appointment attachment | v3/download/appointments/{appointment-id}/{name} | Appointment attachment file. |
| Appointment extra attachment | v3/download/appointments/{appointment-id}/extras/{extra-id}/{name} | Extra appointment attachment file. |
| Appointment invoice | v3/download/appointments/{appointment-id}/invoices/{name} | Appointment invoice file. |
| Insurer logo | v3/download/insurers/{company-id}/logo.png | Insurer main logo. |
| Insurer square logo | v3/download/insurers/{company-id}/square.png | Insurer square logo. |
| Location photo | v3/download/locations/{location-id}/photo.jpg | Location photo. |
| Message attachment | v3/download/messages/{message-id}/{name} | Message attachment file. |
| Profile photo | v3/download/profiles/{profile-id}/photo.jpg | Profile photo. |
| Temporary file | v3/download/temp/{name} | Temporary secured file. |