mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-09-01 16:48:19 +00:00
@@ -48,6 +48,11 @@ type NodeSummary struct {
|
||||
DefaultScope *string `json:"defaultScope,omitempty"` // most recently matched transport scope name e.g. "#bc"
|
||||
KnownNeighborCount int64 `json:"knownNeighborCount"`
|
||||
NeighborIDs []uuid.UUID `json:"neighborIds,omitempty"` // only populated when the list request opts in; see ?neighbors=true
|
||||
// Stale is true when the node hasn't been seen (last_seen) within the configured
|
||||
// staleness window (default 24h; internal/config.ResolvedConfig.NodeStaleThreshold).
|
||||
// Applies to every node type, unlike ClockDriftSeconds/ClockOutOfSync on Node, which
|
||||
// are repeater/room-server only.
|
||||
Stale bool `json:"stale"`
|
||||
}
|
||||
|
||||
// Node is the full node representation including firmware capability flags,
|
||||
|
||||
Reference in New Issue
Block a user