API: GET /api/history endpoint #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Standalone — scoped from Daily 100 design spec.
Repo
forgejo_admin/daily-100-apiUser Story
As a user
I want to view my entry history
So that the heat map can display my consistency over time
Context
GET /api/history returns entries for a date range. Default is last 90 days. Optional query params
start_dateandend_datefor custom ranges. Each entry includes date and all 8 boolean fields. Used by the frontend heat map component.File Targets
Files the agent should modify or create:
app/routes/history.py-- GET endpoint handlerFiles the agent should NOT touch:
app/models.py-- already definedapp/routes/today.py-- separate concernAcceptance Criteria
Test Expectations
pytest tests/test_history.pyConstraints
?start_date=2026-01-01&end_date=2026-03-27Checklist
Related
daily-100-- project