Http api shards

We should get [`errcheck`](https://github.com/kisielk/errcheck) into the CI build.