API

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

Where can we find Status Values in API V2

Highlighted
Trailblazer

Where can we find Status Values in API V2

How do we find all possible status values in the API?

We are building an API based app that tracks component status. Is there a way for us to find this data on our own?

When we drill down into the docs we just see items like 'state (string, optional),'

 

For example:

v2/clusters:entities/[*]/operation_mode (What are possible values and meaning of those values?)

v2/clusters:entities/[*]/health_status (same question)

 

This is just a small sample of the data we're looking for. How can we find a more detailed description of these?

2 REPLIES
Nutanix Employee

Re: Where can we find Status Values in API V2

 

Did you try http://developer.nutanix.com/reference/v2/ ?

 

That has a little more of an explanation. Let us know  if what you need isn't covered there.

 

thanks

Trailblazer

Re: Where can we find Status Values in API V2

The Status values and meanings are not listed.

 

If those values are defined in souce code please direct us there. Our other option is to systematically break our cluster to see the effects, but that is not a good option as we only have a single-host cluster.

 

Thank you,