User Tools

Site Tools


pathway

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
pathway [2024/01/22 15:27] shankarpathway [2024/02/01 12:24] (current) shankar
Line 47: Line 47:
 | ::: | //nodeName// | ::: | ::: | 404 - Not Found| | ::: | //nodeName// | ::: | ::: | 404 - Not Found|
 | ::: | //nodeDepth// | ::: | ::: | 500 - Internal Server Error| | ::: | //nodeDepth// | ::: | ::: | 500 - Internal Server Error|
 +|/package/<id>/pathway/<id>/node/<id>|//nodeName//| | Modify the node identified by the URI. Set setAsDefaultName to "setAsDefaultName" to use the new alias as default name. | 200 - OK|
 +| ::: | //setAsDefaultName// | ::: | ::: | 401 - Unauthorized|
 +| ::: | //nodeDescription// | ::: | ::: | 404 - Not Found|
 +| ::: | //nodeDescription// | ::: | ::: | 500 - Internal Server Error|
 |/package/<id>/pathway/<id>/edge|//edgeAsSmirks//| | Adds a new edge to the pathway. | 200 - OK| |/package/<id>/pathway/<id>/edge|//edgeAsSmirks//| | Adds a new edge to the pathway. | 200 - OK|
 | ::: | //edgeReason// | ::: | ::: | 401 - Unauthorized| | ::: | //edgeReason// | ::: | ::: | 401 - Unauthorized|
Line 57: Line 61:
 | ::: | ::: | ::: | ::: | 500 - Internal Server Error| | ::: | ::: | ::: | ::: | 500 - Internal Server Error|
  
 +
 +==== DELETE ====
 +
 +^ URI              ^ Parameter            ^ Accept Types          ^ Result ^ Status Codes ^
 +|/pathway| | | Delete all pathways the user has write access on (does not delete created compounds or reactions) | 303 - See Other|
 +| ::: |::: | ::: | ::: | 500 - Internal Server Error|
 +| /package/<id>/pathway |  |  | Delete all pathways in the package given by the URI. | 303 - See Other|
 +| ::: | ::: | ::: | ::: | 401 - Unauthorized|
 +| ::: | ::: | ::: | ::: | 500 - Internal Server Error|
 +| /package/<id>/pathway/<id> |  | Delete the pathway identified by the URI. | 303 - See Other|
 +| ::: | ::: | ::: | ::: | 401 - Unauthorized|
 +| ::: | ::: | ::: | ::: | 404 - Not Found|
 +| ::: | ::: | ::: | ::: | 500 - Internal Server Error|
 +| /package/<id>/pathway/<id>/node/<id> |  | Remove node from pathway. | 303 - See Other|
 +| ::: | ::: | ::: | ::: | 401 - Unauthorized|
 +| ::: | ::: | ::: | ::: | 500 - Internal Server Error|
 +
 +
 +
 +==== PUT ====
 +
 +Not Implemented.
  
  
pathway.1705937262.txt.gz · Last modified: 2024/01/22 15:27 by shankar