Support de-dupe and comment filtering for spots. Closes #45

This commit is contained in:
Ian Renton
2025-10-19 10:18:01 +01:00
parent 760077b081
commit 772d9f4341
2 changed files with 56 additions and 0 deletions

View File

@@ -76,6 +76,12 @@ paths:
- WWBOTA
- GMA
- HEMA
- WCA
- MOTA
- SiOTA
- ARLHS
- ILLW
- ZLOTA
- name: band
in: query
description: "Limit the spots to only ones from one or more bands. To select more than one band, supply a comma-separated list."
@@ -168,6 +174,19 @@ paths:
- AF
- OC
- AN
- name: dedupe
in: query
description: "\"De-duplicate\" the spots, returning only the latest spot for any given callsign."
required: false
schema:
type: boolean
default: false
- name: comment_includes
in: query
description: "Return only spots where the comment includes the provided string (case-insensitive)."
required: false
schema:
type: string
responses:
'200':
description: Success
@@ -241,6 +260,12 @@ paths:
- WWBOTA
- GMA
- HEMA
- WCA
- MOTA
- SiOTA
- ARLHS
- ILLW
- ZLOTA
- name: dx_continent
in: query
description: "Limit the alerts to only ones where the DX (the operator being spotted) is on the given continent(s). To select more than one continent, supply a comma-separated list."
@@ -667,6 +692,12 @@ components:
- WWBOTA
- GMA
- HEMA
- WCA
- MOTA
- SiOTA
- ARLHS
- ILLW
- ZLOTA
example: POTA
sig_refs:
type: array
@@ -812,6 +843,12 @@ components:
- WWBOTA
- GMA
- HEMA
- WCA
- MOTA
- SiOTA
- ARLHS
- ILLW
- ZLOTA
example: POTA
sig_refs:
type: array