New API endpoint: stations #28
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: W1CDN/aprs_tool#28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#1 mentions keeping a list of stations (
from
field in frames table) in a separate table and updating the location and timestamp every time a new frame is received.This issue is for querying that table and exposing results to an endpoint, which should be less work than filtering down from the frames table results.
Rows in the stations table would be kept for much longer than rows in the frames table (months? a year?).
Would objects be stored in a separate table, or included here?
from
callsign-SSID and no namefrom
callsign-SSID and a namefrom
callsign-SSID andformat: 'message'
Like this from current dw logs and frontail. Fields like callsign, count, last heard, location, symbol?
Working on this in #30.
No, this will be a different PR. The query right now seems OK, and I turned off autoremove for now in
8f3b2ae707
.Copied from #30 (comment):
Experimenting with new
stations
table.I set up a query in
unique_stations()
to show the station list for now, but ifframes
is cleaned up periodically (#31), the station list may still be useful in the future.I have this comment in place in
tcp_kiss_send_recv.py
:# TODO update stations table here
This has been completed.