API Investigation:SparqlInvestigaton

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
|REST_op_method=GET
 
|REST_op_method=GET
 
|REST_op_uri=/investigation/{id}/sparql/{template_name}
 
|REST_op_uri=/investigation/{id}/sparql/{template_name}
|REST_header_param=Accept: one of text/plain (n-triples), text/turtle, application/rdf+xml, 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 metadata in n-triples, turtle or RDF format
+
|REST_op_result=Investigation data as sparql-results+xml json uri-list html
|REST_op_mime_output=text/plain (n-triples), text/turtle, application/rdf+xml
+
|REST_op_mime_output=application/sparql-results+xml application/json text/uri-list text/html
 
|REST_op_status=200
 
|REST_op_status=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).
 
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).

Revision as of 11:20, 3 December 2013

Description Get investigation data via predefined SPARQL templates
Resource Investigation
Method GET
URI /investigation/{id}/sparql/{template_name}
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