Push To Display

Content Blocks

Each block represents a line or segment of text in a display message. A panel update must include at least one block in the blocks array.

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).
backgroundstringNoSegment background color in hex format (#RRGGBB).

Examples

Simple text block

{
  "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

You can include any number of blocks in a single update. Blocks are rendered in order, top to bottom within the panel.