@PostMapping(path = "/resource", produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Fetch authorizable resource matching the given authorization request in the body",
        parameters = @Parameter(name = "request", required = true, description = "Authorization request in the body"))
    public ResponseEntity<AuthorizableResource> fetchResource(@RequestBody final AuthorizationRequest request) {
        return ResponseEntity.of(authorizableResourceRepository.find(request));
    }
Fetch resources matching this request.

@param request the request
@return the response entity
support/cas-server-support-heimdall/src/main/java/org/apereo/cas/heimdall/HeimdallAuthorizationEndpoint.java