Difference between revisions of "App/API/Ontology/glossary markup"

From mx Help Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<nowiki>http:</nowiki>//''base_url''/api/ontology/'''glossary_markup'''/<text>
+
[[App/API/Ontology|Back to ontology API home]]
  
 
== Description ==
 
== Description ==
 +
 +
<nowiki>http:</nowiki>//''base_url''/api/ontology/'''glossary_markup'''/<text>
  
 
== Response (JSON) ==
 
== Response (JSON) ==

Revision as of 16:07, 14 February 2011

Back to ontology API home

Description

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

Response (JSON)

 text: text
 markup: html

Example

Request:

http://api.hymao.org/api/ontology/glossary_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"
 }
Personal tools