Skip to content
Developer Preview

ViewPageParams

view/page params: cursor-paged reads of the session view.

  • anchor
  • cursor
  • direction
  • limit
  • sessionId
Source

schema/msp/experimental/msp.schema.json#/types/ViewPageParams

{
"description": "`view/page` params: cursor-paged reads of the session view.",
"properties": {
"anchor": {
"$ref": "#/$defs/ViewPageAnchor",
"description": "The cold-client request mode, resolved at\ncall time to the latest installed compaction boundary. The one named\nexception to the observed-only rule."
},
"cursor": {
"description": "The exclusive anchor. Forward: the page starts strictly after it;\nomitted means from the beginning of the view. Backward: the page ends\nstrictly before it; omitted means from the head. Mutually exclusive\nwith `anchor`.",
"type": "string"
},
"direction": {
"$ref": "#/$defs/ViewPageDirection",
"description": "Paging direction; `forward` when omitted."
},
"limit": {
"description": "Maximum events to return, 1–1000. The server MAY return fewer.\n\nThe 1–1000 range is ratified and now **published**: the owner ruling is in force, so the model carries the bound and the bundle renders\n`minimum`/`maximum` instead of a bare `integer`.",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"sessionId": {
"description": "The session to page.",
"type": "string"
}
},
"required": [
"limit",
"sessionId"
],
"type": "object"
}