Skip to content
Flow-UILive

Page envelope

The root object of every page response.

Response shapejson
{
  "page": {
    "id": "home",
    "nav": {},
    "header": { "sticky": true, "widgets": [] },
    "sections": [],
    "footer": { "sticky": true, "widgets": [] },
    "pagination": { "has_more": true, "postback": {} },
    "refresh": { "pull_to_refresh": true }
  }
}

page#

FieldTypeDefaultDescription
idreqStringStable identifier for the screen.
navNavModelNavigation bar configuration.
headerPageBarWidget strip above the sections.
sections[Section]The scrolling content. Decoded lossily.
footerPageBarWidget strip below the sections.
paginationPaginationCursor state for infinite scrolling.
refreshRefreshRefresh behavior.
FieldTypeDefaultDescription
titleTextDataCentered title.
subtitleTextDataLine under the title.
bg_colorColorDataBar background.
left_buttonButtonDataLeading button. Defaults its action to dismiss.
right_buttons[ButtonData]Trailing buttons, rendered in order.
FieldTypeDefaultDescription
widgets[Widget]The strip's content.
stickyBooltruetrue pins outside the scroll area; false scrolls with content.

pagination#

FieldTypeDefaultDescription
has_morereqBoolWhether a next page exists. Controls the sentinel.
postbackJSONOpaque cursor echoed on the next page request. Any shape.

refresh#

FieldTypeDefaultDescription
pull_to_refreshBooltrueEnables the pull gesture.