def METHOD_NAME(self, request):
    if not Permissions.PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW.can():
        return flask.abort(403)
    return flask.jsonify(
        notifications=[
            {"timestamp": notification[0], "message": notification[1]}
            for notification in self._notifications
        ]
    )