Getting started with REST API in Aruba Central involves
- Adding an application in API Gateway to get access to REST APIs from your application.
- Web UI and OAUTH based access token generation mechanism to authorize and authenticate your application for REST API services.
- Refreshing expired access tokens via an API request without having to follow OAUTH process from the start.
- Making API calls with access token
All the APIs are categorized into different sets based on the purpose they serve.
Aruba Central supports the following categories of APIs for the managed devices.
Gets network, client, and event details. It also allows you to manage labels and switches.
Allows you to configure and retrieve the following:
Gets Top N AppRF statistics.
Gets visitor and session details of the portal.
Gets device details and device statistics.
It allows you to configure the Presence Analytics application. It also retrieves site and loyalty
Gets a list of troubleshooting commands for a specific type of device.
Gets notification alerts generated for events pertaining to device provisioning, configuration,
Allows you to the following:
It allows you to get data for all the labels and sites.
Allows you to retrieve information on floor plans, location of APs, clients and rogue devices.
For a complete list of API endpoints offered by Aruba Central, visit the API Reference page.
The term API endpoint referred throughout this document, in a nutshell, means an URL that allows an user to gain access to resources offered by the Aruba Central.
HTTP defines a set of request methods to indicate a desired action to be performed for a given API endpoint object. In Aruba Central, some API endpoints offer all of the following methods and some support only few of them. The purpose of each method is as described in the table below.
HTTP Request Methods
Retrieves target resource
Causes change in state, creates an entity
Applies partial modification to a target resource
Replaces the target resource with data in the HTTP Request payload
Deletes a resource
HTTP requests returns a status code that indicates whether an API call is success or not. In Aruba Central, API call responses contains standard HTTP status codes. To know about an API call's response status codes and its description, refer the "Response" dropdown text box for an API endpoint in API Reference Page.
For more detailed information, follow the API section in Aruba Central Help
Updated about 2 years ago