canmove, Confirmed users
6,441
edits
No edit summary |
No edit summary |
||
| Line 65: | Line 65: | ||
|- | |- | ||
| comment | | comment | ||
|- | |||
| /rule | |||
| GET | |||
| Same as /rule POST | |||
| Retrieve all of the rules that match the specified parameters. Any missing parameters are regarded as wildcards, therefore a request with no parameters returns all rules. | |||
|- | |- | ||
| /rule/[id] | | /rule/[id] | ||
| PUT | | PUT | ||
| Same as | | Same as /rule POST | ||
| Update the rule with the supplied parameters. Any missing parameters will be considered NULL. | | Update the rule with the supplied parameters. Any missing parameters will be considered NULL. | ||
|} | |} | ||