-
Notifications
You must be signed in to change notification settings - Fork 13
Add webhook for form feature #341
Comments
let me think for the flow |
Example, when send request post api, automatic send in webhook discord |
yeah, it's simple but can be dangerous if someone abuses the API anyway, any idea about the payload?
|
yeah, but in 2 statement
But this playload like this
|
there may be data that is deleted, data that is added, or there is also data that is changed |
Here for the json object request Add{
"Name": "Kanochi",
"EN_Name": "Mahoro Kano",
"JP_Name": "鹿乃",
"Twitter": {
"Twitter_Fanart": "#まほろ絵",
"Twitter_Lewd": "",
"Twitter_Username": "kanomahoro"
},
"Youtube": null,
"BiliBili": {
"BiliBili_Fanart": "鹿乃絵",
"BiliBili_ID": 316381099,
"BiliRoom_ID": 15152878
},
"Twitch": null,
"Region": "JP",
"Fanbase": "",
} Update{
"ID": 14,
"Old": {
"Name": "Kanochi",
"EN_Name": "Mahoro Kano",
"JP_Name": "鹿乃",
"Twitter": {
"Twitter_Fanart": "#まほろ絵",
"Twitter_Lewd": "",
"Twitter_Username": "kanomahoro"
},
"Youtube": null,
"BiliBili": {
"BiliBili_Fanart": "鹿乃絵",
"BiliBili_ID": 316381099,
"BiliRoom_ID": 15152878
},
"Twitch": null,
"Region": "JP",
"Fanbase": "",
"Status": "Active"
},
"New": {
"Name": "Kanochi",
"EN_Name": "Mahoro Kano",
"JP_Name": "鹿乃",
"Twitter": {
"Twitter_Fanart": "#まほろ絵",
"Twitter_Lewd": "",
"Twitter_Username": "bambi2525"
},
"Youtube": {
"Youtube_ID": "UCfuz6xYbYFGsWWBi3SpJI1w"
},
"BiliBili": {
"BiliBili_Fanart": "鹿乃絵",
"BiliBili_ID": 316381099,
"BiliRoom_ID": 15152878
},
"Twitch": null,
"Region": "JP",
"Fanbase": "",
"Status": "Active"
}
} |
for add, don't include status |
ah yeah,sure |
for add only active members |
Webhook already deployed Add vtuber request
Edit vtuber request
|
Add additional do adding and change group/agency (like members) {
"GroupName": "a Agency",
"Icon_URL": "https://example.jp/icon.png", // For Download and add to storage
"GroupChannel": {
"Youtube": [
{
"Youtube_ID": "UCfuz6xYbYFGsWWBi3SpJI1w",
"Region": "EN",
}
],
"BiliBili": null
}
} and adding "Name": "Kanochi",
"EN_Name": "Mahoro Kano",
"JP_Name": "鹿乃",
"Group": "Independent", or "Name": "Kanochi",
"EN_Name": "Mahoro Kano",
"JP_Name": "鹿乃",
"Group": 10, |
Add & Change for group agency already added,
When adding agency group the member data can't be null, member data should be filled |
Continue issue #296, maybe add some api webhook to Vtbot discord server to easier add and change vtuber state without login to github
The text was updated successfully, but these errors were encountered: