Hi
I have a SharePoint hosted app, that displays the current available webtemplates to the user. When the host web is setup to allow all webtemplates, there is no problem. When I restrict the webtemplates to only a few I am getting an empty result from the method. I am using the method "getAvailableWebTemplates" on the SPWeb object. It is also possible to test it with appending "/_api/web/getavailablewebtemplates(1033)" to the url of the current site
I have tested it with both publishing web and team sites and the same thing happens both places.