code: def list_jobs(self, state=None, limit=None, marker=None):
          
          log.debug('ListJobs')
  
          path = "/%s/jobs" % self.account
          query = {}
          if state:
              query["state"] = state
          if limit:
              query["limit"] = limit
          if marker:
              query["marker"] = marker
  
          res, content = self._request(path, "GET", query=query)
          if res["status"] != "200":
              raise errors.MantaAPIError(res, content)
          lines = content.splitlines(False)
          jobs = []
          for line in lines:
              if not line.strip():
                  continue
              try:
                  jobs.append(json.loads(line))
              except ValueError:
                  raise errors.MantaError('invalid job entry: %r' % line)
          return jobs
docs: ListJobs
          https://apidocs.joyent.com/manta/api.html#ListJobs
  
          Limitation: at this time `list_jobs` doesn't support paging through
          more than the default response num results. (TODO)
  
          @param state {str} Only return jobs in the given state, e.g.
              "running", "done", etc.
          @param limit TODO
          @param marker TODO
          @returns jobs {list}