def post(self, *args, **kwargs):
        """Create a new alert.

        Args:

            [0], the alert id (optional)

        Request:

            version: protocol version (1.0)
            alert: the alert
        """

        alert_id = uuid.UUID(args[0]) if args else uuid.uuid4()

        if 'alert' in kwargs:
            alert = self.service.create(uuid=alert_id, alert=kwargs['alert'])
        else:
            alert = self.service.create(uuid=alert_id)

        self.set_header("Location", "/api/v1/alerts/%s" % alert.uuid)