Skip to main content
POST
Write a widget folder from the Console's scaffold (fields from a Bases view with --from-view)

Body

application/json
dir
string
required

Folder to write widget.html, widget.json and example.json into

force
boolean

Overwrite files the folder already has

fromView
string

Take the fields from this Bases view's columns

project
string

Console project (default: the known project)

slug
string

Widget slug (default: the folder name)

Response

Success — body conforms to the @Returns schema.

diagnostics
object[]
required
dir
string
required
files
object[]
required
kind
enum<string>
required
Available options:
theme,
widget
next
string
required
slug
string | null
required
success
boolean
required