Platform Registry

Fast, low-overhead registry front door.

Public routes stay machine-friendly, while admin actions stay inside the protected dashboard.

Core Routes

  • GET /health
  • GET /api/registry
  • GET /registry.json
  • GET /api/platform/:codename
  • POST /api/update

Admin Routes

  • GET /admin/
  • GET /api/admin/overview
  • POST /api/admin/platforms
  • POST /api/admin/health-check
  • POST /api/heartbeat

Storage Model

Pages handles UI and routing. Durable Object coordinator serializes writes for consistent state updates.

Example Update Payload

{
  "platform_name": "Alpha Platform",
  "codename": "alpha-edge",
  "url": "https://alpha.example.com",
  "ip_address": "203.0.113.10",
  "reported_by": "alpha-node-1",
  "metadata": { "region": "us-east-1" }
}