mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-10-16 00:49:57 +00:00
Region-filtered /scopes and /stats/scopes now list manual scopes configured for the region and imported scopes whose MeshMapper catalogue includes the IATA, instead of inferring membership from observed traffic. Filtered /scopes returns string[] like the unfiltered call. Manual scopes now require a region in config.
15 lines
467 B
Go
15 lines
467 B
Go
// Copyright 2026 Beacon Contributors
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
package api
|
|
|
|
// ScopeDetail is the full scope representation including packet count and IATA list.
|
|
type ScopeDetail struct {
|
|
Name string `json:"name"`
|
|
PacketCount int64 `json:"packetCount"`
|
|
ObserverCount int64 `json:"observerCount"`
|
|
NodeCount int64 `json:"nodeCount"`
|
|
IATACount int64 `json:"iataCount"`
|
|
IATAs []string `json:"iatas"`
|
|
}
|