Push To Display

Blocks

A block is a unit of text content with optional styling. Every update must include at least one block in the blocks array. Blocks are rendered in order, top to bottom within the panel.

Block fields

FieldTypeRequiredDescription
textstringYesThe text content to display.
sizestringNoText size: small, medium, or large.
weightstringNoFont weight: regular, semibold, or bold.
colorstringNoText color in hex format (#RRGGBB).
backgroundstringNoBlock background color in hex format (#RRGGBB).

Examples

Simple text

{
  "blocks": [{ "text": "System operational" }]
}

Styled blocks

{
  "blocks": [
    {
      "text": "Deploy completed",
      "color": "#E8FFF6",
      "background": "#0A4A36",
      "size": "large",
      "weight": "bold"
    },
    {
      "text": "Queue: 12 | Escalations: 0",
      "color": "#061A13",
      "size": "small"
    }
  ]
}

Multiple blocks

Include any number of blocks in a single update. Each block appears as a separate line or segment on the display, rendered in the order you provide them.