API map
Source of truth for paths: afia-api health.afia.app.common.EndpointUri. Owner of this file: WP-00. Prefix owners: manifest/api-prefixes.tsv.
This file is an index. Implemented rows are marked live. Planned rows come from ADR 0012 and need a WP-00 constant before they land.
| Status | Method | Path | Owner | Notes |
|---|---|---|---|---|
| live | GET | /api/v1/afia/health | WP-00 | Mobile liveness |
| live | GET | /api/v1/afia/app-version | WP-00 | latestVersion, minSupportedVersion |
| reserved | /api/v1/afia/auth/** | WP-01 | identity | |
| reserved | /api/v1/afia/me | WP-01 | current account and deletion | |
| reserved | /api/v1/afia/patient/profile | WP-02 | patient profile | |
| reserved | /api/v1/afia/clinician/profile | WP-03 | clinician profile | |
| reserved | /api/v1/afia/admin/** | WP-04 | directory and clinic config | |
| reserved | /api/v1/afia/appointments/** | WP-05 | patient booking | |
| reserved | /api/v1/afia/clinician/agenda | WP-05 | clinician day view | |
| reserved | /api/v1/afia/clinician/patients | WP-05 | patients with an appointment | |
| reserved | /api/v1/afia/clinician/encounters/** | WP-06 | encounter notes | |
| reserved | /api/v1/afia/orders/** | WP-07 | diagnostics | |
| reserved | /api/v1/afia/worklists | WP-07 | diagnostics, kind query | |
| reserved | /api/v1/afia/results | WP-08 | patient projection | |
| planned | GET | /api/v1/afia/clinician/agenda?from=&to= | WP-12 | date range beside day |
| planned | POST | /api/v1/afia/appointments/{id}/rating | WP-12 | 1 to 5 stars, visit patient only |
| planned | GET | /api/v1/afia/clinician/dashboard | WP-12 | clinician home counts and next visits |
| planned | GET | /api/v1/afia/patient/home | WP-12 | patient home projection |
| planned | GET | /api/v1/afia/admin/dashboard | WP-12 | admin counts, under the WP-04 prefix |
| planned | GET | /api/v1/afia/worklists/summary?kind= | WP-12 | worklist counts, under the WP-07 prefix |
| planned | GET | /api/v1/afia/notifications | WP-12 | projection over visits, results, invoices, alerts |
| planned | POST | /api/v1/afia/notifications/seen | WP-12 | sets lastSeenAt on the account |
| planned | PATCH | /api/v1/afia/orders/{id}/schedule | WP-12 | sets scheduledAt |
| planned | PATCH | /api/v1/afia/admin/users/{id}/status | WP-12 | ACTIVE or SUSPENDED |
Ops: GET /actuator/health (Spring). Not the mobile contract.