{"product":"One Dollar Computer","surface":"Learn Physical AI curriculum","sitePath":"/c/","rules":{"teachingUi":"free HTML5 (any metaphor)","boardFirmware":"complete Simple Rust only: use odc::*; fn main() { … }","pins":"0..=19","led":19,"buttonPin13":"bootloader / Upload only — never read_button() or pin 13 as student input","noLiveHid":true},"do":["Create/update lessons via this API (POST/PATCH /lessons) — not local files","Put interactive teaching UI in html[] as full <!doctype html> documents","If the board is involved, put complete Simple Rust in steps under Firmware (Simple Rust)","Use dark text on light backgrounds (#0f172a)"],"dont":["Fetch the Connect URL as a webpage for lesson content","Use curl when the host is blocked — use HTTP/web-fetch tools","Teach onboard button / pin 13 / read_button() as lesson input","Invent a second board language (Blockly/Python as compiler input)"],"endpoints":{"brief":"GET /brief","list":"GET /lessons","create":"POST /lessons","get":"GET /lessons/:id","patch":"PATCH /lessons/:id","projects":"GET|POST /projects ; GET|PATCH /projects/:id"},"exampleCreate":{"title":"My Physical AI lesson","overview":"What students learn…","steps":["Try the HTML activity.","Firmware (Simple Rust)","```rust\nuse odc::*;\n\nfn main() {\n    loop {\n        led_on();\n        delay(500);\n        led_off();\n        delay(500);\n    }\n}\n```"],"html":[{"title":"Demo","html":"<!doctype html><html><head><meta charset=\"utf-8\"><title>Demo</title><style>body{font-family:system-ui;color:#0f172a;padding:1rem}h1{color:#0f172a}</style></head><body><h1>Hi</h1></body></html>"}],"links":[{"label":"Editor","url":"https://onedollarcomputer.com/editor/"}]}}