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:44] shankarreaction [2024/01/19 13:28] (current) shankar
Line 37: Line 37:
  
  
 +==== 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.1705668278.txt.gz · Last modified: 2024/01/19 12:44 by shankar