blob: ade50d34ca40d7cbf721e7292f6904f47722259d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
OpenTox Dataset
=================
* An OpenTox REST Webservice
* Stores associations between compounds and features in datasets
* Implements a subset of the OpenTox compound API 1.1 (http://opentox.org/dev/apis/api-1.1/dataset)
* Supports the internal YAML representation of opentox-ruby
REST operations
---------------
Get a list of datasets GET / - List of dataset URIs 200,400,404
Get a dataset GET /{id} - Dataset representation 200,400,404
Upload a dataset POST / Dataset representation Dataset URI 200,400,404
Delete a dataset DELETE /{id} - - 200,404
Delete all datasets DELETE / - - 200,404
Supported MIME formats (http://chemical-mime.sourceforge.net/)
--------------------------------------------------------------
* application/rdf+xml (default): read/write OWL-DL
Examples
--------
Get a list of all datasets:
curl http://webservices.in-silico.ch/dataset
Upload a dataset:
curl -X POST -H "Content-Type:application/rdf+xml" --data-binary @{my_rdf_file} http://webservices.in-silico.ch/dataset
Get a dataset representation:
curl http://webservices.in-silico.ch/dataset/{id}
Delete a dataset:
curl -X DELETE http://webservices.in-silico.ch/dataset/{id}
API documentation
-----------------
http://rdoc.info/github/opentox/dataset
Copyright
---------
Copyright (c) 2009-2011 Christoph Helma, Martin Guetlein, Micha Rautenberg, Andreas Maunz, David Vorgrimmler, Denis Gebele. See LICENSE for details.
|