code: def list_project(self, offset=0, size=100):
          
  
          # need to use extended method to get more
          if int(size) == -1 or int(size) > MAX_LIST_PAGING_SIZE:
              return list_more(self.list_project, int(offset), int(size), MAX_LIST_PAGING_SIZE)
  
          headers = {}
          params = {}
          resource = "/"
          params['offset'] = str(offset)
          params['size'] = str(size)
          (resp, header) = self._send("GET", None, None, resource, params, headers)
          return ListProjectResponse(resp, header)
docs: list the project
          Unsuccessful opertaion will cause an LogException.
  
          :type offset: int
          :param offset: the offset of all the matched names
  
          :type size: int
          :param size: the max return names count, -1 means return all data
  
          :return: ListProjectResponse
  
          :raise: LogException