Rodder Consumer API

Rodder publishes live, JSON-safe documents rather than renderer-specific database rows. Authored facts, normalized or derived values, and illustrative display projections remain visibly separate.

Documents

Entity document

GET /api/rodder/:slug

Identity, canonical links, authored content and extensions, hierarchy, placement, normalized facts, root-map members, apparent sky, calendars, capabilities, and scoped diagnostics.

Sector document

GET /api/rodder/sectors/:slug

The complete coordinate frame, origin, extent, positioned and unpositioned roots, bounds, provenance, links, capabilities, and diagnostics.

Source-aware values

authored contains stored statements exactly as authored. resolved.facts wraps normalized values with authored, derived, illustrative, or unavailable status and a source. displays contains explicit renderer projections; consumers remain free to ignore them.

const response = await fetch('/api/rodder/orison-fold')
if (!response.ok) throw new Error('Rodder entity unavailable')
const document = await response.json()

console.log(document.authored.physical.massKg)
console.log(document.resolved.facts.model.status)
console.log(document.displays.rootMap?.apparentSky.sources)

Wiki embeds

Named arguments are readable composition. A validated URL-encoded view= payload can seed a complete copied view, and named arguments override it individually. Root playback speed is measured in simulated days per real second.

{{Root map|orison-fold
 |mode=orrery
 |focus=nacre
 |selected=sky:glasswake
 |labels=major
 |sky_labels=all
 |visibility=physical
 |interaction=locked
 |time=on
 |speed=100
 |controls=hide
}}

{{Sector map|palimpsest-reach
 |focus=orison-fold
 |selected=glasswake
 |interaction=inspect
}}
PresetBehavior
lockedFixed composition; hover and the full-view link remain available.
inspectFixed camera and display with selection, inspection, and entity navigation.
exploreCamera, time, display settings, selection, navigation, and compact controls.

Infobox projections

Wiki authors continue to use {{Infobox star|from=slug}}, {{Infobox planet|from=slug}}, and {{Infobox system|from=slug}}. Internally, rodderDocumentInfoboxFields(document) projects the public document into the established snake-case field map. It performs no database lookup and intentionally ignores nested extension objects that cannot become a meaningful text row.

Machine-readable schemas

The schema bundle covers entity documents, sector documents, view state, display configuration, diagnostics, and interaction policy.

KnowThing — A collaborative encyclopedia