Wrapper around tDoc REST-ful APIs