Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Categories APIs
Created by Guest
Created on Nov 21, 2023

Need help with Content Delivery API v3 to get latest version of the page and it's child component in one call.

Hi Team,


I am working on headless CMS structure where Front End is driven by nextJS, facing some issue while rendering the preview for Page and it's child component.

Here is the case where I am facing the issue.

When I am calling below API

https://mydomain.com/api/episerver/v3.0/content/{content Id}?epieditmode=true&expand=*

Current status of the Page

Page A : CheckedOut

---- Block 1 : Published

---- Block 2 : ChekedOut

.......

Currently I am getting the response in below format

Page A : CheckedOut

---- Block 1 : Published

---- Block 2 : Published

.......

Expected Result :

Page A : CheckedOut

---- Block 1 : Published

---- Block 2 : ChekedOut

.......


I need the expected result output, I can't send the multiple call to get the latest version of child component as it is not recommend to send multiple recursive calls to get the data for multiple blocks.

If we get the latest version for the child component similar to the page as explain above, it will be good and also helpful in terms of page performance.


Thanks,

Chandrakant H