API Investigation:SparqlInvestigaton

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
 
Line 7: Line 7:
 
|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
 
|REST_op_mime_output=application/sparql-results+xml application/json text/uri-list text/html
 
|REST_op_mime_output=application/sparql-results+xml application/json text/uri-list text/html
|REST_op_status=200
+
|REST_op_status=200, 400, 401, 404
 
}}
 
}}
 
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).
 
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).

Latest revision as of 09:58, 18 September 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, 400, 401, 404

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, 400, 401, 404  +
Personal tools