@ApiOperation( value = "Retrieve all installed Vim Drivers", notes = "Returns the names of all the Vim Drivers currently installed") @RequestMapping(method = RequestMethod.GET) public @ResponseBody Set<String> getListVimDrivers() throws IOException { return pluginManager.listInstalledVimDrivers(); } }
@ApiOperation( value = "Download a plugin from the Open Baton Marketplace", notes = "The Plugin can be downloaded by specifying the type, name and version in the URL") @RequestMapping(value = "{type}/{name}/{version:.+}", method = RequestMethod.GET) @ResponseStatus(HttpStatus.OK) public void downloadPlugin( @PathVariable String type, @PathVariable String name, @PathVariable String version) throws IOException, AlreadyExistingException { pluginManager.downloadPlugin(type, name, version); }