Suppose I have 3 plain text blocks and 3 images all attached to the same content model. How do I deliver each at the time with out mapping.
For example: I want to deliver one text block and an image at a given page of my choice but both independent of the other.
Thanks in advance
If I don’t understand wrong; You might have a few options…
- You can change your content model → {text, image} and multiple your entry…
- You need to filter them on the request… If you can’t change your model, I recommend that. Otherwise you would be getting all the images in the response body.
- You can think creating a content model for the page, and use whatever you’d like. You don’t have to use a generic content model for each item… but this is very high-level architectural decision.
Thanks,I will try to implement each of the options provided to establish that may suit my needs.