OpenNote Public API

Write notes directly into Milo without exposing the app backend.

This hostname serves the scoped public API only. Clients authenticate with user-created API tokens from the Milo iOS app and then write diaries through /api/v1.

Current endpoints

POST /api/v1/diaries
PUT /api/v1/diaries/:fileName
POST /api/v1/images

Rules

  • Bearer API token required on all write routes.
  • Tokens are created inside the Milo iOS app.
  • Malformed Quill payloads are rejected before write.
  • Image uploads are scope-limited, type-limited, and size-limited.

Quick checks

  • GET /health returns worker health.
  • GET / shows this landing page.
  • All other public write traffic must live under /api/v1.