Difference between revisions of "BioPortal REST services"
Jump to navigation
Jump to search
(New page: 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 ...) |
|||
Line 6: | Line 6: | ||
http://rest.bioontology.org/bioportal/rest | http://rest.bioontology.org/bioportal/rest | ||
− | + | == List all 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 ontology file 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 |
Revision as of 15:16, 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 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 ontology file 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