Skip to main content
Version: Next

WidgetRestApi.put

descriptionstringnullable

What the widget shows, its business meaning and any caveats. Agents read it to understand the widget without loading its full configuration.

editorsinteger[]

A list of subject IDs (users, roles, or groups) that can alter the widget.

namestring

The display name of the widget.

Possible values: non-empty and <= 250 characters

propsobject

The widget's type-specific values, as a JSON object.

schema_versioninteger

The version of the widget's schema that the props conform to.

Possible values: >= 1

viewersinteger[]

A list of subject IDs (users, roles, or groups) that can view the widget.

WidgetRestApi.put
{
"description": "string",
"editors": [
0
],
"name": "string",
"props": {},
"schema_version": 0,
"viewers": [
0
]
}