fix an issue with JSON parsing.
[SMMID.git] / restful_interface.txt
blob27225feeeee3c5b4d06275c911e3333d70c2c640
3 RESTful interface for SMID DB
5 Endpoints
7 user management
9 * /rest/user/login
11 * /rest/user/logout
13 /rest/user/list
15 /rest/user/search
17 /rest/user/new
19 * /rest/user/{id}/view
21 /rest/user/{id}/delete
23 compounds
25 * /rest/compound/{id}/details  - view compound with id {id}
27 /rest/compound/{id}/delete
29 * /rest/compound/{id}/store
31 * /rest/compound/new  - add a new compound
33 /rest/compound     - list all compounds
35 * /rest/compound/search
39 results
41 * /rest/result/{id}/details
43 * /rest/result/new
45 * /rest/result/{id}/store
47 /rest/result/search