Room reference
0 pages, 18 routes, 17 connections and 0 CLI commands, generated from the declarations of Room without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Connections · 17
Room.Configure
Owner/mod room chat configuration: `slow_mode_ms` (0 = off; enforced against non-mod publishers with retry_after_ms refusals) and `pinned_message_id` (must reference an existing message; empty string clears). Mutates room metadata; broadcasts `room.configured`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required | |||
| slow_mode_ms | optional | |||
| pinned_message_id | optional |
- Output keyroom.result
- Classificationreal
- POST /room/configureHTTP route
Room.Create
Create a new Room. Persists room state and broadcasts `room.created`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | optional |
- Output keyroom.result
- Classificationreal
- POST /roomHTTP route
Room.Delete
Owner/mod message moderation: REDACTS the target message in place (row, seq, and revision are kept so revision cursors stay stable; payload becomes {deleted, by} and event_type `room.message.deleted`) and appends a `room.moderation` tombstone so live clients see the delete without re-syncing. Broadcasts `room.message.deleted`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required | |||
| message_id | required |
- Output keyroom.result
- Classificationreal
- POST /room/deleteHTTP route
Room.Govern
Establish charter governance for a room in one call: ensure the room exists, create an Active charter permitting the room's allow-listed Room.* connections, and attach it to scope (room, room_id) — the exact scope the Join/Leave/Publish sanction gates read. Seats the founder as steward and stamps governance into room state. Native-only (charter store).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required | |||
| founder | optional | |||
| allow | optional | |||
| charter_name | optional |
- Output keyroom.result
- Classificationreal
- POST /room/governHTTP route
Room.Join
Join a Room. Mutates membership; broadcasts `room.joined`. When a charter is attached to the room scope, membership entry becomes a governed lane.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required | |||
| peer_id | optional | |||
| require_existing | optional |
- Output keyroom.result
- Classificationreal
- POST /room/joinHTTP route
Room.Leave
Leave a Room. Mutates membership; broadcasts `room.left`. When a charter is attached to the room scope, membership exit becomes a governed lane.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required | |||
| peer_id | optional |
- Output keyroom.result
- Classificationreal
- POST /room/leaveHTTP route
Room.Live
Open a live streaming session attached to a Room. State-bearing — persists live session record.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | optional | |||
| prompt | optional | |||
| audio | optional | |||
| video | optional |
- Output keyroom.result
- Classificationreal
- POST /room/liveHTTP route
Room.Match
Affinity-weighted matchmaking: rank compatible open rooms by mode (hard gate) plus seed / tags / skill / warmth and seat the peer in the best fit, minting a fresh room only when nothing compatible has an open seat. Mutates membership like Room.Join.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| peer_id | optional | |||
| mode | optional | |||
| seed | optional | |||
| tags | optional | |||
| skill | optional | |||
| max_players | optional | |||
| namespace | optional |
- Output keyroom.result
- Classificationreal
- POST /room/matchHTTP route
Room.Members
List members of a room.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | optional |
- Output keyroom.result
- Classificationroute_handler
- GET /room/membersHTTP route
Room.Messages
Fetch room message history.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | optional |
- Output keyroom.result
- Classificationroute_handler
- GET /room/messagesHTTP route
Room.Mod
Owner-only moderator grants: add/remove a peer in the room's server-owned `metadata.roles.mods` list. Mods are slow-mode exempt and may configure, delete (redact), and time out. Mutates room metadata; broadcasts `room.moderation`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required | |||
| add | optional | |||
| remove | optional |
- Output keyroom.result
- Classificationreal
- POST /room/modHTTP route
Room.Publish
Publish a message into a Room. Mutates room message log; broadcasts `room.message`. When a charter is attached to the room scope, publication becomes a governed lane.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required |
- Output keyroom.result
- Classificationreal
- POST /room/publishHTTP route
Room.Recipe
Validate or run a Room recipe (configuration template). Validation path is read-only; the run path is invoked via the same spec but routes through validation first.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| operation | optional | |||
| recipe | optional |
- Output keyroom.result
- Classificationroute_handler
- POST /room/recipeHTTP route
- POST /room/recipe/runHTTP route
Room.State
Get current room state snapshot.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | optional |
- Output keyroom.result
- Classificationroute_handler
- GET /room/stateHTTP route
Room.Status
Room subsystem health.
- Output keyroom.result
- Classificationroute_handler
- GET /room/statusHTTP route
Room.Sync
Catch up room state and replayable message envelopes after a revision cursor.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | optional | |||
| since_revision | optional | |||
| cursor | optional | |||
| limit | optional |
- Output keyroom.result
- Classificationroute_handler
- GET /room/syncHTTP route
Room.Timeout
Owner/mod peer timeout: blocks the peer's publishes until `until_ms` (refusals carry `error: timed_out` + until_ms). `seconds: 0` clears an active timeout. Mutates room enforcement state; broadcasts `room.timeout`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required | |||
| peer_id | required | |||
| seconds | required |
- Output keyroom.result
- Classificationreal
- POST /room/timeoutHTTP route
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authoritystateless
- Preferred truthnone
- App ownerRoom
- SQL projectionnone · DDL declarations: 0
- None declared.
- None declared.
- None declared.
- None declared.
- None declared.
- No model warnings were reported.