Skip to content

Read Board sort pattern as of a watermark

GET
/v1/object-types/hospitality.board_sort_pattern/objects/{id}/as-of
curl --request GET \
--url 'https://api.aerandil.com/v1/object-types/hospitality.board_sort_pattern/objects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/as-of?at=example' \
--header 'Authorization: Bearer <token>'

Time-travel read: the instance as it stood at the at watermark, reconstructed by folding its structural events. Property values that were marking-redacted or truncated in the event log surface as sentinel objects, not values.

The order a property sets for one of its boards (hubOS’s server-defined sort pattern): the attendant’s housekeeping sheet, the supervisor’s rack, the engineer’s work-order board, or the pacing report. keys is an ordered list — the first key decides, the next breaks its ties — each with a direction and, for a ranked key (priority, task type, status), the house’s order of its values (departures before stayovers, say). One per board per house, authored by set_board_sort_pattern (a repeated board replaces it in place) and retired by retire_board_sort_pattern, which gives the board back to the kernel’s default. A staff member’s own preference (staff_member.sort_preferences) wins over it; hospitality.function.board_sort reads the order a caller sees.

id
required
string format: uuid

Object id (UUID v7, server-generated at create time).

at
required
string

The watermark: an event seq (integer, canonical — the /v1/events cursor namespace) or an RFC3339 timestamp (resolved to the latest seq at or before it in the tenant’s stream).

The reconstructed as-of state.

Media typeapplication/json
object
at
required
string
events_applied
required
integer
id
required
string format: uuid
last_event_seq
required
integer
last_event_ts
required
string format: date-time
object_type
required
Allowed value: hospitality.board_sort_pattern
properties
required

Log-shaped folded bag: each entry is a typed {kind, value} object, a {redacted: [markings]} sentinel, or a {truncated_bytes: n} sentinel.

object
key
additional properties
any
Example
{
"object_type": "hospitality.board_sort_pattern"
}

Object did not exist at the watermark (not yet created, or already deleted).

Malformed at, or the object’s history predates structural event images and cannot back a faithful reconstruction.