First definition of the rest-api