document API

... and serve documehtaion on GET /