Vercel native controls
Class Attic Admin
Operational endpoints for the Blob-backed Deerfield High School proof-of-concept. Protect these routes in production with `ADMIN_TOKEN` and `CRON_SECRET`.
mixedStorage mode
8Default year window
deerfield-high-school-ilSchool slug
/api/cron/discoverCron path
1. Seed Blob
Write starter manifests
Writes the Deerfield profile, class rooms, starter cards, and cursor into Vercel Blob.
curl -X POST https://classattic.com/api/admin/reseed \
-H "Authorization: Bearer $ADMIN_TOKEN"2. Run discovery
Trigger crawler now
Processes the next class-year window. Use `?limitYears=1&ebay=0` for a low-cost Internet Archive smoke test.
curl "https://classattic.com/api/cron/discover?limitYears=1&ebay=0" \
-H "Authorization: Bearer $CRON_SECRET"3. Inspect school manifest
Read page data
Returns the same school manifest that powers the public page.
curl https://classattic.com/api/schools/deerfield-high-school-il4. Inspect items
Filter by class year
Useful for partner demos, exports, and class-specific review queues.
curl "https://classattic.com/api/schools/deerfield-high-school-il/items?year=2026"