London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
I wrote an addon for 3.0 that does this. You've referenced 2.9, try upgrading to 3.0 if you can and give it a go: https://www.hiddenfoundry.com/thoughts/expand-content-area-addon-for-content-delivery-api/
Is it possible to configure the Content Delivery API so that nested block information is returned? The documentation regarding the subject is rather diffuse, but to my understanding this should be achievable by ovveriding the
Filter
method inContentApiModelFilter<ContentApiModel>
. So far I've managed to remove null-values from the response but I have no idea on how to expand nested blocks in the response.Basically, I want to expand the block information of
answerOptions
so that the API returns its properties: