Shaping REST API responses with advanced query algebra.
Currently, REST APIs give us little control over the structure of data that is to be returned. We can fetch a list of items, for example articles, but we don't have control over embedding nested objects, such as comments, or filtering and ordering results by certain attributes. With standardized query logic passed via URL params, clients are able to shape results according to their needs.
The example query below would result in a list of articles ordered by creation date, whose title contains "REST" with embedded author objects:
This talk will give a proposal of a standardized query algebra, which various famous APIs already partially implement using differing syntaxes and feature subsets.
I'm software engineer living in Zagreb, Croatia, with several years of experience in software development and system administration.
I currently work at Bitovi on building data aggregation, REST API platform in Ruby. Other work is related on frontend development in CanJs.
Previous experience would include Linux administration, network stack, PostgreSQL, C, web development in Python/Django and parallel computing in MPI and OpenCL.
I'm passionate about functional programming and would consider myself as Haskell newbie.