Class PluginController
java.lang.Object
org.craftercms.studio.controller.web.v1.PluginController
Controller that provides the UI with plugin related files
- Since:
- 4.0
- Author:
- joseross
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
configurationService
The configuration service
-
-
Constructor Details
-
PluginController
@ConstructorProperties("configurationService") public PluginController(ConfigurationService configurationService)
-
-
Method Details
-
getPluginFile
@Valid @GetMapping("/file") public @Valid org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> getPluginFile(@RequestParam String siteId, @RequestParam String type, @RequestParam String name, @RequestParam(required=false) String filename, String pluginId) throws ContentNotFoundException Returns a single file for a given plugin- Throws:
ContentNotFoundException
-