Difference between revisions of "App/API/Ontology"

From mx Help Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
 
== Ontology related conventions ==
 
== Ontology related conventions ==
 
 
* Unless otherwise noted methods default to return JSON formatted data.
 
* 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>'''
 
* '''CLASS_ID''' is a URI like '''<nowiki>http://purl.obolibrary.org/obo/HAO_0000397</nowiki>'''
Line 8: Line 6:
  
 
== Description ==
 
== Description ==
 
 
<nowiki>http:</nowiki>//''base_url''/api/'''ontology'''
 
<nowiki>http:</nowiki>//''base_url''/api/'''ontology'''
  
Line 14: Line 11:
  
 
== Response (Redirect) ==
 
== Response (Redirect) ==
 
 
  Redirect
 
  Redirect
  
 
== Example ==
 
== Example ==
 
 
Request:
 
Request:
  
Line 28: Line 23:
  
 
== Methods ==
 
== Methods ==
 
 
{{Special:Prefixindex/App/API/Ontology}}
 
{{Special:Prefixindex/App/API/Ontology}}

Revision as of 11:32, 3 March 2011

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.

Description

http://base_url/api/ontology

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

Response (Redirect)

Redirect

Example

Request:

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

Response:

Redirect to this wiki help page.

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