API Investigation:SparqlInvestigaton
From ToxBank API Wiki
(Difference between revisions)
Mrautenberg (Talk | contribs) |
Mrautenberg (Talk | contribs) |
||
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 | + | |REST_header_param=Accept: one of application/sparql-results+xml, application/json, text/uri-list, text/html> , subjectid:SECURITY-TOKEN |
− | |REST_op_result=Investigation | + | |REST_op_result=Investigation data as sparql-results+xml json uri-list html |
− | |REST_op_mime_output=text/ | + | |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 on | Investigation + |
Has output media type | application/sparql-results+xml application/json text/uri-list text/html + |
Has status code | 200 + |