rest template draft