
A Strapi plugin that makes it easier to populate deep content structures
The Strapi plugin populate-deep is designed to make it easier to populate deep content structures using the rest API. It provides a simple and efficient way to retrieve nested data and populate it within a single request.
Here are some examples of how to use the Strapi plugin populate-deep:
/api/articles?populate=deep
/api/articles?populate=deep,10
/api/articles/1?populate=deep,10
The default depth can be customized via the plugin configuration. To customize the default depth, create or edit the plugins.js file. Here is an example configuration:
// config/plugins.js
module.exports = {
populateDeep: {
defaultDepth: 7
}
};
The Strapi plugin populate-deep simplifies the process of populating deep content structures using the rest API. With its customizable depth options and default max depth, users can efficiently retrieve nested data without creating overly complex queries. This plugin is a useful addition for developers working with Strapi and dealing with deep content structures.
