Example of an API on grails