https://app.nokku.sh/nokku.v1.TargetService/GetTargetTry 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?Responses
200Success
200Success
application/json
target?id?daemonId?name?description?hostPublicKey?pinned SSH host public key (manual mode)
tags?endpoints?usernames?accounts?metadata?Map value
[key: string]?createdAt?A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
updatedAt?A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
lastSyncAt?A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
usernameExpiresAt?username_expires_at holds the usernames the subject asked about may only use until then. The others are for good.
Map value
[key: string]?A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
blocked?blocked says why the subject's grants here let nobody in today. Unset when they work.
daemon?daemon is the server's daemon with its live state, from ListTargets and GetTarget. Unset for nk sync servers.
id?name?online?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.
updatedAt?A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
createdAt?A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
lastSeenAt?A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
version?version is nokkud's, as its last enroll or sync reported it.
behindSince?behind_since is when a connected daemon stopped keeping up with access changes. Unset while it keeps up.
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.