Article Brief
Readable article page with metadata, lead media, body, and context rail.
3 regions, 6 components
Layout サーフェス
Responsive layout builder, audit workbench, template registry, and export surface for the PlatPhormNews mesh.
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.
Browser-local building, templates, preview, deterministic scoring, config audits, exports, API docs, discovery files, RSS/feed, sitemap, and read-only MCP introspection are public. Server mutations, remote trusted-domain inspection, publishing, integration triggers, and admin actions require PLATPHORM_API_KEY.
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
Public product landing layout with nav, first-viewport offer, proof strip, feature bands, FAQ teaser, and discovery footer.
5 regions, 11 components
Responsive feed layout with topic navigation, lead story, ranked cards, and utility/discovery rail.
4 regions, 10 components
FAQ layout with breadcrumb header, grouped questions, policy labels, and related discovery links.
3 regions, 4 components
Service page with capability summary, plan/status cards, implementation proof, and integration links.
3 regions, 10 components
Operational status layout with summary banner, component statuses, incident history, and discovery footer.
3 regions, 9 components
API documentation layout with endpoint list, request/response panels, auth policy, and copy-ready examples.
3 regions, 5 components
MCP capability layout with tools/resources/prompts registry, JSON-RPC status, and trust policy panel.
3 regions, 4 components
Directory layout for PlatPhorm site cards, route status, discovery links, and standard compliance panels.
3 regions, 13 components
Structured report layout with executive summary, findings, score cards, recommendations, and export handoff.
3 regions, 6 components
| Method | Path | Boundary | Purpose |
|---|---|---|---|
| GET | /api/health | public-safe | Standard public-safe health summary |
| GET | /api/v1/health | public-safe | Versioned public-safe health summary |
| GET | /api/docs | public-safe | OpenAPI 3.1 JSON document |
| GET | /api/v1/templates | public-safe | List real public layout templates |
| GET | /api/v1/templates/{slug} | public-safe | Fetch one template |
| GET | /api/v1/layouts | public-safe | Public-safe persistence status without exposing protected drafts |
| POST | /api/v1/layouts | protected | Create a protected ephemeral server layout |
| GET, PUT | /api/v1/layouts/{id} | protected | Read or update a protected ephemeral server layout |
| 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, React/Tailwind, Markdown, design spec JSON, or report output |
| 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/audit/url | public-safe | Run public deterministic scoring and optional key-gated trusted-domain DOM inspection |
| POST | /api/v1/audit/config | public-safe | Audit layout config with deterministic findings |
| POST | /api/v1/reports/layout | protected | Return unsupported until protected report publishing is implemented |
| GET | /api/v1/integrations/status | public-safe | List Layout integration configuration/degraded state |
| POST | /api/v1/integrations/phorm | protected | Protected Phorm handoff; currently unsupported |
| POST | /api/v1/integrations/browserops | protected | Protected BrowserOps check; currently unsupported |
| POST | /api/v1/integrations/docs | protected | Protected Docs publishing; currently unsupported |
| POST | /api/v1/integrations/decks | protected | Protected Deck generation; currently unsupported |
| POST | /api/v1/integrations/sheets | protected | Protected Sheets reporting; currently unsupported |
| POST | /api/v1/integrations/insights | protected | Protected Insights handoff; currently unsupported |
| GET | /api/indexnow | public-safe | Read IndexNow configuration status |
| POST | /api/indexnow | protected | Submit bounded canonical Layout URLs to IndexNow |
| GET, POST | /api/mcp | public-safe | Layout MCP JSON-RPC endpoint |