Open API paths not found

Open API paths not found

Open API paths not found
Open API paths not found
4 hours ago - last edited 4 hours ago
Tags: #API
Model: ER7212PC  
Hardware Version: V2
Firmware Version: 2.3.0 Build 20251219 Rel.75767

Hello,

 

I am trying to get proper bandwith monitring of my network, and using SNMP is not possible, because the real interfaces are not visible, so I am testing the open API to see if I can get it from there.

 

I am following the documentation found here: Omada Open API

 

It took me a while to get the access, but finally I was able to access, and have no problem getting some information, for example, getting the devices lists:

{
  "errorCode": 0,
  "msg": "Success.",
  "result": {
              "totalRows": 2,
                "currentPage": 1,
                "currentSize": 10,
                "data": [
                          {
                            "mac": "**-**-**-**-**-**",
                            "name": "Rutazo",
                            "type": "gateway",
                            "deviceSeriesType": 0,
                            "model": "ER7212PC v2.0",
                            "modelName": "ER7212PC",
                            "ip": "192.168.0.1",
                            "uptime": "17day(s) 2h 29m 20s",
                            "status": 1,
                            "detailStatus": 14,
                            "modelVersion": "2.0",
                            "lastSeen": 1768563175775,
                            "cpuUtil": 0,
                            "sn": "0000000000000",
                            "switchConsistent": true,
                            "publicIp": "127.0.0.1",
                            "firmwareVersion": "2.3.0 Build 20251219 Rel.75767",
                            "compatible": 0
                          },
                          {
                            "mac": "**-**-**-**-**-**",
                            "name": "APazoUR",
                            "type": "ap",
                            "deviceSeriesType": 0,
                            "model": "EAP653 UR(EU) v1.0",
                            "modelName": "EAP653 UR",
                            "ip": "192.168.0.2",
                            "uptime": "4day(s) 6h 30m 41s",
                            "status": 1,
                            "detailStatus": 14,
                            "modelVersion": "1.0",
                            "lastSeen": 1768563146015,
                            "cpuUtil": 2,
                            "memUtil": 35,
                            "sn": "0000000000000",
                            "switchConsistent": true,
                            "publicIp": "192.168.0.2",
                            "firmwareVersion": "1.5.51 Build 20251207 Rel. 63194",
                            "compatible": 0
                          }
                        ]
            }
}

 

 

But the relevant information I am looking for, I am getting an error of wrong path:

 

{
  "timestamp": 1768563580547,
  "status": 400,
  "error": "Bad Request",
  "path": "/openapi/v1/**********/sites/***********/dashboard/allNetworkActivity"
}

 

I have no idea why or if I need to enable something to be able to see this.

 

Does anyone have any idea?

Thanks in advance

  0      
  0      
#1
Options
1 Accepted Solution
Re:Open API paths not found-Solution
4 hours ago - last edited 4 hours ago

and responding to myself: start & end timestamps were missing

Recommended Solution
  0  
  0  
#2
Options
1 Reply
Re:Open API paths not found-Solution
4 hours ago - last edited 4 hours ago

and responding to myself: start & end timestamps were missing

Recommended Solution
  0  
  0  
#2
Options