docs: def get_collection(self, id_or_uri, filter=''):
          """
          Retrieves a collection of resources.
  
          Use this function when the 'start' and 'count' parameters are not allowed in the GET call.
          Otherwise, use get_all instead.
  
          Optional filtering criteria may be specified.
  
          Args:
              id_or_uri: Can be either the resource ID or the resource URI.
              filter (list or str): General filter/query string.
  
          Returns:
               Collection of the requested resource.
          """
          if filter:
              filter = self.__make_query_filter(filter)
              filter = "?" + filter[1:]
  
          uri = "{uri}{filter}".format(uri=self.build_uri(id_or_uri), filter=filter)
          logger.debug('Get resource collection (uri = %s)' % uri)
          response = self._connection.get(uri)
          return self.__get_members(response)