code: def job_attempts(self, job_id):
          
          path = '/ws/v1/history/mapreduce/jobs/{jobid}/jobattempts'.format(
              jobid=job_id)
  
          return self.request(path)
docs: With the job attempts API, you can obtain a collection of resources
          that represent a job attempt.