rest api template for glow