code: def create_job(self, phases, name=None, input=None):
          
          log.debug('CreateJob')
          path = '/%s/jobs' % self.account
          body = {"phases": phases}
          if name:
              body["name"] = name
          if input:
              body["input"] = input
          headers = {"Content-Type": "application/json"}
          res, content = self._request(path,
                                       "POST",
                                       body=json.dumps(body),
                                       headers=headers)
          if res["status"] != '201':
              raise errors.MantaAPIError(res, content)
          location = res["location"]
          assert res["location"]
          job_id = res["location"].rsplit('/', 1)[-1]
          return job_id
docs: CreateJob
          https://apidocs.joyent.com/manta/api.html#CreateJob