Difference between revisions of "BioPortal REST services"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
* '''Example''': http://rest.bioontology.org/bioportal/rest/virtual/1104 | * '''Example''': http://rest.bioontology.org/bioportal/rest/virtual/1104 | ||
− | == Download ontology file | + | == Download an ontology file == |
+ | * '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version ID. | ||
* '''Signature''': ./ontologies/download/{ontology version id} | * '''Signature''': ./ontologies/download/{ontology version id} | ||
* '''Example''': http://rest.bioontology.org/bioportal/rest/ontologies/download/39002 | * '''Example''': http://rest.bioontology.org/bioportal/rest/ontologies/download/39002 |
Revision as of 16:22, 17 December 2008
This page documents the signatures for NCBO (and, more specifically, BioPortal) REST services. This list may not be exhaustive.
Note: Signatures for BioPoral services will change in January 2009. We will update this page when this change occurs.
The prefix for all service URLs in the table below is http://rest.bioontology.org/bioportal/rest
List all the latest version of ontologies
- Signature: ./ontologies
- Example: http://rest.bioontology.org/bioportal/rest/ontologies
Find a specific ontology based on a version id
- Signature: ./ontologies/{ontology version id}
- Example: http://rest.bioontology.org/bioportal/rest/ontologies/39002
Find all versions of an ontology form a virtual ontology id
- Signature:./virtual/{virtual ontology id}
- Example: http://rest.bioontology.org/bioportal/rest/virtual/1104
Download an ontology file
- Description: Download the file (.obo, .owl) corresponding to the given ontology version ID.
- Signature: ./ontologies/download/{ontology version id}
- Example: http://rest.bioontology.org/bioportal/rest/ontologies/download/39002
Get versions of an ontology id
- Signature: ./ontologies/version/{ontology id}
- Example: http://rest.bioontology.org/bioportal/rest/ontologies/version/1104
Get latest version of an ontology id
- Signature: ./virtual/{ontology_id}
- Example: http://rest.bioontology.org/bioportal/rest/virtual/1104
Get concept id
- Signature: ./concepts/{ontology version id}/{concept id}
- Example: http://rest.bioontology.org/bioportal/rest/concepts/39002/BRO:Resource
Get all root concepts for an ontology id
- Signature: ./concepts/{ontology version id}/root
- Example: http://rest.bioontology.org/bioportal/rest/concepts/39002/root
Search for concepts id
- Signature: ./search/concepts/{query>?ontologies={ids}
- Example:
Get concept for latest ontology version id
- Signature: ./virtual/{ontology id}/{concept id}
- Example: http://rest.bioontology.org/bioportal/rest/virtual/1104/BRO:Resource
List all ontology categories id
- Signature: ./categories
- Example: http://rest.bioontology.org/bioportal/rest/categories