Hi,
We have a complex website where entries for different content types can be created under any URL prefix.
We’d like to know if it’s possible to get an entry via Delivery API / SDK based only in the URL. This is because, when a page is requested to the app, the frontend has no way to know which content type that entry belongs to, just its URL.
We’ve seen examples, like in the starter app, where you know beforehand that any entry under /blogs url prefix will be of a known content type. Well, this is not our case, we can have a sitemap similar to this:
Where /abc and /def can be entries based on any of our page content types.
We checked the API documentation, but every endpoint returning entries requires the ‘content_type’ parameter.
Thanks!
Best answer by Sachin
View original