Skip to content

API Response Mismatch in GetNetworkNetworkHealthChannelUtilization #56

@gpop63

Description

@gpop63

The GetNetworkNetworkHealthChannelUtilization method in this library expects a different JSON response format than what the API actually returns.

Example of what is expected:

    {
        "serial": "Q234-ABCD-5678",
        "model": "MR34",
        "tags": " recently-added ",
        "wifi0": [
            {
                "startTime": "2018-10-09T22:18:27Z",
                "endTime": "2018-10-09T22:19:27Z",
                "utilizationTotal": 33.84,
                "utilization80211": 32,
                "utilizationNon80211": 1.84
            }
        ],
        "wifi1": [
            {
                "startTime": "2018-10-09T22:18:27Z",
                "endTime": "2018-10-09T22:19:27Z",
                "utilizationTotal": 33.84,
                "utilization80211": 32,
                "utilizationNon80211": 1.84
            }
        ]
    }

Example of what is actually returned:

{
  "serial": "REDACTED",
  "model": "REDACTED",
  "tags": "REDACTED",
  "wifi0": [
    {
      "utilization": 33.19,
      "wifi": 31.55,
      "non_wifi": 1.64,
      "start_ts": "2025-03-19T13:10:00Z",
      "end_ts": "2025-03-19T13:20:00Z"
    },
    {
      "utilization": 35.64,
      "wifi": 33.97,
      "non_wifi": 1.67,
      "start_ts": "2025-03-19T13:20:00Z",
      "end_ts": "2025-03-19T13:30:00Z"
    },
    {
      "utilization": 38.12,
      "wifi": 36.49,
      "non_wifi": 1.63,
      "start_ts": "2025-03-19T13:30:00Z",
      "end_ts": "2025-03-19T13:40:00Z"
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions