code: def path(self, which=None):
          
          if which in ('logs', 'power'):
              return '{0}/{1}'.format(
                  super(AbstractDockerContainer, self).path(which='self'),
                  which
              )
          return super(AbstractDockerContainer, self).path(which)
docs: Extend ``nailgun.entity_mixins.Entity.path``.
  
          The format of the returned path depends on the value of ``which``:
  
          logs
              /containers/<id>/logs
          power
              /containers/<id>/power
  
          ``super`` is called otherwise.