Intermittent fasting tracking microservice
Healthy • v1.0.0Choose an endpoint and send a request.
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/sessions/start | Start a fasting session |
| PUT | /api/v1/sessions/:id/end | End a fasting session |
| GET | /api/v1/sessions/active | Get active session |
| GET | /api/v1/sessions/active/insights | Get live session insights |
| GET | /api/v1/sessions | List sessions (paginated) |
| GET | /api/v1/sessions/:id | Get session by ID |
| PUT | /api/v1/sessions/:id | Update session |
| DEL | /api/v1/sessions/:id | Delete session |
| GET | /api/v1/plans | List built-in fasting plans |
| GET | /api/v1/plans/recommended | Get recommended plan |
| GET | /api/v1/fasting/context | Get active fasting protocol context |
| GET | /api/v1/goals | Get fasting goals |
| PUT | /api/v1/goals | Create/update goals |
| GET | /api/v1/streaks | Get streak data |
| GET | /api/v1/challenges | List challenges with progress |
| GET | /api/v1/challenges/:id | Challenge detail |
| POST | /api/v1/weight | Log weight |
| GET | /api/v1/weight | List weight history |
| PUT | /api/v1/weight/:id | Update weight log |
| DEL | /api/v1/weight/:id | Delete weight log |
| GET | /api/v1/stats | Lifetime statistics |
| GET | /api/v1/stats/recent | Last 7 days activity |
| GET | /api/v1/stats/trends | Fasting trends (7d/30d/90d/1y) |
| GET | /api/v1/coach/daily-brief | Get AI-style coaching brief |
| GET | /api/v1/coach/history | Get stored coaching brief history |