I am engaged on a web site that calls one other exterior internet service. I wish to acquire these information someplace on the D8 web site. then based mostly on them I am going to present some REST endpoints for the FE layer.
one resolution can create a customized entity or customized content material sort and on cron run get information from the exterior internet service and retailer them into the customized entity and customized content material sort then they are going to be listed and can be out there on the search_api to put in writing a REST endpoint on them however the issue is that construction of the information is difficult and I do not wish to have interaction drupal entity within the undertaking.
my query is how can I create a customized search API index programmatically with out having content material sort or customized entity?