World microapi
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# WorldApi document shapes
|
||||
|
||||
Outbound JSON documents
|
||||
- WorldCycleResponse (`GET /api/world/cycle`)
|
||||
```json
|
||||
{
|
||||
"currentUtc": "string (ISO-8601 datetime)",
|
||||
"dayLengthSeconds": 1200,
|
||||
"timeOfDaySeconds": 438.2,
|
||||
"timeOfDayNormalized": 0.365,
|
||||
"phase": "day",
|
||||
"isDay": true,
|
||||
"lightLevel": 0.91
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user