User Tools

Site Tools


rule

This is an old revision of the document!


Table of Contents

Rule

REST Operations

GET

URI Parameter Accept Types Result Status Codes
/rule optional parameter “delimiter” for text/csv only, default value: “,” text/html List of all rules of all packages that the user has permission to read. 200 - OK
application/json 500 - Internal Server Error
text/plain
text/csv
/package/<id>/rule optional parameter “delimiter” for text/csv only, default value: “,” text/html List of all rules of the package given by the URI. 200 - OK
application/json 401 - Unauthorized
text/plain 500 - Internal Server Error
text/csv
/package/<id>/rule/<id> optional parameter “delimiter” for text/csv only, default value: “,” text/html The rule identified by the URI. 200 - OK
application/json 401 - Unauthorized
text/plain 404 - Not Found
text/csv 500 - Internal Server Error

POST

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
rule.1710859179.txt.gz · Last modified: 2024/03/19 14:39 by shankar