본문으로 건너뛰기

위젯

iOS 홈 화면, 잠금 화면, 스탠바이와 Android 홈 화면을 위한 푸시 구동 위젯입니다. 위젯을 한 번 선언하고 PATCH로 콘텐츠를 업데이트하면 배치된 모든 위젯이 알아서 새로고침됩니다.

PushWard 위젯 4개가 표시된 Android 홈 화면: 100%인 백업, 준비된 클러스터, 분당 1,240건 요청을 처리하는 API, 27%인 CPU

On Android, widgets go on the home screen: long-press it, choose Widgets and add PushWard, then pick which of your widgets it shows. It draws the small, medium or large layout for the space it gets, and long-pressing it again picks another widget.

ℹ 정보

Widgets require iOS 26 or later. On older versions the iOS app hides the widget management screen and your widgets remain dormant — the server keeps the content current so they render correctly once the user upgrades.

Widgets work on every Android version the app runs on, Android 12 or later.

Widgets are persistent — once the user pins one to their Home Screen, Lock Screen, or StandByhome screen, it stays there until they remove it. Use a widget for ambient state that should always be glanceable (a sensor reading, a server health indicator, a daily counter). For something that is currently happening and has a known end — a download, a timer, a print — reach for a Live ActivityLive Update instead.

Templates

Each template is tuned for a different shape of data. Tap a card for that template's field list, worked example, and behavior notes; the shared content fields they all accept live in the API reference.On Android the same templates draw in the app's own home screen layout, like the widgets above; the cards show the iPhone ones.

value — 값

단위, 레이블, 추세 화살표를 선택적으로 포함하는 하나의 큰 숫자입니다. 센서 측정값과 카운터에 가장 적합합니다.

Required: none (optional value, unit, label, trend)

progress — 진행률

레이블과 강조 색상이 있는 진행 막대입니다. 완료 비율과 롤아웃에 가장 적합합니다.

Required: value 0.0 – 1.0

status — 상태

심각도(info, warning, critical, success)로 구동되는 아이콘형 상태 배지입니다. 숫자 없이 상태만 표시합니다.

Required: none (optional severity: info, warning, critical, success)

gauge — 게이지

설정 가능한 최소값과 최대값 사이의 바늘형 게이지입니다. SLO, 오류 예산, 용량에 가장 적합합니다.

Required: value, min_value, max_value

stat_list — 통계 목록

최대 6개의 레이블/값 행입니다. 간결한 대시보드에 가장 적합합니다 — MRR / 구독 / 체험, 정상 / 다운 / 점검.

Required: stat_rows (array, 1 – 6 entries)

앱 버전 1.6에서 제공 예정

이 섹션은 App Store 심사를 기다리고 있는 앱 업데이트의 기능을 설명합니다. 업데이트가 출시되면 여기에서 자동으로 잠금 해제됩니다.

앱 버전 1.30.0에서 제공 예정

이 섹션은 App Store 심사를 기다리고 있는 앱 업데이트의 기능을 설명합니다. 업데이트가 출시되면 여기에서 자동으로 잠금 해제됩니다.

Preview any of them on the playground.

앱 버전 1.30.0에서 제공 예정

이 섹션은 App Store 심사를 기다리고 있는 앱 업데이트의 기능을 설명합니다. 업데이트가 출시되면 여기에서 자동으로 잠금 해제됩니다.

How it works

  1. Your integration calls POST /widgets to declare a widget by slug, with a template and initial content.
  2. The user opens the widget picker on their device and selects your slug for any system widget family they want — small, medium, large, accessory-rectangular, accessory-circular, or accessory-inline. The same slug can appear in multiple slots.The user long-presses the home screen, adds the PushWard widget and picks your slug. The widget draws the small, medium or large layout for the space it is given.
  3. Your integration calls PATCH /widgets/{slug} whenever the underlying value changes. The server merges (RFC 7396) and pushes a thin update; the iOS widget extension reloads its timelinethe Android app fetches the new content and redraws the widget.
  4. If a push is missed (background fetch coalescing, no network), iOS calls back into the extension every ~30 minutes for a freshness pullIf a push is missed, the Android app refreshes its placed widgets every 15 minutes and whenever it comes to the foreground — GET /widgets/{slug} always returns the latest content.

Two ways to create widgets

Widgets don't require an integration to exist. There are two paths to the same backend, and both can target the same slug — a widget created in the app can later be driven by an integration, and vice versa.

  • In the iOS app. Open the Widgets tab in PushWard, choose a template, and fill in the slug, name, and initial content. This is the right path for personal widgets — a temperature you key in by hand, a morale dial, a counter you bump from a Shortcut. The new slug appears immediately in the iOS widget picker for Home Screen, Lock Screen, and StandBy.In the Android app. The Widgets tab creates the same widgets: choose a template and fill in the slug, name, and initial content. For the templates an integration usually feeds (trend, battery, schedule, flow, stat list) it starts the widget with a placeholder that your first PATCH replaces, and each widget previews its small, medium and large layouts before you place it.
  • Via the HTTP API. Use this when an external service should keep the widget content current — a homelab probe, a CI job, a smart-home automation. See the API reference.
내비게이션 레일과 목록 옆의 세부 정보가 표시된 Android 태블릿의 PushWard

The Widgets tab on an Android tablet: the list beside the selected widget, with its small, medium and large layouts.

Authentication

The widgets API is reachable with an integration key (hlk_) with widgets at write (or read for a key that only reads them).