Difference between revisions of "App/API/Ontology/ontology class"

From mx Help Wiki
Jump to: navigation, search
(Created page with '<nowiki>http://''base_url''/api/ontology/</nowiki>'''ontology_class'''/<CLASS_ID> == Description == == Response (JSON) == ''CLASS_ID'': definition: ''definition'' relatio…')
 
Line 1: Line 1:
<nowiki>http://''base_url''/api/ontology/</nowiki>'''ontology_class'''/<CLASS_ID>
+
<nowiki>http:</nowiki>//''base_url''/api/ontology/'''ontology_class'''/<CLASS_ID>
  
 
== Description ==
 
== Description ==

Revision as of 14:54, 10 February 2011

http://base_url/api/ontology/ontology_class/<CLASS_ID>

Description

Response (JSON)

CLASS_ID:
 definition: definition
 relationships:
   relationship_type: RELATED_CLASS_ID
   ...

Example

Request:

http://api.hymao.org/api/ontology/ontology_class/HAO_0000397

Response:

 HAO_0000397:
   definition: "The tagma that is located anterior to the thorax."
   relationships: 
     "is_a":"HAO:0000988"
     "part_of":"HAO:0000182"
Personal tools