CAS-1360: Implementation of the REST API with Spring @RestController