Empty morphMany relations return [] instead of null when populated
In Strapi 5, populating an empty morphMany relation or multiple media field returns an empty array instead of null.
In Strapi 5, populating an empty morphMany relation or multiple media field returns an empty array instead of null.
Learn how to populate creator fields such as createdBy and updatedBy by creating a custom controller that leverages the populate parameter.
Use API parameters to refine your Strapi REST API queries.
Use Strapi's REST API to populate or select certain fields.
Learn what populating means and how you can use the populate parameter in your REST API queries to add additional fields to your responses.
Use Strapi's Document Service API to populate or select some fields.