Flask REST-ish API boilerplate.