Skip to content

Country flags missing from output #21

@DB8LE

Description

@DB8LE

I've recently installed this software on my server to provide data for Wavelog. It has been working great so far, but I've noticed that the flag field is missing from the API's JSON output, causing the flags to also be missing in the Wavelog DXCluster.

My instance is built from source at the most recent commit (95c45f5).

My config:

CALLSIGN="DB8LE"
CLUSTERS='[{"host":"dxfun.com","port":"8000"},{ "host": "dx.n9jr.com", "port": "7300" },{"host":"cluster.sota.org.uk","port":"7300","sota":true}]'
MAXCACHE="500"
POTA_INTEGRATION="true"

Sample output from the API (endpoint /spots):

[
  {
    "spotter": "GM4SUF",
    "spotted": "K8MM",
    "frequency": 28180,
    "band": "10m",
    "message": "FT4 IO77vu -> EN83fa",
    "when": "2025-12-29T15:46:14.948Z",
    "source": "cluster",
    "dxcc_spotter": {
      "cont": "EU",
      "entity": "SCOTLAND",
      "dxcc_id": "279",
      "lotw_user": "2",
      "cqz": "14"
    },
    "dxcc_spotted": {
      "cont": "NA",
      "entity": "UNITED STATES OF AMERICA",
      "dxcc_id": "291",
      "lotw_user": "2",
      "cqz": "5"
    }
  },
  {
    "spotter": "AE4JM",
    "spotted": "TJ1GD",
    "frequency": 28003,
    "band": "10m",
    "message": "QRX 28.0043",
    "when": "2025-12-29T15:46:06.412Z",
    "source": "cluster",
    "dxcc_spotter": {
      "cont": "NA",
      "entity": "UNITED STATES OF AMERICA",
      "dxcc_id": "291",
      "lotw_user": "2",
      "cqz": "5"
    },
    "dxcc_spotted": {
      "cont": "AF",
      "entity": "CAMEROON",
      "dxcc_id": "406",
      "lotw_user": "2",
      "cqz": "36"
    }
  },
  ...
]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions