WP-00 exchange
Live health and version. Envelope lands later. See envelope.md.
Workflow
- The Flutter client GETs
/api/v1/afia/healthon launch. - The API returns liveness fields. The client shows them on the current home check.
- The client may GET
/api/v1/afia/app-versionfor force-update numbers. That banner is not built yet.
Wire
GET /api/v1/afia/health (live). Response today is not wrapped:
{ "status": "UP", "service": "afia-api", "timestamp": "<iso>" }
GET /api/v1/afia/app-version (live):
{ "latestVersion": "...", "minSupportedVersion": "..." }
GET /actuator/health is Spring ops. Not the mobile contract.
Errors: transport failure only. These paths have no session.
Ownership
WP-00 writes EndpointUri, ApiConfig, and docs/api-map.md. Flutter caller is the existing health data source. No new contract type.
Does not do
Class internals. Feature JSON. Invented screens.