Umbraco 13 - Use Examine Search for publish content Document type and expose the published data as an Json output

Umbraco 13 - How can I use Examine Search for publish content Document type and expose the published data as an Json output, using UmbracoApiController, as we do not have presentation layer and we need to expose publish data as a API Json output for other apps.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114605-umbraco-13-use-examine-search-for-publish-content-document-type-and-expose-the-published-data-as-an-json-output