AI OnAI Off
Personally I always have a design practice in place to only ever allow 2 levels at max. A block in page and block in that block when really needed but reducing the number of blocks is key.
However you can configure the number of expanded levels with the package documented here https://www.hiddenfoundry.com/thoughts/expand-content-area-addon-for-content-delivery-api/
services.ConfigureRecursiveContentAreaContentApiOptions(o =>
o.MaxExpandContentAreaLevels = 4;
});
We have a page strucutre with 3-4 levels of nested blocks inside of Content Areas.
Simplified example :
The problem is that Content Delivery Api with expand=* will expand only Level1 property,
but Level2 property will not be expanded and will contain a list of content links to contained Level2 blocks.
Is there any solution or at least a reason of what is going on?