Page History
...
The results are always returned as JSON, generated with GSON from the EIClass Java class (or Lists thereof), see: http://search.eagle-i.net/javadoc/org/eaglei/model/EIClass.html
Information about one ontology class - /model/api/ontology/class
This call returns details of a given ontology type.
URL: /model/api/ontology/class
(GET and POST)
Args:
uri
-- URI of the ontology type for which information is soughtpretty
-- if present, a "pretty" JSON serializer is used for formatting the result.
Example:
Get details about the class Tissue Microarrayer:
http://search.eagle-i.net/model/api/ontology/class?uri=http://purl.obolibrary.org/obo/ERO_0000512
List subclasses - /model/api/ontology/subclasses
http://search.eagle-i.net/javadoc/org/eaglei/model/EIClass.html
This call returns subclasses of a given ontology type.
URL: /model/api/ontology/subclasses
(GET and POST)
...
Get direct subclasses of the Instrument class:
List superclasses - /model/api/ontology/path
This call returns superclasses of a given ontology type, up to an eagle-i primary type (i.e. BFO ignored). Current limitation: only one path is returned; some classes have multiple inferred parents, in which case an arbitrary path is chosen.
URL: /model/api/ontology/path
(GET and POST)
...
Get superclasses of Tissue Microarrayer.
http://search.eagle-i.net/model/api/ontology/path?uri=http://purl.obolibrary.org/obo/ERO_0000512