alterm4nn/ChronoZoom — pull request #73 by javierluraschi (2013-03-20 23:33:05+00:00)
Title: Collections API

1) Added support for SuperCollections and Collections in the API layer using nicely-formatted URLs. For instance:

http://cz-july2013-javierluraschi-fixes.azurewebsites.net/aids-standalone/aids-standalone/

2) Added new GetSuperCollection API to retrieve the users SuperCollections. If a SuperCollection does not exist, this API creates one for the user. See:

http://cz-july2013-javierluraschi-fixes.azurewebsites.net/ChronoZoom.svc/GetSuperCollection

3) Modified Tours and Search API to be aware of Collections. For instance, search results are scoped to the given collection. See:

http://cz-july2013-javierluraschi-fixes.azurewebsites.net/Chronozoom.svc/Search?searchTerm=aids&supercollection=aids-standalone&collection=aids-standalone&_=1363822187517

4) Added a web.config DefaultSuperCollection parameter to set the default SuperCollection, currently set to "Beta Content" with:

5) Modified import tool to load data from JSON files stored under a dump directory instead of requesting them from the web. This makes the import process more reliable since at some point we are planning to turn off the beta servers.