SABIO-RK RESTful Web Services Manual
API methods
- check API status
- get a single kinetic law entry by ID
- get kinetic law entries by IDs
- get fields available for use in query strings for searching
- search for kinetic law entries (sbml)
- search for kinetic law entries and return a list of the entry IDs
- search for kinetic law entries (bioPAX)
- search for kinetic law entries and return the only the number of entries found
- search for SabioReactionIDs
- get fields available for suggestion lists
- get suggestion list for the supplied field and term
- get number of suggestions for the supplied field and term
Error codes and their meaning
HTTP Response Code | Description |
200 | OK. The request to the web service completed successfully. |
400 | Bad request. The parameters passed to the API endpoint were invalid. |
404 | Not found. The resource corresponding to the supplied parameters does not exist. |
500 | Service unavailable. An internal problem prevented us from fulfilling your request. |
SABIO REST api methods
Methods returning models of entries
Description: Get a single kinetic law entry by SABIO entry ID
Input: N.A.
Output: SBML model
Example URL: http://sabiork.h-its.org/sabioRestWebServices/kineticLaws/123
Optional Parameters:
- level - SBML level, default value:3
- version - SBML version, default value:1>
- normalized - Export parameters with normalized units, default:true
Description: Get kinetic law entries by SABIO entry IDs
Input: list of SABIO entry IDs
Output: SBML model
Example URL: http://sabiork.h-its.org/sabioRestWebServices/kineticLaws?kinlawids=123,234
Optional Parameters:
- level - SBML level, default value:3
- version - SBML version, default value:1>
- normalized - Export parameters with normalized units, default:true
Description: Search for kinetic law entries by SABIO entry by a query string
Input: query string, see Search Keyword Vocabularyfor how to form a query
Output: SBML model
Example URL: http://sabiork.h-its.org/sabioRestWebServices/searchKineticLaws/sbml?q=Tissue:liver AND Organism:Homo sapiens
Optional Parameters:
- level - SBML level, default:3
- version - SBML version, default:1>
- normalized - Export parameters with normalized units, default:true
Description: Search for kinetic law entries by SABIO entry by a query string
Input: query string, see Search Keyword Vocabularyfor how to form a query
Output: BioPAX model
Example URL: http://sabiork.h-its.org/sabioRestWebServices/biopax?q=Tissue:liver AND Organism:Homo sapiens
Description: Search for kinetic law entries by SABIO entry by a query string, return only the number of the matching entries
Input: query string, see Search Keyword Vocabularyfor how to form a query
Output: XML or plain text
Example URL: http://sabiork.h-its.org/sabioRestWebServices/count?q=Tissue:liver AND Organism:Homo sapiens
Optional Parameters:
- format - format for export "xml" or "txt", default:xml
Methods returning other information
Description: Check status of API
Input: N/A
Output: "UP" if REST web services are available
Example URL: http://sabiork.h-its.org/sabioRestWebServices/status
Description: get list of available fields for querying
Input: N/A
Output: XML list of available fields
Example URL: http://sabiork.h-its.org/sabioRestWebServices/searchKineticLaws
Optional Parameters:
- format - format for export "xml" or "txt", defautl value:xml
Description: Search for SabioReactionIDs
Input: query string, options the same as for kinetic law entry search
Output: XML or plain text list of all SabioReactionIDs which have entries matching search criteria
Example URL (New style query): http://sabiork.h-its.org/sabioRestWebServices/reactions/reactionIDs?q=q=KeggReactionID:R00278
Optional Parameters:
- format - format for export "xml" or "txt", default:xml
Description: get suggestions fields
Input: N.A.
Output: XML containing the list of all valid field names available for getting suggestions
Example URL (uniprotIDs, all results): http://sabiork.h-its.org/sabioRestWebServices/suggestions
Description: get suggestions
Input: field name and term to search for. No query string supplied results in results for the field being returned (eg, all uniprotIDs used in SABIO entries)
Output: XML or plain text
Example URL (uniprotIDs, all results): http://sabiork.h-its.org/sabioRestWebServices/suggestions/uniprotIDs
Example URL (pathways, search with partial string): http://sabiork.h-its.org/sabioRestWebServices/suggestions/pathways?searchPathways=glyc
Optional Parameters:
- format - format for export "xml" or "txt", default:xml
Description: get the number of matching suggestions
Input: field name and term to search for. No query string supplied results in results for the field being returned (eg, all uniprotIDs used in SABIO entries)
Output: XML or plain text
Example URL (uniprotIDs, all results): http://sabiork.h-its.org/sabioRestWebServices/suggestions/uniprotIDs/count
Example URL (pathways, search with partial string): http://sabiork.h-its.org/sabioRestWebServices/suggestions/pathways/count?searchPathways=glyc