Files
2026-04-01 19:53:18 +00:00

327 B

WorldApi document shapes

Outbound JSON documents

  • WorldCycleResponse (GET /api/world/cycle)
    {
      "currentUtc": "string (ISO-8601 datetime)",
      "dayLengthSeconds": 1200,
      "timeOfDaySeconds": 438.2,
      "timeOfDayNormalized": 0.365,
      "phase": "day",
      "isDay": true,
      "lightLevel": 0.91
    }