code: def path(self, which=None):
          
          if which in ('bulk_resume', 'bulk_search', 'summary'):
              return '{0}/{1}'.format(
                  super(ForemanTask, self).path('base'),
                  which
              )
          return super(ForemanTask, self).path(which)
docs: Extend ``nailgun.entity_mixins.Entity.path``.
  
          The format of the returned path depends on the value of ``which``:
  
          bulk_resume
              /foreman_tasks/api/tasks/bulk_resume
          bulk_search
              /foreman_tasks/api/tasks/bulk_search
          summary
              /foreman_tasks/api/tasks/summary
  
          Otherwise, call ``super``.