Search

From ToxBank API Wiki
Revision as of 17:18, 15 September 2011 by Nina (Talk | contribs)
Jump to: navigation, search

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 in the default space
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 in the default space
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 in the default space
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 typetext/uri-list, RDF, JSON  + and text/uri-list  +
Has status code200,400,401,402,403  +
Personal tools