Summary
Connection details (ISP name, detected downstream/upstream speeds, connection type) are currently only rendered into the HTML and not available via a dedicated REST endpoint.
Background
Raised in discussion #87 by a community member building a native iOS companion app on the DOCSight REST API. This data is needed to display connection info without HTML parsing.
Proposed endpoint
GET /api/connection
Expected response:
{
"isp_name": "Vodafone",
"connection_type": "DOCSIS 3.1",
"max_downstream_kbps": 250000,
"max_upstream_kbps": 40000
}
isp_name comes from user config. The remaining fields come from the modem driver via connection_info in the app state.
Related
Summary
Connection details (ISP name, detected downstream/upstream speeds, connection type) are currently only rendered into the HTML and not available via a dedicated REST endpoint.
Background
Raised in discussion #87 by a community member building a native iOS companion app on the DOCSight REST API. This data is needed to display connection info without HTML parsing.
Proposed endpoint
GET /api/connectionExpected response:
{ "isp_name": "Vodafone", "connection_type": "DOCSIS 3.1", "max_downstream_kbps": 250000, "max_upstream_kbps": 40000 }isp_namecomes from user config. The remaining fields come from the modem driver viaconnection_infoin the app state.Related