Difference between revisions of "App/API/Ontology"

From mx Help Wiki
Jump to: navigation, search
m
m
 
(15 intermediate revisions by one user not shown)
Line 1: Line 1:
== Conventions ==
+
__NOTOC__
 +
[[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.
  
=== Request ===
+
== Description ==
 +
<nowiki>http:</nowiki>//''base_url''/api/'''ontology'''
  
* [ option1 | option2 ] - List of options, one of which is required
+
Redirects to the wiki help pages (this page) for the ontology-based API methods.
* < value > - Required.
+
  
=== Response ===
+
== Response (Redirect) ==
 +
Redirect
  
Regular text: literal
+
== Example ==
''Italicized text'': replaced with response
+
Request:
'''...''': Result at same level can be repeated.
+
  
 +
'''http://api.hymao.org/api/ontology/'''
  
== Methods ==
+
Response:
  
 +
Redirect to this wiki help page.
 +
 +
== 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