Developer Community

Reply
Highlighted
New Contributor

Aruba Central api call

Hi,

 

I am trying to find the right api call for device details. Where i can find the divice name ect..

 

I have been digging arround in the swagger tool: https://app1-apigw.central.arubanetworks.com/swagger/ but i cant find any call that returns good values. msp_api/v1/customers/customerID/divices return my devices but i want some indepth details for a device.

 

Thanks

Michael

 

 

Occasional Contributor I

Re: Aruba Central api call

Hi Michael,

I would like you to elaborate your use case a little more for my better understanding. However, I am sharing a few API endpoints that will give you some granular device details. 

 

  • API for getting AP details
    /monitoring/v1/aps
  • API for getting Controller/Gateway details
    /monitoring/v1/mobility_controllers
  • API for getting Switch details
    /monitoring/v1/switches

You can use the GET method with the above mentioned API endpoints to obtain the respective device details. Do check them out and let me know if it works for you.

 

Regards,

Jay

New Contributor

Re: Aruba Central api call

Hi Jay,

 

Thanks for your awnser. so i went to the swagger page. Entered my newly generated access code and executed:

 

monitoring/v1/aps

The responce body is  { "aps": [], "count": 0 } with responce code 200.

 

monitoring/v1/switches

The responce body is  { "count": 0, "switches": [] } with responce code 200.

 

monitoring/v1/mobility_controllers

The responce body is  { "count": 0, "mcs": [] } with responce code 200.

 

Do you have any idea what i am doing wrong ?

 

Michael

 

 

Occasional Contributor I

Re: Aruba Central api call

If you are using an MSP account please perform the steps mentioned below:

 

-  From MSP mode go to  the Monitoring and Reports app

-  Search for the customer you want the information for

-  Click on the customer to get into tenant view

-  Once you are in the tenant view, go to the Maintainence app

- Click on api gateway and create a new token 

- Go to the swagger page

- Test the API mentioned above with the newly created access token 

 

Let me know if this worked for you.

 

-Jay

New Contributor

Re: Aruba Central api call

Thank you very much, that was it!

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: