top of page

Aria Operations CASA API

  • Writer: Brock Peterson
    Brock Peterson
  • Oct 27, 2024
  • 1 min read

Updated: Oct 23

The Aria Operations REST API surface found at /suite-api gets most of the attention, but there is another one available at /casa/api-guide.html. This is the Cluster and Slice Administration API, and while not Swagger based, it's fairly detailed. It provides a surface for API endpoints associated with the Operations Cluster itself, Status, Nodes, Management, and more. Let's explore.


First, we'll authenticate using Basic Auth:


ree

We can use that accessToken in all subsequent calls, to get things like Cluster status, service health, add Nodes to the Cluster, and more. Capturing Cluster Status looks like this.


ree

This doesn't give me exactly what I want though, I'd like to know if the Operations Cluster is Online/Offline, as shown in the Admin UI. There is an undocumented API endpoints for this: /casa/view/cluster.


ree

There is another endpoint at /casa/sysadmin/cluster/online_state which gives Cluster State as well, running GET /casa/sysadmin/cluster/online_state is undocumented.


ree

Which makes sense as my Operations Cluster is in fact Online, as shown here from the Admin UI.


ree

Let's take the Cluster Offline via the CASA API and the Body listed below along with a POST /casa/sysadmin/cluster/online_state


ree

One executed, here's the Cluster Status in the Admin UI.


Checking the Cluster State shows it as Offline.


ree

Let's bring it back Online.


ree

And here it is!



A bunch more we can do with the Operations CASA API, explore it!


2 Comments


Austin Browder
Austin Browder
Jun 05

FYI, I had to append .html to the suburl provided at the start of this blog post. Ex: https://<ops_fqdn>/casa/api-guide.html

Like
Brock Peterson
Brock Peterson
Jul 14
Replying to

Thanks for the heads-up, adjusted.

Like
    bottom of page