Skip to main content
POST
Register a workspace

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
workspace_dir
string
required

Absolute workspace path

Minimum string length: 1
name
string

Workspace display name (asked for when omitted)

Required string length: 1 - 64
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9 _\-.]*$

Response

Success.

ok
boolean
required
data
object
required