Skip to main content
POST
Render a widget folder to a standalone HTML file (every variant, light and dark) through the Console

Body

application/json
dir
string
required

Widget folder holding widget.html (relative to your current directory)

data
string

JSON file with one record or { records: [...] }

out
string

Where to write the HTML (default:

/preview.html)

theme
string

Theme ref, or none for Ravi's default theme (default: the effective theme)

Response

Success — body conforms to the @Returns schema.

bytes
number
required
diagnostics
object[]
required
out
string
required
success
boolean
required