introduce /api/ in webui