URI | Parameter | Accept Types | Result | Status Codes |
/rule | smirks | | Create a new Rule in the default package. The redirect points to the URI of the new Rule. If the hidden method APPLYRULES is used all rules from the default package are applied to the compound given by smiles. | 303 - See Other |
name | 500 - Internal Server Error |
description |
productFilterSmarts |
reactantFilterSmarts |
likelihood |
hiddenMethod = APPLYRULES |
compound - compound smiles |
smirks |
name |
description |
productFilterSmarts |
reactantFilterSmarts |
/package/<id>/rule | likelihood | Create a new Rule in the package given by the URI. The redirect points to the URI of the new Rule. If the hidden method APPLYRULES is used all rules from the package identified by the URI are applied to the compound given by smiles. | 303 - See Other |
subRules | 401 - Unauthorized |
hiddenMethod = APPLYRULES | 500 - Internal Server Error |
compound - compound smiles |
ruleName |
setAsDefaultName |
ruleDescription |
smirks |
ruleProductFilterSmarts |
ruleReactantFilterSmarts |
package/<id>/rule/<id> | hiddenMethod= APPLYRULES | Modify the rule identified by the URI. If the hidden method APPLYRULES is used the rule is applied to the compound given by smiles. Set setAsDefaultName to “setAsDefaultName” to use the new alias as default name. | 200 - OK |
compound - compound smiles | 401 - Unauthorized |
404 - Not Found |
500 - Internal Server Error |