An API written in Java spring