canmove, Confirmed users
6,441
edits
No edit summary |
(→API) |
||
| Line 223: | Line 223: | ||
|- | |- | ||
| 404 - Rule does not exist | | 404 - Rule does not exist | ||
|- | |||
| rowspan=2 | /rules/[id]/rollback | |||
| rowspan=2 | PUT | |||
| rowspan=2 | rules_log_id - Id of an entry in the rules shadow table. Must be an entry with a matching rule id | |||
| rowspan=2 | Rollback the rule to the specified log entry | |||
| 200 - Rule modified | |||
|- | |||
| 400 - rules_log_id doesn't exist or rule_id doesn't match | |||
|- | |- | ||
| rowspan=3 | /rules/log | | rowspan=3 | /rules/log | ||