Get Addons End point

I faced this situation while working with SysAdmin-OWA. I used some another type of proposal to achieve this tasks.

  1. In the search page, Just displayed the module name, description details with “view” button
    Addon API : https://addons.openmrs.org/api/v1//addon?&q=searchValue
  2. If the user clicks the view button, then it will redirect to a new page which will contain the download button for the modules.
    Addon API : https://addons.openmrs.org/api/v1/addon/[moduleUuid]

You can refer this code for more info : openmrs-owa-sysadmin/app/js/moduleSearch at master · suthagar23/openmrs-owa-sysadmin · GitHub