{"sections":[{"markdown":"# The briefing server\n\nWhat an agent is handed before it starts. Ask for the part you need: a briefing is sections, and each route answers with the sections it names.\n\n## Routes\n\n- `GET /` - this page - what the routes are, and what each one answers\n- `GET /health` - an empty object, and nothing else; no token needed\n- `GET /purs` - the PureScript briefing - today, the lint rules the house checks\n- `GET /ts` - the TypeScript briefing - nothing yet\n- `GET /everything` - every section there is\n\n## Asking\n\nEvery route but `/` and `/health` needs the token, as a bearer. Without one the answer is 401, and a path that names no briefing is 404.\n\n`curl -H \"Authorization: Bearer $BRIEFING_TOKEN\" https://briefing.mbock.space/purs`\n\n## What comes back\n\nAn object with `at`, the milliseconds when the briefing was gathered rather than when it was asked for, and `sections`, each with an `about` naming it and a `markdown` holding it.","about":"the briefing server"}],"at":1790080200304}