API Investigation:SparqlInvestigaton

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
|REST_resource=Investigation
 
|REST_resource=Investigation
 
|REST_op_method=GET
 
|REST_op_method=GET
|REST_op_uri=/investigation/{id}/sparql/{template_name}
+
|REST_op_uri=/investigation/{id}/sparql/{template_name} or investigation/{id}/sparql/{template_name}/{biosample_id}
 
|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 11:17, 14 March 2014

Description Get investigation data via predefined SPARQL templates
Resource Investigation
Method GET
URI /investigation/{id}/sparql/{template_name} or investigation/{id}/sparql/{template_name}/{biosample_id}
Parameters
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 investigation data via predefined SPARQL templates. Add one of investigation_endpoint_technology, investigation_details, factors_by_investigation or characteristics_by_investigation to an investigation plus /sparql/ URI (e.G.: https://services.toxbank.net/investigation/{id}/sparql/investigation_endpoint_technology ) . You may also use camelcase notation for templatenames (e.G.: FactorsByInvestigation).

Facts about API Investigation:SparqlInvestigatonRDF feed
Acts onInvestigation  +
Has output media typeapplication/sparql-results+xml application/json text/uri-list text/html  +
Has status code200  +
Personal tools