๐งช Lab Notes API (v0.x)
This document defines the canonical contract for Lab Notes.
Base URLโ
https://thehumanpatternlab.com/api
Response Envelopeโ
Success:
{ "ok": true, "data": {} }
Error:
{
"ok": false,
"error": { "code": "NOT_FOUND", "message": "Lab note not found." }
}
Data Model: LabNoteโ
{
"id": "string",
"slug": "string",
"title": "string",
"summary": "string",
"contentHtml": "string",
"published": "YYYY-MM-DD or empty string",
"department_id": "string",
"shadow_density": 0,
"safer_landing": false,
"tags": [],
"readingTime": 5
}
GET /lab-notesโ
Returns a list of Lab Notes.
GET /lab-notes/:slugโ
Returns a single Lab Note by slug.