Rewards (QA)
Seed real activity (water_logs) across the last N days
Changed onWrites the one non-rewards table computeHistoricalStreak() reads, so POST qa/historical-seed/:userId has real history to walk. Not cleared by reset — re-running this clears its own prior seed first.
post/api/rewards/admin/qa/activity-days/{userId}
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/rewards/admin/qa/activity-days/{userId}
- AuthHTTP bearer
Path parameters
userIdnumber required
Request body
Changes
- info
endpoint added
- info