Notifiarr / website

Issue tracker for Notifiarr.com
https://notifiarr.com
7 stars 0 forks source link

Add pass through api endpoint #55

Closed austinwbest closed 2 years ago

austinwbest commented 3 years ago

api/notification/passthrough

{
    notification: {
        id: "1",
        name: "Camera System",
    },
    discord: [{
        color: "",
        ping: {
            pingUser: 123456789,
            pingRole: 0
        },
        images: {
            thumbnail: "http://website.com/image.png",
            image: "http://website.com/image.png"
        },
        text: {
            content: "",
            body: "",
            fields: [{
                title: "Field",
                text: "Field Text",
                inline: false
            }, {
                title: "Field",
                text: "Field Text",
                inline: false
            }]
        },
        ids: {
            server: 1234567890,
            channel: 1234567890
        }
    }]
}

Captain