def METHOD_NAME(self, **kwargs):
    """
    MSPileup get API fetches the data from underlying database layer
    :param **kwargs: provide key=value (or spec) input
    :return: results of MSPileup data layer (list of dicts)
    """
    spec = {}  # (get all full docs) retrieve a list with the full documentation of all the pileups
    if 'query' in kwargs:
        # use specific spec (JSON query)
        spec = kwargs['query']
    elif 'pileupName' in kwargs:
        # get docs for given pileupName
        spec = {'pileupName': kwargs['pileupName']}
    elif 'campaign' in kwargs:
        # get docs for given campaign
        spec = {'campaign': kwargs['campaign']}
    else:
        for key, val in kwargs.items():
            spec[key] = val
    # check if filters are present and use it as projection fields
    projection = {}
    for key in kwargs.get('filters', []):
        projection[key] = 1
    results = self.dataMgr.METHOD_NAME(spec, projection)
    return results