Difference between revisions of "App/API/Ontology/label"
From mx Help Wiki
m (→Description) |
|||
(One intermediate revision by one user not shown) | |||
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) == | ||
Line 22: | Line 24: | ||
{ | { | ||
"head": | "head": | ||
− | {" | + | {"<nowiki>h</nowiki>ttp://purl.obolibrary.org/obo/HAO_0000397":"Deans, A. R. 2009. HAO curator.."} |
} | } |
Latest revision as of 16:15, 4 March 2011
[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.."} }