Register a workspace
Registers a folder as a workspace so teams can be assigned to it and run in it. The
folder is created if it does not exist, and an empty .cliq/ directory is created
inside it. Nothing else is written to the folder.
Registering a path that is already registered succeeds again: it returns the same
workspace_id with initialized: false and updates the name.
From the CLI: cliq init.
No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon’s realm; this only works once the daemon is connected to CliqHub. See Authentication.
Authorizations
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.