Hi,
I'm trying to get a list of registered applications through the Systems API, but it keeps returning an empty list. Below are the lines of code:
var appRef = new iwc.system.Reference("/application");
appRef.list().then(function(paths){
$("#appOutput").text(JSON.stringify(paths,null,2));
}).catch(function(err){
$("#appOutput").text("Error: " + err);
});
I've tried setting my ozpIwc.config apiRootUrl to "/app" as well "/iwc-app"; it doesn't work in either cases. I noticed in the debugger->general->endpoints, all the paths are empty, but I'm not sure why?
Also, how do I register an application?
Thanks.