Add webapi for gisting