Omada V2 API

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

Omada V2 API

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
50 Reply
Re:Omada V2 API
2022-07-12 21:43:04 - last edited 2022-12-29 08:36:07

  @sic Yes, I found that you need to store cookies and add the Csrf-Token token to subsequent requests as you can see from my curl example above.

  0  
  0  
#43
Options
Re:Omada V2 API
2022-08-27 19:46:11 - last edited 2022-12-29 08:36:07

Moving on to ask if there has been any progress on the API documentation (I say for something decent).
I have the documents for api v4.1.5 and for v5.0.15, and comparing them I saw an improvement in the description of the endpoints, but:
- No more information about login endpoints;
- No information on how to handle the login token or other information received to make subsequent requests.

I saw in previous posts that some colleagues have already posted how to solve the login problem, but I keep thinking: do they really not care about this?

  0  
  0  
#44
Options
Re:Omada V2 API
2022-10-13 14:20:44 - last edited 2022-12-29 08:36:07

I hope someone will create a sample PHP implementation of this SDK.

  1  
  1  
#45
Options
Re:Omada V2 API
2022-12-10 21:59:11 - last edited 2022-12-29 08:36:07

 Does anyone know if this API will allow you to control a PoE port? I am looking to turn off APs and a few other PoE devices, and I'd rather not do it with PoE injectors. I know this is possible to do with UniFi. I looked through the API documentation and it does not show anything about port cycling that I saw. 

 

Thanks!

  0  
  0  
#46
Options
Re:Omada V2 API
2022-12-11 01:11:47 - last edited 2022-12-29 08:36:07

  @rnance 

 

Anything that can be done through the WebUI should ultimately be possible through the API.

 

The WebUI is really just an interface to the API, anyhow.

 

The problem with the API is that there is no up-to-date documentation and it doesn't look like that is a top priority for the company. So, it's mostly guesswork and capturing the requests from a browser to determine the proper calls.

 

  1  
  1  
#47
Options
Re:Omada V2 API
2022-12-11 19:34:05 - last edited 2022-12-29 08:36:07

  @OneFix 

Ah, I see. Has anyone been able to get a working python script that communicated with version 5 of the omada controller? API v2? I have seen one that works for the previous generations but not for this one. 

  0  
  0  
#48
Options
Re:Omada V2 API
2023-01-26 04:30:55

  @Fae 

 

Hi Fae,

 

Just wanted to find out if you already have a decent API documentation for version 5.7/5.8?  It has been a while since 5.1 was released.  Or anything above 5.0.15?

 

Thanks.

 

 

Or if anyone here has found one on the net, appreciate the link.

 

Thanks.

  1  
  1  
#49
Options
Re:Omada V2 API
2023-01-30 03:15:46 - last edited 2023-12-12 08:48:34

Dear @GSSI,

 

Please check this post for the current available API document.

I'll try and get the latest API documentation and update in that post, welcome to subscribe!

>> Omada EAP Firmware Trial Available Here << *Try filtering posts on each forum by Label of [Early Access]*
  1  
  1  
#50
Options
Omada V2 API
2023-02-06 09:51:53

I have a quick question.
Does this API work on Internet Cloud or LAN only?
What is the login address if it works on the Internet?

 

 

  0  
  0  
#51
Options
Re:Omada V2 API-Solution
2023-12-12 08:48:22 - last edited 2023-12-12 08:48:37

Hi all,

 

I would like to provide updated information related to the Omada API here.

 

  1. About Omada API Documentation


Currently, Omada API can be classified into Web API and Open API, whose documentations are different.

 

  • The attachment is the latest Omada Web API documentation, which is mainly applicable to Omada SDN Controller v5.9.

    Notes:

    1)  Web API may change with Omada Controller version iterations. The attached Web API documentation shall only be used as

         a reference to other Omada SDN Controller versions.

    2)  For API samples, please refer to API and Code Sample for External Portal Server (Omada Controller 5.0.15 or above)

 

    Notes:

    1)  All Omada Pro versions support Open API.

    2)  Omada Software/Hardware Controller support Open API since Controller v5.12.

    3)  Omada Cloud-Based Controller (CBC) does NOT support Open API yet (as of December 12, 2023).

 

  1. About Omada API Version

 

The “v2” mentioned in the API request example “${OMADA_URL}/${CONTROLLER_ID}/api/v2/users/…” is actually the version of the Omada Web API. Please note that Omada Open API currently only has the V1 version.

 

File:
Omada_SDN_Controller_V5.9.9 API Document.html.zipDownload
>> Omada EAP Firmware Trial Available Here << *Try filtering posts on each forum by Label of [Early Access]*
Recommended Solution
  4  
  4  
#52
Options