code: def list_logdir(self, id, filter=None, sort=None):
          schema = LogDirFileSchema()
          resp = self.service.list(self.base+str(id)+'/logdir/', filter, sort)
          return self.service.decode(schema, resp, many=True)