webui api setRule rss
Posted: Sat Dec 18, 2021 4:14 pm
Hello,
i have a problem with the setRule function.
i made a GET http request to my web ui with following data send:
{"ruleName":"test",
"ruleDef":
{
"enabled": false,
"mustContain": "The *Punisher*",
"mustNotContain": "",
"useRegex": false,
"episodeFilter": "1x01-;",
"smartFilter": false,
"previouslyMatchedEpisodes": [
],
"affectedFeeds": [
"http://showrss.info/user/134567.rss?magnets=true"
],
"ignoreDays": 0,
"lastMatch": "20 Nov 2017 09:05:11",
"addPaused": true,
"assignedCategory": "",
"savePath": "C:/Users/JohnDoe/Downloads/Punisher"
}
}
The request was answered with 200. It seems everything is okay. But it dosent work. When you look in your download rules, then there is a new rule with the name test, but no settings where transfered. When you send it to a existing Rule, all settings will be deleted.
Can someone help me
i have a problem with the setRule function.
i made a GET http request to my web ui with following data send:
{"ruleName":"test",
"ruleDef":
{
"enabled": false,
"mustContain": "The *Punisher*",
"mustNotContain": "",
"useRegex": false,
"episodeFilter": "1x01-;",
"smartFilter": false,
"previouslyMatchedEpisodes": [
],
"affectedFeeds": [
"http://showrss.info/user/134567.rss?magnets=true"
],
"ignoreDays": 0,
"lastMatch": "20 Nov 2017 09:05:11",
"addPaused": true,
"assignedCategory": "",
"savePath": "C:/Users/JohnDoe/Downloads/Punisher"
}
}
The request was answered with 200. It seems everything is okay. But it dosent work. When you look in your download rules, then there is a new rule with the name test, but no settings where transfered. When you send it to a existing Rule, all settings will be deleted.
Can someone help me
