Skip to main content
POST
Write the Console's default theme files into a folder to start a theme

Body

application/json
dir
string
required

Folder to write theme.json and fields.json into (created when missing)

force
boolean

Overwrite files the folder already has

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