Skip to main content
POST
Replace a Structured Widget snapshot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Strongly recommended stable identity for one logical snapshot. Retained for 24 hours.

Required string length: 8 - 180

Path Parameters

widgetId
string
required

Unique Widget ID copied from the Studio API integration dialog.

Body

application/json
pushVersion
integer
required
widgetType
enum<string>
required
Available options:
ANNOUNCEMENTS,
TODAYS_SCHEDULE,
EVENTS,
TRANSPORT_BOARD
writeMode
string
required
Allowed value: "REPLACE_SNAPSHOT"
data
object
required

Strict semantic payload. Its shape must match widgetType and the target Widget.

source
object

Response

Snapshot accepted or an identical idempotent request replayed

accepted
boolean
required
widgetId
string
required
widgetType
enum<string>
required
Available options:
ANNOUNCEMENTS,
TODAYS_SCHEDULE,
EVENTS,
TRANSPORT_BOARD
dataRevision
integer
required
Required range: x >= 1
schemaVersion
integer
required
acceptedAt
string<date-time>
required
itemCount
integer
required
Required range: x >= 0
warnings
string[]
required