diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2010-01-12 11:14:02 +0100 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2010-01-12 11:14:02 +0100 |
commit | 037e9dded9dc0e0708ebacc7a8e987fcf1cc9d59 (patch) | |
tree | 98351f804fe98c7179d3cdcd9477a461868665fe /EXAMPLES | |
parent | 86f056bbb8f8b083313a8dd55b1b8aa47574afe1 (diff) |
added report examples and example tests, new module Validation
Diffstat (limited to 'EXAMPLES')
-rw-r--r-- | EXAMPLES | 96 |
1 files changed, 95 insertions, 1 deletions
@@ -4,7 +4,7 @@ API-Definition see http://opentox.org/dev/apis/api-1.1/Validation -API-Examples +API-Examples Validation =================================================================== how to @@ -141,3 +141,97 @@ result example (accept-header: text/uri-list) +API-Examples Reports +=================================================================== + + +get list of available report types +------------------------------------------------------------------- + +>>> curl <validation_service>/report + +result example (accept-header: application/rdf-xml) +<<< not yet supported + +result example (accept-header: text/uri-list) +<<< <validation_service>/report/validation +<<< <validation_service>/report/crossvalidation +<<< <validation_service>/report/algorithm_comparison + + +get list of available reports of type validation +------------------------------------------------------------------- + +>>> curl ot.validation.de/report/validation + +result example (accept-header: application/rdf-xml) +<<< not yet supported + +result example (accept-header: text/uri-list) +<<< <validation_service>/report/validation/<validation_report_id> +<<< <validation_service>/report/validation/id_i +<<< <validation_service>/report/validation/id_j + + +get validation report +------------------------------------------------------------------- + +>>> curl <validation_service>/report/validation/<validation_report_id> + +Supported formats (accept-headers): +* "text/xml" content of report in docbook-article format +* "text/html" report formated with default docbook-article-xsl + +Hint: Visit <validation_service>/report/validation/<validation_report_id> with a browser to see the report in html format + + +create validation report from validation +------------------------------------------------------------------- + +>>> curl -X POST -d validation_uris="<validation_service>/<validation_id>" \ + ot.validation.de/report/validation + +result example (accept-header: application/rdf-xml) +<<< not yet supported + +result example (accept-header: text/uri-list) +<<< <validation_service>/report/validation/id_i + + +get list of available reports of type crossvalidation +------------------------------------------------------------------- + +>>> curl <validation_service>/report/crossvalidation + +result example (accept-header: application/rdf-xml) +<<< not yet supported + +result example (accept-header: text/uri-list) +<<< <validation_service>/report/crossvalidation/<crossvalidation_report_id> +<<< <validation_service>/report/crossvalidation/id_i +<<< <validation_service>/report/crossvalidation/id_j + + +get crossvalidation report +------------------------------------------------------------------- + +>>> curl <validation_service>/report/crossvalidation/<crossvalidation_report_id> + +Supported formats (accept-headers): +* "text/xml" content of report in docbook-article format +* "text/html" report formated with default docbook-article-xsl + +Hint: Visit <validation_service>/report/crossvalidation/<crossvalidation_report_id> with a browser to see the report in html format + + +create crossvalidation report from crossvalidation +------------------------------------------------------------------- + +>>> curl -X POST -d validation_uris="<validation_service>/crossvalidation/<crossvalidation_id>" \ + ot.validation.de/report/crossvalidation + +result example (accept-header: application/rdf-xml) +<<< not yet supported + +result example (accept-header: text/uri-list) +<<< <validation_service>/report/crossvalidation/id_i
\ No newline at end of file |