Class QueryController

java.lang.Object
org.ehrbase.rest.ehrscape.controller.BaseController
org.ehrbase.rest.ehrscape.controller.QueryController

@ConditionalOnMissingBean(name="primaryquerycontroller") @RestController @RequestMapping(path="/rest/ecis/v1/query", produces={"application/json","application/xml"}) public class QueryController extends BaseController
  • Constructor Details

    • QueryController

      @Autowired public QueryController(QueryService queryService)
  • Method Details

    • query

      @PostMapping public org.springframework.http.ResponseEntity<QueryResponseData> query(@RequestParam(value="explain",defaultValue="false") Boolean explain, @RequestBody String content)