DataStax Developer Blog

OpsCenter API Docs Now Available

By Mike Bulman -  May 16, 2012 | 0 Comments

DataStax OpsCenter is architected to expose RESTful API, which is used by the web based UI to perform all of its actions. We’ve just made full documentation for the API available on our site.

The example below shows how to retrieve storage capacity information for your cluster. OpsCenter handles only examining disks used by Cassandra.

curl http://127.0.0.1:8888/Test_Cluster/storage-capacity

{"free_gb": 627, "used_gb": 70, "reporting_nodes": 3}

For now we’ll be operating under a sort of gentleman’s agreement when it comes to breaking backwards compatibility — we’ll try not to, but will be sure to document any changes that can’t be helped.

We look forward to hearing from you about how you’re using the API and how you think we can improve it.



Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>