API Investigation:Sparql
From ToxBank API Wiki
(Difference between revisions)
Mrautenberg (Talk | contribs) (Created page with "{{REST Operations |REST_op_description=Get information from investigations |REST_resource=Investigation |REST_op_method=GET |REST_op_uri=investigation/sparql/{template_name} |RES...") |
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 for template:* | + | |REST_op_params=params for template: |
+ | * no params needed for investigation_and_characteristics, investigation_and_characteristics and investigation_and_characteristics | ||
+ | * factorValues: URI array for investigation_by_factors and protocols_by_factors template | ||
+ | * value: String for investigation_by_characteristic_name, investigation_by_characteristic_value, investigation_by_factors, investigation_by_characteristic and investigation_by_factor | ||
|REST_header_param=Accept: one of < application/sparql-results+xml, application/json, text/uri-list, text/html > , subjectid:SECURITY-TOKEN | |REST_header_param=Accept: one of < application/sparql-results+xml, application/json, text/uri-list, text/html > , subjectid:SECURITY-TOKEN | ||
|REST_op_result=Investigation data as sparql-results+xml json uri-list html | |REST_op_result=Investigation data as sparql-results+xml json uri-list html |
Revision as of 16:52, 4 December 2013
Description | Get information from investigations |
---|---|
Resource | Investigation |
Method | GET |
URI | investigation/sparql/{template_name} |
Parameters | params for 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 + |