Class RestApiIndex

java.lang.Object
com.evolveum.midpoint.rest.impl.AbstractRestController
com.evolveum.midpoint.rest.impl.RestApiIndex

@RestController @RequestMapping({"/ws","/rest","/api"}) public class RestApiIndex extends AbstractRestController
Support for simple index page with REST API endpoints (HTML and JSON).
  • Constructor Details

    • RestApiIndex

      public RestApiIndex(@Qualifier("requestMappingHandlerMapping") org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping handlerMapping, jakarta.servlet.ServletContext servletContext)
  • Method Details

    • index

      @GetMapping(produces="application/json") public List<RestApiIndex.OperationJson> index(jakarta.servlet.http.HttpServletRequest request)
    • indexHtml

      @GetMapping(produces={"text/html","text/plain","*/*"}) public String indexHtml(jakarta.servlet.http.HttpServletRequest request)
    • notFoundFallback

      @RequestMapping("/**") public void notFoundFallback()
    • config

      @GetMapping("/config") public Map<?,?> config()