Class PluginsController
java.lang.Object
de.bytestore.hostinger.internal.api.space.PluginsController
@RestController
@Configuration
@RequestMapping("/internal/plugins")
public class PluginsController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionPluginsController(io.jmix.core.DataManager dataManager, io.jmix.core.FileStorage fileStorage, org.springframework.beans.factory.ObjectProvider<io.jmix.flowui.download.Downloader> downloaderProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidpluginDownload(UUID version, jakarta.servlet.http.HttpServletResponse responseIO) Retrieves a list of plugins and their versions from the database.versionChangelog(UUID version)
-
Constructor Details
-
PluginsController
public PluginsController(io.jmix.core.DataManager dataManager, io.jmix.core.FileStorage fileStorage, org.springframework.beans.factory.ObjectProvider<io.jmix.flowui.download.Downloader> downloaderProvider)
-
-
Method Details
-
pluginsList
Retrieves a list of plugins and their versions from the database.- Returns:
- A JSON string representing the list of plugins and their versions.
-
pluginDownload
@GetMapping("/version/{version}/download") public void pluginDownload(@PathVariable UUID version, jakarta.servlet.http.HttpServletResponse responseIO) -
versionChangelog
-