I’m in the process of working on a workspace which interacts a lot with an Open API. The api has endpoints like “HOST/api/projects/list” or “HOST/api/{projectId}/apps/list”.
As I have no idea what projects are available so I have to have an end user type in the project(s) they’re interested in as a text input and i can’t use the choice option. It works fine, however, for the user the experience is a little annoying because they have to copy/paste or type in the value which is just not ideal when in theory it could be coded in.
Assuming that a web connection was already defined for the service it would be really nice to be able to have a user Parameter which is able to perform the query and populate the list for users to choose. Even if it needed to be scripted with python or something else that would be ok.
When the end user clicks on the “Select Project(s)” button a query is run to list the projects and render them for the user to choose.
Taking it a step further another parameter could be built/scripted based on the value of that result. For example another “Select App” could made a query dependant on the Project Value.
It’s probably just a rewrite of other ideas out there but with what feels like Open APIs everywhere now it seems like something which could be worth doing