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

@@ -1,63 +1,56 @@
{ {
"runOnStartup": true, "runOnStartup": true,
"cronSchedule": "5 16 * * *", "cronSchedule": "5 16 * * *",
"logLevel": "info", "logLevel": "info",
"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": [{
], "type": "email",
"notifiers": [ "smtpHost": "smtp.gmail.com",
// You may configure as many of any notifier as needed "smtpPort": 587,
// Here are some examples of each type "emailSenderAddress": "hello@gmail.com",
{ "emailSenderName": "Epic Games Captchas",
"type": "email", "emailRecipientAddress": "hello@gmail.com",
"smtpHost": "smtp.gmail.com", "secure": false,
"smtpPort": 587, "auth": {
"emailSenderAddress": "hello@gmail.com", "user": "hello@gmail.com",
"emailSenderName": "Epic Games Captchas", "pass": "abc123"
"emailRecipientAddress": "hello@gmail.com", }
"secure": false, }, {
"auth": { "type": "discord",
"user": "hello@gmail.com", "webhookUrl": "https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456",
"pass": "abc123", "mentionedUsers": [
}, "914360712086843432"
}, ],
{ "mentionedRoles": [
"type": "discord", "734548250895319070"
"webhookUrl": "https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456", ]
// Optional list of users or roles to mention },
"mentionedUsers": [ {
"914360712086843432" "type": "telegram",
], "token": "644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k",
"mentionedRoles": [ "chatId": "-987654321"
"734548250895319070" },
], {
}, "type": "apprise",
{ "apiUrl": "http://192.168.1.2:8000",
"type": "telegram", "urls": "mailto://user:pass@gmail.com"
"token": "644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k", },
"chatId": "-987654321", {
}, "type": "pushover",
{ "token": "a172fyyl9gw99p2xi16tq8hnib48p2",
"type": "apprise", "userKey": "uvgidym7l5ggpwu2r8i1oy6diaapll"
"apiUrl": "http://192.168.1.2:8000", },
"urls": "mailto://user:pass@gmail.com", {
}, "type": "gotify",
{ "apiUrl": "https://gotify.net",
"type": "pushover", "token": "SnL-wAvmfo_QT"
"token": "a172fyyl9gw99p2xi16tq8hnib48p2", }
"userKey": "uvgidym7l5ggpwu2r8i1oy6diaapll", ]
},
{
"type": "gotify",
"apiUrl": "https://gotify.net",
"token": "SnL-wAvmfo_QT",
},
],
} }