mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-09-16 08:52:38 +00:00
@@ -289,6 +289,43 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/iatas/{iata}/border": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"IATAs"
|
||||
],
|
||||
"summary": "Get an IATA's GeoJSON border, if configured",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "3-letter IATA code",
|
||||
"name": "iata",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "GeoJSON Feature (Polygon or MultiPolygon geometry, with bbox)",
|
||||
"schema": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"description": "IATA exists but has no border configured"
|
||||
},
|
||||
"404": {
|
||||
"description": "Not Found",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/internal_api_handlers.APIError"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/messages": {
|
||||
"get": {
|
||||
"produces": [
|
||||
@@ -2537,6 +2574,10 @@
|
||||
"description": "shorthand: \"freqMhz,bwKhz,sf\" e.g. \"910.525,62.5,7\"",
|
||||
"type": "string"
|
||||
},
|
||||
"stale": {
|
||||
"description": "Stale is true when the node hasn't been seen (last_seen) within the configured\nstaleness window (default 24h; internal/config.ResolvedConfig.NodeStaleThreshold).\nApplies to every node type, unlike ClockDriftSeconds/ClockOutOfSync on Node, which\nare repeater/room-server only.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"supportsMultibytePaths": {
|
||||
"description": "firmware \u003e= 1.14.0; detected via path hash size",
|
||||
"type": "boolean"
|
||||
@@ -2662,6 +2703,10 @@
|
||||
"radio": {
|
||||
"description": "shorthand: \"freqMhz,bwKhz,sf\" e.g. \"910.525,62.5,7\"",
|
||||
"type": "string"
|
||||
},
|
||||
"stale": {
|
||||
"description": "Stale is true when the node hasn't been seen (last_seen) within the configured\nstaleness window (default 24h; internal/config.ResolvedConfig.NodeStaleThreshold).\nApplies to every node type, unlike ClockDriftSeconds/ClockOutOfSync on Node, which\nare repeater/room-server only.",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user