Skip to main content

Table 2 SWS Web Services and related inputs and output.

From: SWS: accessing SRS sites contents through Web Services

Web Service name and description Inputs Outputs
getDBs Retrieve data from srsdb about libraries. lib: the acronym of the library. Default value: ALL Output: list of libraries' acronyms
getSites Retrieve data from srsdb about SRS sites. site: the acronym of the site. Default value: ALL Output: list of sites and related info
getImplementations Retrieve data from srsdb about implementations of libraries in SRS public sites. lib: the acronym of the library. Default value: ALL
site: the acronym of the site. Default value: ALL
Output: list of implementations and related info
testSites Check actual availability of sites. site: the acronym of the site. Default value: ALL
retries: the number of retries after an initial failure. Default value: 1
time: time between retries. Default value: 5 secs
activity: status of sites in one of the forms: <site> is active<site> is not active
querySWS Query a specified library and return entries related to queried terms. lib: the acronym of the library. No default value.
site: the acronym of the site. Default value: best site
query: the query (terms to be queried). No default value.
in_fields: list of library's fields to be searched. Default: AllText
out_fields: list of library's fields to be returned. Default: all
Entries: library's entries matching query
  1. This table lists SWS services by specifying their name, function, input and output.