def get(self, request, slug, year, month, day, model_name):
        addon = self.get_addon(request, slug)
        check_stats_permission(request, addon)

        tm = '{id}/{year}/{month}/{year}_{month}_{day}_{model_name}.json'
        path = tm.format(
            id=addon.id, year=year, month=month, day=day,
            model_name=model_name)

        try:
            with storage.open(path) as fobj:
                data = json.load(fobj)
        except (__HOLE__, IOError):
            return Response({
                'error': 'No archived data for addon "%s" found.' % addon.slug,
            }, status=status.HTTP_404_NOT_FOUND)

        return Response(data)
dataset/ETHPy150Open mozilla/addons-server/src/olympia/stats/views.py/ArchiveView.get