Search
From ToxBank API Wiki
(Difference between revisions)
m (→Query) |
m (→Query language) |
||
Line 3: | Line 3: | ||
== Query language == | == Query language == | ||
− | + | === Options === | |
+ | |||
+ | (not mutually exclusive) | ||
GET parameters: | GET parameters: |
Revision as of 10:37, 29 September 2011
Contents |
Query
Query language
Options
(not mutually exclusive)
GET parameters: Free text search, language could be similar to Google advanced search
GET or POST parameters, defining SPARQL SPARQL
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 |
Keyword hierarchy
TBD
Filtering the query
TBD
Alerts
An Alert is defined by Query URI ,frequency and an User to be notified.
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 + |