API State Return Value List/Definitions

I am setting up a custom monitoring solution by getting the state of Clusters, Projects, Nodes, etc, using the API. I need a list of all possible return values for the state in the API. Does anyone have a compiled list?

They are a string instead of an enum so there is no explicit list of possible values; but the UI has a list that covers all the normal values (not per-type though): https://github.com/rancher/ui/blob/abc39cda274070297bb4bbbd0edd098516006e2c/lib/shared/addon/mixins/cattle-transitioning-resource.js#L26-L235

Thank you! :smiley: I was able to take those values and incorporate them into my monitoring.