Contentful logo

Contentful Community

UI and API return different parents

This is the case:

  • there is an entry
  • this entry has a parent that is in the state ‘archived’

the UI shows the link to the parent in the sidebar
the API returns an empty array when using the links_to_entry param

Is it intentional?

Hi @malgorzata.s ,

This is happening because our Web App is based on CMA (Management API), meanwhile, I believe the API you refer to are CDA (Delivery API), that only returns Published entries (not Archived or Draft). To achieve the same result of the Web App, you would need to use CMA.