compound
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
compound [2023/12/13 12:58] – created shankar | compound [2024/03/19 13:23] (current) – shankar | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Compound ====== | ====== Compound ====== | ||
- | + | | |
- | ==== Contents ==== | + | |
- | + | ||
- | + | ||
- | * REST Operations | + | |
- | º1.1 GET | + | |
- | º1.2 POST | + | |
- | º1.3 DELETE | + | |
- | º1.4 PUT | + | |
| | ||
===== REST Operations ===== | ===== REST Operations ===== | ||
Line 15: | Line 7: | ||
==== GET ==== | ==== GET ==== | ||
+ | ^ URI ^ Parameter | ||
+ | |/ | ||
+ | | ::: | ::: | application/ | ||
+ | | ::: | ::: | text/plain | :::|200 - OK | | ||
+ | | ::: | ::: | text/csv |::: | 401 - Unauthorised | | ||
+ | | ::: | ::: | text/html |::: |500 - Internal Server Error| | ||
+ | |/ | ||
+ | | ::: | ::: |text/ | ||
+ | | ::: | ::: |text/ | ||
+ | | ::: | ::: |application/ | ||
+ | | ::: | ::: |text/ | ||
+ | |:::|:::| text/csv/ |::: | 401 - Unauthorized | | ||
+ | |/ | ||
+ | |::: | ||
+ | |::: | ||
- | URI Parameter Accept Types Result Status Codes | ||
- | /compound | ||
- | optional parameter " | ||
- | text/csv only, default value: "," | ||
- | text/html | + | ===== POST ===== |
- | application/json | + | ^ URI ^ Parameter |
+ | |/compound|// | ||
+ | |::: | ||
+ | |::: | ||
+ | |/ | ||
+ | |::: | ||
+ | |::: | ||
+ | |/ | ||
+ | |::: | ||
- | text/plain | + | ===== DELETE ===== |
- | text/csv | + | ^ URI |
- | + | |/compound|:::|Delete all compounds the user has write access on|303 - See Other | | |
- | List of all compounds of all packages that the user has permission to read. 200 - OK | + | |::: |
- | 500 - Internal Server Error | + | |::: |
- | + | |/ | |
- | / | + | |::: |
- | optional parameter " | + | |/ |
- | text/csv only, default value: "," | + | |::: |
- | + | |::: | |
- | text/html | + | |::: |
- | application/ | + | |
- | + | ||
- | text/ | + | |
- | + | ||
- | text/csv | + | |
- | + | ||
- | List of all compounds of the package given by the URI. 200 - OK | + | |
- | 401 - Unauthorized | + | |
- | + | ||
- | 500 - Internal Server Error | + | |
- | + | ||
- | / | + | |
- | optional parameter " | + | |
- | text/csv only, default value: "," | + | |
- | + | ||
- | text/html | + | |
- | application/ | + | |
- | + | ||
- | text/ | + | |
- | + | ||
- | text/csv | + | |
- | + | ||
- | chemical/ | + | |
- | + | ||
- | chemical/ | + | |
- | + | ||
- | chemical/ | + | |
- | + | ||
- | The compound identified by the URI. | + | |
- | + | ||
- | + | ||
- | Gets the compound smiles, inchi or mol2 file. | + | |
- | + | ||
- | 200 - OK | + | |
- | 401 - Unauthorized | + | |
- | + | ||
- | 404 - Not Found | + | |
- | + | ||
- | 500 - Internal Server Error | + | |
- | + | ||
- | POST | + | |
- | + | ||
- | URI Parameter Accept Types Result Status Codes | + | |
- | /compound compoundSmiles | + | |
- | compoundName | + | |
- | + | ||
- | compoundDescription | + | |
- | + | ||
- | Create a new Compound in the default package. The redirect points to the URI of the new Compound. 303 - See Other | + | |
- | 500 - Internal Server Error | + | |
- | + | ||
- | / | + | |
- | compoundName | + | |
- | + | ||
- | compoundDescription | + | |
- | + | ||
- | Create a new Compound in the package given by the URI. The redirect points to the URI of the new Compound. 303 - See Other | + | |
- | 401 - Unauthorized | + | |
- | + | ||
- | 500 - Internal Server Error | + | |
- | + | ||
- | / | + | |
- | compoundName | + | |
- | setAsDefaultName | + | |
- | + | ||
- | 401 - Unauthorized | + | |
- | compoundDescription 404 - Not Found | + | |
- | scenario - URI of the scenario 500 - Internal Server Error | + | |
- | DELETE | + | |
- | + | ||
- | URI Parameter Accept Types Result Status Codes | + | |
- | / | + | |
- | 500 - Internal Server Error | + | |
- | + | ||
- | / | + | |
- | 401 - Unauthorized | + | |
- | + | ||
- | 500 - Internal Server Error | + | |
- | + | ||
- | / | + | |
- | 401 - Unauthorized | + | |
- | 404 - Not Found | + | |
- | 500 - Internal Server Error | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | PUT | + | |
+ | ===== PUT ===== | ||
Not Implemented. | Not Implemented. | ||
- |
compound.1702472336.txt.gz · Last modified: 2023/12/13 12:58 by shankar