updated text rest services, added function get_text_info