Advanced project example
This project mainly uses workflow data to build widgets and send OSC messages — all based on a REST API request.
Please find the project within Grid Studio under the template projects.
„Special thanks to https://restful-api.dev/ for their free REST API testing server, available 24/7.

Description
The provided example project reads data from a REST API and stores it.
This data includes device names as well as other information, such as device colors.
A dropdown is generated from the available device names.
When the dropdown selection is changed, the corresponding color information (if available) is loaded and sent out via OSC.
On executing generic event
Send a GET request to the endpoint.
Save the result into the object entities.
Create another entity parameter where the dropdown can save the latest selection.
Write information into the widget label indicating that the API has been updated.
On change of the dropdown
Find the matching color value based on this selection
If the color exists: • Update the widget with the color information • Send an OSC message with this color information
If the color does not exist: • Update the widget to an empty state • Do not send an OSC message
Last updated