Education
LEARN almanac entries (optionally filtered by month/day)
Return almanac entries as {entries: [...]}.
Behavior:
- Both month and day provided: returns entries for that calendar date (uses pg_get_learn_on_this_date_for).
- Neither provided: returns ALL entries (matches the pre-PR0 contract — app-renderers.ts:_renderOnThisDatePane fetches the whole file and filters client-side). The whole-table sweep is bounded (~35 rows today, hundreds at most) so we stream it back rather than forcing the caller to specify month/day they don't have at fetch time.
- Only one provided: ignored (returns full almanac) — narrower defensive than 400-ing; the caller's renderer already handles a too-broad result by filtering.
Falls back to the JSON file when PG is empty.
get/api/learn/on-this-date
Request
- Base URL: https://www.oxfordledge.com (the document declares no server; this is the origin it was published from)
- URL: https://www.oxfordledge.com/api/learn/on-this-date
- Auth: none declared
Query parameters
monthinteger nullable
1-12 month filter. Omit month AND day together for the full almanac (matches the pre-PR0 frontend fetch which filtered by month/day client-side).
dayinteger nullable
1-31 day filter. Pair with month.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.