Search
From ToxBank API Wiki
(Difference between revisions)
m |
m |
||
Line 16: | Line 16: | ||
{{REST Operations | {{REST Operations | ||
− | |REST_op_description=Search | + | |REST_op_description=Search protocols |
|REST_op_method=GET | |REST_op_method=GET | ||
|REST_op_uri=/query/protocols | |REST_op_uri=/query/protocols | ||
Line 30: | Line 30: | ||
{{REST Operations | {{REST Operations | ||
− | |REST_op_description=Search | + | |REST_op_description=Search studies |
|REST_op_method=GET | |REST_op_method=GET | ||
|REST_op_uri=/query/study | |REST_op_uri=/query/study | ||
Line 44: | Line 44: | ||
{{REST Operations | {{REST Operations | ||
− | |REST_op_description=Search | + | |REST_op_description=Search data |
|REST_op_method=GET | |REST_op_method=GET | ||
|REST_op_uri=/query/data | |REST_op_uri=/query/data |
Revision as of 17:18, 15 September 2011
Contents |
Search
Description | Search in the default space |
---|---|
Resource | [[]] |
Method | GET |
URI | /query |
Parameters | TBD, search parameters, page parameters |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | application/x-www-form-urlencoded, RDF, JSON |
Results | URIs of the results, or in other supported format |
Media Type (output) | text/uri-list, RDF, JSON |
Status code | 200,400,401,402,403 |
Search Protocols
Description | Search protocols |
---|---|
Resource | [[]] |
Method | GET |
URI | /query/protocols |
Parameters | TBD, search parameters, page parameters |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | application/x-www-form-urlencoded, RDF, JSON |
Results | URIs of the protocols found, or in other supported format |
Media Type (output) | text/uri-list, RDF, JSON |
Status code | 200,400,401,402,403 |
Search Studies
Description | Search studies |
---|---|
Resource | [[]] |
Method | GET |
URI | /query/study |
Parameters | TBD, search parameters, page parameters |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | application/x-www-form-urlencoded, RDF, JSON |
Results | URIs of the studies found, or in other supported format |
Media Type (output) | text/uri-list, RDF, JSON |
Status code | 200,400,401,402,403 |
Search Data
Description | Search data |
---|---|
Resource | [[]] |
Method | GET |
URI | /query/data |
Parameters | TBD, search parameters, page parameters |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | application/x-www-form-urlencoded, RDF, JSON |
Results | URIs of the datasets found, or in other supported format |
Media Type (output) | text/uri-list, RDF, JSON |
Status code | 200,400,401,402,403 |
Create a predefined query
Description | Create a predefined query |
---|---|
Resource | [[]] |
Method | POST |
URI | /query |
Parameters | TBD |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | application/x-www-form-urlencoded, RDF, JSON |
Results | URI of the new query, e.g. /query/Q999 |
Media Type (output) | text/uri-list |
Status code | 200,400,401,402,403 |
Alerts
TBD Create a predefined query, assign frequency to send alerts (by email?)
Facts about SearchRDF feed
Acts on | |
Has output media type | text/uri-list, RDF, JSON + and text/uri-list + |
Has status code | 200,400,401,402,403 + |