HPE Morpheus Enterprise
1832872 Members
2870 Online
110048 Solutions
New Discussion

Get REST Type Option List Values?

 
SOLVED
Go to solution
Not applicable

Get REST Type Option List Values?

Through the CLI, I can use the --items parameter to get the items in a REST type option list. Is there a way to do that through the API? When running --json, I do not see the values present.

Thanks!

2 REPLIES 2
Not applicable
Solution

Re: Get REST Type Option List Values?

The API for that is here: List Items for a Specific Option List

The CLI command morpheus library-option-lists list-items corresponds to this endpoint.
Also, you can use the --debug switch to see all the API requests that the CLI executes, in case you’re curious where the data is coming from.

Not applicable

Re: Get REST Type Option List Values?

That’s exactly what I needed, thank you!