docs: def get_jobs(deployment_name,
               token_manager=None,
               app_url=defaults.APP_URL):
      """
      return list of currently running jobs
  
      """
      headers = token_manager.get_access_token_headers()
      data_urls = get_data_urls(deployment_name,
                                app_url=app_url,
                                token_manager=token_manager)
  
      jobs = []
  
      for data_url in data_urls:
          url = '%s/api/v1/jobs' % data_url
          response = requests.get(url, headers=headers)
  
          if response.status_code == 200:
              # saving the data_url for the specific job so you know where to
              # connect if you want to interact with that job
              these_jobs = response.json()['jobs']
  
              for job in these_jobs:
                  job['data_url'] = data_url
  
              jobs += these_jobs
          else:
              raise JutException('Error %s: %s' % (response.status_code, response.text))
  
      return jobs