'Provide a view for a list of snapshots.'

def _list_view(self, func, request, snapshots, snapshot_count, coll_name=_collection_name):

    snapshots_list = [func(request, snapshot)['snapshot'] for snapshot in snapshots]
    snapshots_links = self._get_collection_links(request, snapshots, coll_name, snapshot_count)
    snapshots_dict = {self._collection_name: snapshots_list}
    if snapshots_links:
        snapshots_dict[(self._collection_name + '_links')] = snapshots_links
    return snapshots_dict
