The task is to create a backend endpoint that, given a URL containing IDs of ingredients/brands/providers, retrieves the full details of those objects.
This is necessary because when someone shares an url to our search page, it only contains the IDs of the ingredients/brands/providers. To properly display the full page on frontend, the names are also required. Hence, an endpoint is needed to return the full details based on the provided IDs.
The task is to create a backend endpoint that, given a URL containing IDs of ingredients/brands/providers, retrieves the full details of those objects.
This is necessary because when someone shares an url to our search page, it only contains the IDs of the ingredients/brands/providers. To properly display the full page on frontend, the names are also required. Hence, an endpoint is needed to return the full details based on the provided IDs.