Difference between revisions of "BioPortal REST services"
Jump to navigation
Jump to search
Line 41: | Line 41: | ||
== Search for concepts id == | == Search for concepts id == | ||
* '''Signature''': ./search/concepts/{query>?ontologies={ids} | * '''Signature''': ./search/concepts/{query>?ontologies={ids} | ||
− | * '''Example''': | + | * '''Example''': http://rest.bioontology.org/bioportal/rest/search/concepts/cancer?ontologies=13578,38312 |
== Get concept for latest ontology version id == | == Get concept for latest ontology version id == |
Revision as of 16:25, 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: http://rest.bioontology.org/bioportal/rest/search/concepts/cancer?ontologies=13578,38312
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