restful interface (Gzip json)