Difference between revisions of "App/API/Ontology"

From mx Help Wiki
Jump to: navigation, search
m
m
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
See [[App/API]] for additional conventions.  By default all methods return JSON formatted data or redirects.
+
[[App/API | Back to API home]]
 +
== Ontology related conventions ==
 +
* Unless otherwise noted methods default to return JSON formatted data.
 +
* '''CLASS_ID''' is a URI like '''<nowiki>http://purl.obolibrary.org/obo/HAO_0000397</nowiki>'''
 +
* See [[App/API]] for additional conventions.  
  
 
== Description ==
 
== Description ==
 
 
<nowiki>http:</nowiki>//''base_url''/api/'''ontology'''
 
<nowiki>http:</nowiki>//''base_url''/api/'''ontology'''
  
Line 9: Line 12:
  
 
== Response (Redirect) ==
 
== Response (Redirect) ==
 
+
  Redirect
  302 Redirect
+
  
 
== Example ==
 
== Example ==
 
 
Request:
 
Request:
  
Line 20: Line 21:
 
Response:
 
Response:
  
  302 Redirect to this wiki help page.
+
  Redirect to this wiki help page.
  
 
== Methods ==
 
== Methods ==
 
 
{{Special:Prefixindex/App/API/Ontology}}
 
{{Special:Prefixindex/App/API/Ontology}}

Latest revision as of 14:57, 15 September 2011

Back to API home

[edit] Ontology related conventions

  • Unless otherwise noted methods default to return JSON formatted data.
  • CLASS_ID is a URI like http://purl.obolibrary.org/obo/HAO_0000397
  • See App/API for additional conventions.

[edit] Description

http://base_url/api/ontology

Redirects to the wiki help pages (this page) for the ontology-based API methods.

[edit] Response (Redirect)

Redirect

[edit] Example

Request:

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

Response:

Redirect to this wiki help page.

[edit] Methods

App/API/OntologyApp/API/Ontology/analyzeApp/API/Ontology/glossary markup
App/API/Ontology/labelApp/API/Ontology/ontology classApp/API/Ontology/svg
App/API/Ontology/uri markup
Personal tools