Custom app now has api and a servlet showing how to use the plugin api