Difference between revisions of "App/API/Ontology/uri markup"
From mx Help Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | + | [[App/API/Ontology|Back to ontology API home]] | |
== Description == | == Description == | ||
+ | |||
+ | <nowiki>http:</nowiki>//''base_url''/api/ontology/'''uri_markup'''/<text> | ||
== Response (JSON) == | == Response (JSON) == |
Revision as of 16:06, 14 February 2011
Description
http://base_url/api/ontology/uri_markup/<text>
Response (JSON)
text: text markup: html
Example
Request:
http://api.hymao.org/api/ontology/uri_markup/Head%20longer%20than%20metasoma
Response:
{ "text":"Head longer than metasoma", "markup":"\u003Ca href=\"http://purl.obolibrary.org/obo/HAO_0000397\"\u003Ehead\u003C/a\u003E longer than \u003Ca href=\"http://purl.obolibrary.org/obo/HAO_0000626\"\u003Emetasoma\u003C/a\u003E" }