def get(self, *args, **kwargs):
        """Lists all the alerts.

        Args:

            [0], the alert id (optional)

        Example URLs:

            GET /api/v1/alerts
            GET /api/v1/alerts/52313ecb-9d00-4b7d-b873-b55d3d9ada26
        """

        return self.service.alerts \
            if not args else self.service.alerts[uuid.UUID(args[0])]