@RequestMapping( value = "/admin/properties", method = RequestMethod.GET, produces = "application/json;charset=UTF-8") public @ResponseBody Map<String, String> checkProperties() { return adminService.getPropsValues(); }
@RequestMapping( value = "/admin/video/check/check", method = RequestMethod.GET, produces = "application/json;charset=UTF-8") public @ResponseBody Map<String, Object> checkVideoCheckingState() { return adminService.checkVideoCheckingState(); }
@RequestMapping( value = "/admin/thumb/generate/check", method = RequestMethod.GET, produces = "application/json;charset=UTF-8") public @ResponseBody Map<String, Object> checkThumbGenerationState() { return adminService.checkThumbGenerationState(); }
@RequestMapping( value = "/admin/video/check", method = RequestMethod.GET, produces = "application/json;charset=UTF-8") @ResponseStatus(value = HttpStatus.NO_CONTENT) public void checkVideo(@RequestParam(required = false, defaultValue = "false") boolean report) { adminService.checkVideo(report); }
@RequestMapping( value = "/admin/video/generate", method = RequestMethod.GET, produces = "application/json;charset=UTF-8") @ResponseStatus(value = HttpStatus.NO_CONTENT) public void generateVideo() { adminService.generateVideo(); }