Convert the existing API to the [grape framework](https://github.com/ruby-grape/grape); expand it so that it covers all available data types and a reasonable subset of use cases.