Skip to main content
POST
Show a hug in development

Authorizations

Authorization
string
header
required

Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a cliq_tok_… personal token whose user is in the daemon's realm.

Body

application/json
dist
string
required

The hug's built bundle folder (absolute path)

Minimum string length: 1
dev_id
string

Refresh this dev Hug after a rebuild (its page reloads)

Required string length: 1 - 100
params
any

The hug's params (checked against its definition)

attachments
string[]

Files the hug may read (absolute paths)

Maximum array length: 50
Minimum string length: 1
view
object

Values to show in view mode, as a submitted answer

Response

Success.

ok
boolean
required
data
object
required