I had implemented Content Delivery API which seems to be working fine in local environment. After I push it to DXC and had ensured that I gave read access to contentapiread to root and to all sub pages (Apply settings for all subitems).
When I hit the API I get the response but it has only the base ContentAPI model response. It doesn't have any of the properties of the page. Below is the sample.
Hi Dileep, I'm assuming you are making a call to the content delivery API with url something like this: /api/episerver/v2.0/content/5?
By the looks of the response, you have fetched content by id 5 and that is a system folder for Episerver Forms in that environment. What is it you are trying to fetch from the API?
You have to note that content IDs are not the same in all environments. So if you for example want the site start page, look what is the id of the start page (site start page) in Episerver edit mode (hover your cursor over the start page to see the id of the page) or from Admin view (site configuration, what is configured as the site start page) - and then use that id in your call.