webui api setRule rss

Windows specific questions, problems.
Post Reply
Sui

webui api setRule rss

Post by Sui »

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 ???
Post Reply