Get input_select "options" from REST

Hello,

I need to populate input_select component options from REST, but I couldn’t find how.
Is there any way to do it?

The data looks like this:

{
“workModes”: [“one”, “two”, “…”]
}

Any ideas from somebody?