Page:
API
Pages
AMBE vocoder device notes
API
Airspy HF and Discovery device notes
Airspy R2 or Mini device notes
Background decoding
Client Support
Configuration guide
DRM demodulator notes
FiFi SDR device notes
FreeDV demodulator notes
Getting Started using Docker
HPSDR (including Hermes Lite 2) device notes
HackRF device notes
Home
How the bookmarks work
How to get openwebrx stats into collectd
How to update openwebrx
Manual Package installation (including digital voice)
Migrating to OpenWebRX 1.0
Perseus HF receiver device notes
Quirks of RHEL based distributions
RTL SDR device notes
Radioberry device notes
SDRPlay device notes
Setup Guide
Supported Hardware
Troubleshooting FAQ
Usage
User Management
19
API
Jakob Ketterl edited this page 2021-04-22 00:36:09 +02:00
Table of Contents
Here are the API endpoints and the output:
Receiver metrics
Endpoint: /metrics (Prometheus format)
# https://prometheus.io/docs/instrumenting/exposition_formats/
openwebrx_users 2
wsjt_decodes_40m_FT8_total 40484
wsjt_decodes_40m_FT4_total 1637
wsjt_decodes_40m_WSPR_total 170
wsjt_decodes_20m_FT8_total 385
wsjt_decodes_20m_FT8_total 21
aprs_decodes_2m_aprs_total_total 364
aprs_decodes_2m_aprs_direct_total 123
Endpoint: /metrics.json (Generic JSON format)
{
"openwebrx": {
"users": 2
},
"aprs": {
"decodes": {
"2m": {
"aprs": {
"total": {
"count": 364
},
"direct": {
"count": 123
}
}
}
}
},
"wsjt": {
"decodes": {
"40m": {
"FT8": {
"count": 40484
},
"FT4": {
"count": 1637
},
"WSPR": {
"count": 170
}
},
"20m": {
"FT8": {
"count": 385
},
"FT4": {
"count": 21
}
}
}
}
}
Receiver status
Endpoint: /status.json
{
"receiver": {
"name": "CALL",
"admin": "email",
"gps": {
"lat": 0.0,
"lon": 0.0
},
"asl": 200,
"location": "City, Country"
},
"max_clients": 20,
"version": "v0.20.3",
"sdrs": [
{
"name": "RTL-SDR USB Stick",
"type": "RtlSdrSoapySource",
"profiles": [
{
"name": "2m komplett",
"center_freq": 145000000,
"sample_rate": 2400000
},
[...]
]
},
{
"name": "Hack RF",
"type": "HackrfSource",
"profiles": [
{
"name": "10m",
"center_freq": 28800000,
"sample_rate": 384000
},
[...]
]
}
]
}
Feature detection API
Endpoint: api/features
An overview over all features and their availability, also including the necessary software components for them.
Home
Setup
Supported Hardware
Setup Guide
Docker
Manual installation
Upgrading an installation
Migrating to OpenWebRX 1.0
RHEL specific notes
Configuration
User Management
Configuration
Bookmarks
Background decoding
How to get openwebrx stats into collectd
Device specific notes
Airspy HF+ and Discovery
Airspy R2 / Mini
HackRF
Perseus HF receiver
RTL-SDR
Radioberry
SDRPlay
HPSDR / Hermes-Lite 2
FiFi-SDR
AMBE vocoder
Usage
Troubleshooting FAQ
PA0ESH