Difference between revisions of "App/API/Ontology/label"

From mx Help Wiki
Jump to: navigation, search
m (Description)
 
Line 4: Line 4:
  
 
<nowiki>http:</nowiki>//''base_url''/api/ontology/'''label'''/<text>
 
<nowiki>http:</nowiki>//''base_url''/api/ontology/'''label'''/<text>
 +
 +
Returns ontology classes tied to the provided label, and the reference that links the two.
  
 
== Response (JSON) ==
 
== Response (JSON) ==

Latest revision as of 16:15, 4 March 2011

Back to ontology API home

[edit] Description

http://base_url/api/ontology/label/<text>

Returns ontology classes tied to the provided label, and the reference that links the two.

[edit] Response (JSON)

label:
  CLASS_ID: citation
  ...
  

[edit] Example

Request:

http://api.hymao.org/api/ontology/label/head

Response:

 {
  "head":
         {"http://purl.obolibrary.org/obo/HAO_0000397":"Deans, A. R. 2009. HAO curator.."}
 }
Personal tools