mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-06 02:21:42 +00:00
Refactor of caching & data storage part 16 #118
This commit is contained in:
@@ -325,7 +325,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CallLookup'
|
||||
$ref: '#/components/schemas/CallsignData'
|
||||
'422':
|
||||
description: Validation error e.g. callsign missing or format incorrect
|
||||
content:
|
||||
@@ -1791,6 +1791,10 @@ components:
|
||||
The last time at which this provider received data, UTC seconds since UNIX epoch. If this
|
||||
is zero, the provider has never updated.
|
||||
example: 1759579508
|
||||
lookup_count:
|
||||
type: number
|
||||
description: The number of callsign lookups performed using this provider since the server was started.
|
||||
example: 1234
|
||||
|
||||
SpotList:
|
||||
type: array
|
||||
@@ -1962,12 +1966,16 @@ components:
|
||||
on this server.
|
||||
example: true
|
||||
|
||||
CallLookup:
|
||||
CallsignData:
|
||||
type: object
|
||||
properties:
|
||||
call:
|
||||
type: string
|
||||
description: Callsign, as provided to the API
|
||||
example: DL/M0TRT/P
|
||||
home_call:
|
||||
type: string
|
||||
description: The "home" call, without prefixes or suffixes
|
||||
example: M0TRT
|
||||
name:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user