docs: def get_rest_api():
      """
      Get the root URL for the IBM Streams REST API.
      """
      assert _has_local_install
  
      url=[]
      ok = _run_st(['geturl', '--api'], lines=url)
      if not ok:
          raise ChildProcessError('streamtool geturl')
      return url[0]