Difference between revisions of "App/API/Ontology"
From mx Help Wiki
m |
|||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | [[App/API | Back to API home]] | |
== 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 | + | * '''CLASS_ID''' is a URI like '''<nowiki>http://purl.obolibrary.org/obo/HAO_0000397</nowiki>''' |
* See [[App/API]] for additional conventions. | * See [[App/API]] for additional conventions. | ||
== Description == | == Description == | ||
− | |||
<nowiki>http:</nowiki>//''base_url''/api/'''ontology''' | <nowiki>http:</nowiki>//''base_url''/api/'''ontology''' | ||
Line 14: | Line 12: | ||
== Response (Redirect) == | == Response (Redirect) == | ||
− | |||
Redirect | Redirect | ||
== Example == | == Example == | ||
− | |||
Request: | Request: | ||
Line 28: | Line 24: | ||
== Methods == | == Methods == | ||
− | |||
{{Special:Prefixindex/App/API/Ontology}} | {{Special:Prefixindex/App/API/Ontology}} |
Latest revision as of 14:57, 15 September 2011
[edit]
- 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/Ontology | App/API/Ontology/analyze | App/API/Ontology/glossary markup |
App/API/Ontology/label | App/API/Ontology/ontology class | App/API/Ontology/svg |
App/API/Ontology/uri markup |