code: def get_aggregated(self, attribute, category, child_limit=6, filter='', query='', user_query=''):
          
          uri = self.URI + '/aggregated?'
  
          # Add attribute to query
          uri += self.__list_or_str_to_query(attribute, 'attribute')
          uri += self.__list_or_str_to_query(category, 'category')
          uri += self.__list_or_str_to_query(child_limit, 'childLimit')
          uri += self.__list_or_str_to_query(filter, 'filter')
          uri += self.__list_or_str_to_query(query, 'query')
          uri += self.__list_or_str_to_query(user_query, 'userQuery')
  
          uri = uri.replace('?&', '?')
  
          return self._client.get(uri)
docs: Gets a list of index resources based on optional sorting and filtering and is constrained by start
          and count parameters.
  
          Args:
              attribute (list or str):
                  Attribute to pass in as query filter.
              category (str):
                  Category of resources. Multiple Category parameters are applied with an OR condition.
              child_limit (int):
                  Number of resources to be retrieved. Default=6.
              filter (list or str):
                  A general filter/query string to narrow the list of items returned. The
                  default is no filter; all resources are returned.
              query (str):
                  A general query string to narrow the list of resources returned.
                  The default is no query - all resources are returned.
              user_query (str):
                  Free text Query string to search the resources.
                  This will match the string in any field that is indexed.
  
          Returns:
              list: An aggregated list of index resources.