Register the day-view REST endpoint #17

Closed
opened 2026-07-01 01:04:54 +00:00 by manlycucumber · 1 comment
manlycucumber commented 2026-07-01 01:04:54 +00:00 (Migrated from github.com)

Problem

The day-view modal fetches a single day's rendered content over REST so the calendar can open any date without a full page load. This endpoint wraps the bundled Core's day resolution.

Acceptance criteria

  • A namespaced REST route returns rendered day-view markup or data for a valid YYYY-MM-DD.
  • Invalid or out-of-range dates return a proper 4xx with a translatable message.
  • Responses are cacheable and carry sensible cache headers.
  • The endpoint requires no authentication for public read.

Notes

Keep the response shape stable so the v0.2.0 thin-client can mirror it.

## Problem The day-view modal fetches a single day's rendered content over REST so the calendar can open any date without a full page load. This endpoint wraps the bundled Core's day resolution. ## Acceptance criteria - [ ] A namespaced REST route returns rendered day-view markup or data for a valid YYYY-MM-DD. - [ ] Invalid or out-of-range dates return a proper 4xx with a translatable message. - [ ] Responses are cacheable and carry sensible cache headers. - [ ] The endpoint requires no authentication for public read. ## Notes Keep the response shape stable so the v0.2.0 thin-client can mirror it.
manlycucumber commented 2026-07-03 21:14:23 +00:00 (Migrated from github.com)

Done in #107 (squash 761a55a): day-view REST endpoint ordo/v1/day/{date}. All gates green (PHPUnit 40/142, phpcs PSR-12, phpstan L6, clean-room guard); CI matrix 7.4/8.1/8.2/8.3 + CodeQL passed.

Done in #107 (squash 761a55a): day-view REST endpoint ordo/v1/day/{date}. All gates green (PHPUnit 40/142, phpcs PSR-12, phpstan L6, clean-room guard); CI matrix 7.4/8.1/8.2/8.3 + CodeQL passed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Directorium/Ordo#17
No description provided.