Omada V2 API

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
12

Omada V2 API

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
12 Reply
Re:Omada V2 API
2021-08-24 00:59:54

Dear @DougH,

 

DougH wrote

any update on complete API documentation?

 

As I know, the complete API is planned to be standardized and updated after the Omada Controller v5.1.

 

I'll update this post once the complete API is available.

Best Regards!
  0  
  0  
#12
Options
Re:Omada V2 API
2021-09-14 11:15:06 - last edited 2021-09-14 11:16:19

Is nice that Omada is using an JSON REST API.

 

The current provided documentation is of useless as there is no information on the payload.

 

For now, I am just doing reverse engineering.

 

Use the controller from the web browser with devtools enabled. Watch the network requests while doing an action and check what payload is sent by the JS code.

 

For example the PATCH payoad for setting the fixed IP address and upload and download limits is

 

PATCH  /api/v2/sites/Default/clients/CLIENT-MAC-ADDRESS

 

{"name":"CLIENT-NAME","rateLimit":{"downEnable":true,"downLimit":10,"downUnit":1,"upEnable":true,"upLimit":10,"upUnit":1},"ipSetting":{"useFixedAddr":true,"netId":"612160610a3a7500017503b2","ip":"192.168.2.20"}}

 

I hope it helps. Happy hacking

  0  
  0  
#13
Options