Class HiddenApplicationRest

java.lang.Object
io.meeds.social.hidden.rest.HiddenApplicationRest

@RestController @RequestMapping("/hidden-applications") public class HiddenApplicationRest extends Object
  • Constructor Details

    • HiddenApplicationRest

      public HiddenApplicationRest()
  • Method Details

    • getHiddenApplications

      @GetMapping(produces="application/json") @Secured("users") public org.springframework.http.ResponseEntity<List<io.meeds.social.hidden.model.HiddenApplication>> getHiddenApplications(jakarta.servlet.http.HttpServletRequest request, @RequestParam(name="lang",required=false) String lang)
    • hide

      @PutMapping("{type}/{name}") @Secured("users") public org.springframework.http.ResponseEntity<String> hide(jakarta.servlet.http.HttpServletRequest request, @PathVariable("type") String type, @PathVariable("name") String name)
    • show

      @DeleteMapping("{type}/{name}") @Secured("users") public org.springframework.http.ResponseEntity<Void> show(jakarta.servlet.http.HttpServletRequest request, @PathVariable("type") String type, @PathVariable("name") String name)