An example RESTful JSON API