Search operations using Search rest endpoint
//Description : Get the list of sites for the current user using the search API. Any community site is excluded from the list. //DONE : List url that the user has access to
Create a page > Add content editor webpart > In the content editor webpart properties set https://sp:81/sites/o8/style library/htmlContent.html value > save the Page
Upload the two files shared here (HTML and JS) inside the style library
It shows the list of sites you have access to
Tested on SharePoint SP1 CU January 2017
Pnp SP Addin : https://github.com/OfficeDev/SharePoint-Add-in-REST-SearchAPIs/search?utf8=%E2%9C%93&q=executeQuery&type=
Jeff ANGAMA - June 2017 https://jeffangama.wordpress.com/