Designing a RESTful API to interact with a simple data source