UpdateDaemon
Turning recording on or off takes a fresh sign-in, so a stolen session can't hide what it does next.
https://app.nokku.sh/nokku.v1.DaemonService/UpdateDaemonTry it
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Authorization
BearerAuth (bearer)
A service account token. Include it in the Authorization header: `Authorization: Bearer <token>`
CookieAuth (cookie: __Host-nokku_session)
The session cookie the web app uses. Browsers send it after sign-in. Only on `localhost` it is named `nokku_session`.
Request Body
Requiredapplication/json
id?status?config?recordSessions?allowForwarding?allowAgentForwarding?gatewayPorts?ephemeral?idleTimeout?idle_timeout closes an interactive session nobody typed into for that long. It is the workspace's session_idle_timeout, filled in by the core on sync and ignored when sent.
updateMaskupdate_mask names the fields to change, the rest stay as they are. A named list may be empty, which clears it. field_mask.in = ["status", "config.record_sessions", "config.allow_forwarding", "config.allow_agent_forwarding", "config.gateway_ports"]
Responses
200Success
200Success
application/json
defaultError
defaultError
application/json
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
code?The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message?A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details?A list of messages that carry the error details. There is no limit on the number of messages.