mediacloud / news-search-api

Internal API server that offers search access to the Media Cloud Online News Archive (in Elasticsearch).
https://mediacloud.org
GNU Affero General Public License v3.0
1 stars 3 forks source link

Collections endpoint #13

Closed pgulley closed 9 months ago

pgulley commented 10 months ago

Since we have split this index into different collections for each year, and the API is configured to target one collection at a time, the api client needs to be able to get a list of all available indexes to route queries correctly. I'd propose just "/collections" to return a json of all available collections.

pgulley commented 9 months ago

Adressed in #16