https://app.nokku.sh/nokku.v1.DaemonControlService/SyncDaemonTry 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
users?privateIps?Where the daemon's sshd listens, as ip:port.
metadata?Map value
[key: string]?Responses
200Success
200Success
application/json
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.
principals?userCaPublicKey?The user CA key logins are checked against.
hostCaPublicKey?The host CA key the daemon's host certificate has to come from.
stateHash?A hash of this answer, the daemon sends it back with every heartbeat. A daemon never works it out itself.
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.