Class StatusController


  • @RestController
    @RequestMapping(path="/rest",
                    produces={"application/xml","application/json"})
    public class StatusController
    extends BaseController
    API endpoint to get status of EHRbase and version information on used dependencies as archie or openEHR_sdk as well as the current used JVM version or target PostgreSQL server version.
    • Constructor Detail

      • StatusController

        @Autowired
        public StatusController​(StatusService statusService)
    • Method Detail

      • getEhrbaseStatus

        @GetMapping(path="/status")
        @ResponseStatus(OK)
        public org.springframework.http.ResponseEntity<org.ehrbase.response.openehr.StatusResponseData> getEhrbaseStatus​(@RequestHeader(value="Accept",required=false,defaultValue="application/json")
                                                                                                                         String accept)