Article Brief
Readable article page with metadata, lead media, body, and context rail.
3 regions, 6 components
Publications
News for 8 billion people. Free, forever.
Documentation
Layout is the public responsive layout workbench for the PlatPhormNews mesh. It owns templates, builder state, viewport preview, grid inspection, deterministic scoring, and export scaffolds.
Public-safe builder, templates, preview, scoring, exports, API docs, discovery files, RSS/feed, sitemap, and read-only MCP introspection are open by default. PLATPHORM_API_KEY is scaffolded for future protected backend actions and is not required for public-safe Phase 1 flows.
Readable article page with metadata, lead media, body, and context rail.
3 regions, 6 components
Dense operational dashboard with KPI row, primary panel, and issue queue.
4 regions, 8 components
Reusable card collection with predictable columns and stable media ratios.
2 regions, 8 components
Accessible form layout with labels, help text, validation area, and summary panel.
3 regions, 6 components
Documentation page with local nav, readable article column, and API callout rail.
3 regions, 4 components
Responsive visual gallery with hero media, masonry-like rows, and captions.
2 regions, 10 components
| Method | Path | Boundary | Purpose |
|---|---|---|---|
| GET | /api/v1/templates | public-safe | List real public layout templates |
| GET | /api/v1/templates/{slug} | public-safe | Fetch one template |
| GET, POST | /api/v1/layouts | public-safe | Ephemeral server layout drafts and local-first creation |
| GET, PUT | /api/v1/layouts/{id} | public-safe | Ephemeral layout lookup/update when available |
| POST | /api/v1/layouts/preview | public-safe | Generate deterministic responsive preview data |
| POST | /api/v1/layouts/score | public-safe | Run deterministic Layout score |
| POST | /api/v1/layouts/export | public-safe | Export JSON, HTML/CSS, or React/Tailwind scaffold |
| POST | /api/v1/viewport/check | public-safe | Check one viewport for overflow and tap-target risk |
| POST | /api/v1/grid/analyze | public-safe | Analyze grid and region structure |
| POST | /api/v1/accessibility/check | public-safe | Run deterministic accessibility hints |
| POST | /api/v1/responsive/check | public-safe | Check configured breakpoints |
| POST | /api/v1/reports/layout | future-protected | Create a degraded local report summary |
| GET | /api/v1/integrations/status | public-safe | List Layout integration configuration/degraded state |
| POST | /api/v1/integrations/phorm | future-protected | Future protected Phorm handoff scaffold |
| POST | /api/v1/integrations/browserops | future-protected | Future protected BrowserOps layout check scaffold |
| POST | /api/v1/integrations/docs | future-protected | Future protected Docs report scaffold |
| POST | /api/v1/integrations/decks | future-protected | Future protected Deck summary scaffold |
| GET, POST | /api/indexnow | future-protected | Future protected IndexNow status/submission endpoint |
| GET, POST | /api/mcp | public-safe | Layout MCP JSON-RPC endpoint |