API Investigation:Sparql
From ToxBank API Wiki
(Difference between revisions)
Mrautenberg (Talk | contribs) (fix typo) |
Mrautenberg (Talk | contribs) |
||
Line 4: | Line 4: | ||
|REST_op_method=GET | |REST_op_method=GET | ||
|REST_op_uri=investigation/sparql/{template_name} | |REST_op_uri=investigation/sparql/{template_name} | ||
− | |REST_op_params=params | + | |REST_op_params=params per template: |
* no params needed for investigation_and_characteristics, investigations_and_factors and investigation_and_protocols | * no params needed for investigation_and_characteristics, investigations_and_factors and investigation_and_protocols | ||
* factorValues: URI array for investigation_by_factors and protocols_by_factors template | * factorValues: URI array for investigation_by_factors and protocols_by_factors template |
Revision as of 17:00, 4 December 2013
Description | Get information from investigations |
---|---|
Resource | Investigation |
Method | GET |
URI | investigation/sparql/{template_name} |
Parameters | params per template:
|
Header Parameters | Accept: one of < application/sparql-results+xml, application/json, text/uri-list, text/html > , subjectid:SECURITY-TOKEN |
Media Type (input) | |
Results | Investigation data as sparql-results+xml json uri-list html |
Media Type (output) | application/sparql-results+xml application/json text/uri-list text/html |
Status code | 200 |
Get information from published investigations via predifed SPARQL queries.
Facts about API Investigation:SparqlRDF feed
Acts on | Investigation + |
Has output media type | application/sparql-results+xml application/json text/uri-list text/html + |
Has status code | 200 + |