Get `ratings` for a type without making a separate API call

When fetching details for a type using https://api.music.apple.com/v1/catalog/{storefront}/{type}/{id} or any other API, like search https://api.music.apple.com/v1/catalog/{storefront}/search how to extend the results so that they include the rating object?

I know this is possible as I've seen it before, but I currently don't remember how.

It probably involves using the extend parameter or some similar parameter.