Correct json structure

This commit is contained in:
Alexandre
2022-07-24 10:41:53 +02:00
committed by GitHub
parent 67826133ac
commit 42da1a50d5

View File

@@ -5,17 +5,12 @@
"webPortalConfig": { "webPortalConfig": {
"baseUrl": "https://epic.exmaple.com" "baseUrl": "https://epic.exmaple.com"
}, },
"accounts": [ "accounts": [{
{
"email": "example@gmail.com", "email": "example@gmail.com",
"password": "abc1234", "password": "abc1234",
"totp": "EMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZE" "totp": "EMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZE"
}, }],
], "notifiers": [{
"notifiers": [
// You may configure as many of any notifier as needed
// Here are some examples of each type
{
"type": "email", "type": "email",
"smtpHost": "smtp.gmail.com", "smtpHost": "smtp.gmail.com",
"smtpPort": 587, "smtpPort": 587,
@@ -25,39 +20,37 @@
"secure": false, "secure": false,
"auth": { "auth": {
"user": "hello@gmail.com", "user": "hello@gmail.com",
"pass": "abc123", "pass": "abc123"
}, }
}, }, {
{
"type": "discord", "type": "discord",
"webhookUrl": "https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456", "webhookUrl": "https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456",
// Optional list of users or roles to mention
"mentionedUsers": [ "mentionedUsers": [
"914360712086843432" "914360712086843432"
], ],
"mentionedRoles": [ "mentionedRoles": [
"734548250895319070" "734548250895319070"
], ]
}, },
{ {
"type": "telegram", "type": "telegram",
"token": "644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k", "token": "644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k",
"chatId": "-987654321", "chatId": "-987654321"
}, },
{ {
"type": "apprise", "type": "apprise",
"apiUrl": "http://192.168.1.2:8000", "apiUrl": "http://192.168.1.2:8000",
"urls": "mailto://user:pass@gmail.com", "urls": "mailto://user:pass@gmail.com"
}, },
{ {
"type": "pushover", "type": "pushover",
"token": "a172fyyl9gw99p2xi16tq8hnib48p2", "token": "a172fyyl9gw99p2xi16tq8hnib48p2",
"userKey": "uvgidym7l5ggpwu2r8i1oy6diaapll", "userKey": "uvgidym7l5ggpwu2r8i1oy6diaapll"
}, },
{ {
"type": "gotify", "type": "gotify",
"apiUrl": "https://gotify.net", "apiUrl": "https://gotify.net",
"token": "SnL-wAvmfo_QT", "token": "SnL-wAvmfo_QT"
}, }
], ]
} }