User Tools

Site Tools


reaction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reaction [2024/01/19 12:11] shankarreaction [2024/01/19 13:28] (current) shankar
Line 27: Line 27:
 |  |  | chemical/x-daylight-smiles| Gets the reaction SMIRKS. | | |  |  | chemical/x-daylight-smiles| Gets the reaction SMIRKS. | |
 |  |  | text/html|::: | | |  |  | text/html|::: | |
 +|/package/<id>/reaction/<id>/lhs  | optional parameter "delimiter" for text/csv only, default value: ","         | application/json        |A list of all educts (lhs) or products (rhs) of a given reaction.| 200 - OK|
 +| /package/<id>/reaction/<id>/rhs|:::| text/plain|::: |401 - Unauthorized|
 +|:::|:::| text/csv|::: |404 - Not Found|
 +|:::|:::| text/html|::: |500 - Internal Server Error|
 +|/package/<id>/reaction/<id>/lhs/<id> | optional parameter "delimiter" for text/csv only, default value: ","| text/html|A specific educt (lhs) or product (rhs) of a given reaction| 200 - OK|
 +|/package/<id>/reaction/<id>/rhs/<id>|:::|application/json|::: |401 - Unauthorized|
 +|:::|:::| text/plain|::: |404 - Not Found|
 +|:::|:::| text/csv|::: |500 - Internal Server Error|
  
  
 +==== POST ====
 +^ URI              ^ Parameter            ^ Accept Types          ^ Result ^ Status Codes ^
 +|/reaction    |reactionName|         |Create a new reaction in the default package. The redirect points to the URI of the new Compound. Either the SMIRKS, or the educt and product need to be given. | 303 - See Other|
 +| ::: | reactionDescription |:::| ::: | 500 - Internal Server Error|
 +| ::: |smirks |:::| ::: | :::|
 +| ::: |educt |:::| ::: | :::|
 +| ::: |product |:::| ::: | :::|
 +| ::: |rule |:::| ::: | :::|
 +|/package/<id>/reaction   |reactionName|         |Create a new Reaction in the package given by the URI. The redirect points to the URI of the new Compound. | 303 - See Other|
 +| ::: | reactionDescription |:::| ::: | 401 - Unauthorized|
 +| ::: |smirks |:::| ::: | 500 - Internal Server Error|
 +| ::: |educt |:::| ::: | :::|
 +| ::: |product |:::| ::: | :::|
 +| ::: |rule |:::| ::: | :::|
 +|/package/<id>/reaction/<id>   |reactionDescription|         |Modify the reaction identified by the URI. Set setAsDefaultName to "setAsDefaultName" to use the new alias as default name. | 200 - OK|
 +| ::: | reactionName|:::| ::: | 401 - Unauthorized|
 +| ::: |setAsDefaultName |:::| ::: | 404 - Not Found|
 +| ::: |scenario |:::| ::: | 500 - Internal Server Error|
 +| ::: |ruleUri |:::| ::: | :::|
  
  
 +==== DELETE ====
  
 +^ URI              ^ Parameter            ^ Accept Types          ^ Result ^ Status Codes ^
 +|/reaction |:::|:::| Delete all reactions the user has write access on. | 303 - See Other|
 +| ::: |::: |:::| ::: | 500 - Internal Server Error|
 +| /package/<id>/reaction |::: |:::| Delete all reactions in the package given by the URI | 303 - See Other|
 +| ::: |::: |:::| ::: | 500 - Internal Server Error|
 +| ::: |::: |:::| ::: | 401 - Unauthorized|
 +| /package/<id>/reaction/<id> |::: |:::| Delete the reaction identified by the URI. | 303 - See Other|
 +| ::: |::: |:::| ::: | 401 - Unauthorized|
 +| ::: |::: |:::| ::: | 404 - Not Found|
 +| ::: |::: |:::| ::: | 500 - Internal Server Error|
  
  
  
- 
- 
- 
- 
- 
- 
- 
-==== POST ==== 
- 
-{{:screenshot_2023-12-18_at_17.31.41.png?nolink|}} 
- 
-==== DELETE ==== 
- 
-{{:screenshot_2023-12-18_at_17.35.18.png?nolink|}} 
  
 ==== PUT ==== ==== PUT ====
reaction.1705666316.txt.gz · Last modified: 2024/01/19 12:11 by shankar