Skip to content

Add REST endpoint for connection details #89

Description

@itsDNNS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions