← back to drive

PAXAL

/api

Developer-facing pages. Static-export Next can't host real JSON endpoints without a server, so each route documents the on-disk artefact or the runtime shape that route would serve. Schemas + the live version stamp + the telemetry- event catalogue + the arena registry.

  1. /api/versionopen →

    Live read of the build-time stamp — git SHA, branch, dirty flag, build date.

  2. /api/replay-schemaopen →

    JSON shape of the D8 replay export. Save Replay in pause produces this; /replay consumes it.

  3. /api/manifestopen →

    Chunked-arena manifest format. Authoring guide for new scenes ships under public/arena/.

  4. /api/telemetry-eventsopen →

    Every PostHog event the runtime fires, with payload shapes. Transparency partner to /privacy.

  5. /api/arenasopen →

    Live catalogue of configured arenas — spawn, fog, sun-flare, OOB radius. Source of truth: lib/arenas.ts.