Previous Next

GSAC API

The GSAC Repository supports a RESTful web service API that allows a client to make site and file queries and get the results returned in a variety of formats.
 

All of the URLS are based on the root path, e.g.:

${fullurlroot}
For querying sites you access:
${fullurlroot}/site/search
For querying files you access:
${fullurlroot}/file/search
The results can be returned in a variety of output formats using the "output" URL argument, e.g.:
${fullurlroot}/site/search?...&output=site.csv
The simplest way to see examples of this to make a Site query or a File query. In the result html page under Search Again -> Search Links is a list of the query results in the other formats available (e.g., CSV). You can just cut and paste the desired URL into your scripts.
 

The Repository Information page lists all of the URL arguments and their values for both site and file queries.

URL Argument Types

We have tried to be flexible with how URL arguments are used.

Previous Next