Update RestApi.java