Databank API

Silos

Obtain a list of all silos visible to your account or a list of datasets in a silo

Sections

  1. /silos
  2. /{silo name}
/silos

Returns a list of silos visible to your account

Controller: silos     action: index

GET

Returns 401 if not a valid user
Accept: text/html (with auth)
Returns text/HTML listing the 'silos' your account can see, with links to dataset view
Accept: text/plain, application/json (with auth)
Returns a JSON-encoded list of exising silos your account can see.
The file silos.txt contains an example of the data returned (data_returned)
Accept: */*, default (with auth)
Returns text/HTML listing the ’silos’ your account can see, with links to dataset view

POST, PUT, DELETE NOOP

/{silo name}

Returns a list of datasets in the silo

Controller: silos     action: siloview

GET

Returns 401 if not a valid user and 403 if not authorized
Accept:text/html (with auth)
Returns text/HTML listing the ids of each dataset, along with a form for changing the embargo information and deleting the dataset. A form for dataset creation is also available.
Accept: text/plain, application/json (with auth)
Returns a JSON-encoded list of dataset ids in that silo, along with the embargo information for each dataset
The file siloInformation.txt contains an example of the data returned (data_returned)
Accept:*/*, default (with auth)
Returns text/HTML listing the ids of each dataset, along with a form for changing the embargo information and deleting the dataset. A form for dataset creation is also available.

POST, PUT, DELETE NOOP