Class StatusController

java.lang.Object
org.ehrbase.rest.BaseController
org.ehrbase.rest.StatusController

@ConditionalOnMissingBean(name="primarystatuscontroller") @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 Details

    • StatusController

      @Autowired public StatusController(StatusService statusService)
  • Method Details

    • getEhrbaseStatus

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