diff --git a/docs/docs.go b/docs/docs.go index 32f029f..43eb4b1 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2884,6 +2884,9 @@ const docTemplate = `{ "radio": { "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.PacketRadio" }, + "resolvedDestination": { + "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop" + }, "resolvedPath": { "description": "per-observation resolved path hashes", "type": "array", @@ -2891,6 +2894,14 @@ const docTemplate = `{ "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop" } }, + "resolvedSource": { + "description": "ResolvedSource/ResolvedDestination are the packet's endpoints, when the payload type\ncarries a resolvable one: an exact match for ADVERT's full pubkey, an ambiguous\nhash-prefix match (like intermediate hops) for TEXT_MESSAGE/PATH/ANON_REQ's 1-byte\nsource/destination hashes. Nil when the payload type doesn't carry one at all (e.g.\nGRP_TXT/GRP_DATA/TRACE aren't node-to-node addressed) -- see BuildResolvedPath and\nResolveExactNode for how each is built.", + "allOf": [ + { + "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop" + } + ] + }, "rssi": { "type": "integer" }, diff --git a/docs/swagger.json b/docs/swagger.json index 788aba7..b8c048f 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -2882,6 +2882,9 @@ "radio": { "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.PacketRadio" }, + "resolvedDestination": { + "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop" + }, "resolvedPath": { "description": "per-observation resolved path hashes", "type": "array", @@ -2889,6 +2892,14 @@ "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop" } }, + "resolvedSource": { + "description": "ResolvedSource/ResolvedDestination are the packet's endpoints, when the payload type\ncarries a resolvable one: an exact match for ADVERT's full pubkey, an ambiguous\nhash-prefix match (like intermediate hops) for TEXT_MESSAGE/PATH/ANON_REQ's 1-byte\nsource/destination hashes. Nil when the payload type doesn't carry one at all (e.g.\nGRP_TXT/GRP_DATA/TRACE aren't node-to-node addressed) -- see BuildResolvedPath and\nResolveExactNode for how each is built.", + "allOf": [ + { + "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop" + } + ] + }, "rssi": { "type": "integer" }, diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 748e052..2c8913a 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -587,11 +587,23 @@ definitions: type: integer radio: $ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.PacketRadio' + resolvedDestination: + $ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop' resolvedPath: description: per-observation resolved path hashes items: $ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop' type: array + resolvedSource: + allOf: + - $ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop' + description: |- + ResolvedSource/ResolvedDestination are the packet's endpoints, when the payload type + carries a resolvable one: an exact match for ADVERT's full pubkey, an ambiguous + hash-prefix match (like intermediate hops) for TEXT_MESSAGE/PATH/ANON_REQ's 1-byte + source/destination hashes. Nil when the payload type doesn't carry one at all (e.g. + GRP_TXT/GRP_DATA/TRACE aren't node-to-node addressed) -- see BuildResolvedPath and + ResolveExactNode for how each is built. rssi: type: integer snr: