Further alert implementation #17

This commit is contained in:
Ian Renton
2025-10-06 21:06:54 +01:00
parent e0675a01f0
commit 6ee4fe288a
14 changed files with 171 additions and 67 deletions

View File

@@ -199,6 +199,12 @@ paths:
required: false
schema:
type: integer
- name: max_duration
in: query
description: Limit the spots to only ones with a duration of this many seconds or less. Duration is end time minus start time, if end time is set, otherwise "now" minus start time. This is useful to filter out people who alert POTA activations lasting months or even years.
required: false
schema:
type: integer
- name: source
in: query
description: "Limit the spots to only ones from one or more sources. To select more than one source, supply a comma-separated list."
@@ -424,9 +430,9 @@ components:
type: object
properties:
id:
type: integer
type: string
description: Unique identifier based on a hash of the spot to distinguish this one from any others.
example: 123987609816349182
example: 442c5d56ac467341f1943e8596685073b38f5a5d4c3802ca1e16ecf98967956c
dx_call:
type: string
description: Callsign of the operator that has been spotted
@@ -675,9 +681,9 @@ components:
type: object
properties:
id:
type: integer
type: string
description: Unique identifier based on a hash of the alert to distinguish this one from any others.
example: 123987609816349182
example: 442c5d56ac467341f1943e8596685073b38f5a5d4c3802ca1e16ecf98967956c
dx_call:
type: string
description: Callsign of the operator that is going to be activating