unfoldingWord-dev / d43-catalog

Lambda functions for the Door43 Catalog.
https://api.door43.org/v3/catalog
MIT License
1 stars 8 forks source link

Languages Endpoint #46

Open jag3773 opened 6 years ago

jag3773 commented 6 years ago

Story

As a developer, I want to be able to get a list of content for a particular language instead of having to read the entire catalog.json.

Notes

The d43-catalog needs to start outputting a JSON file that just lists the resources that are in the catalog.json endpoint by language.

This process should happen whenever the main catalog.json file is updated.

The format of the JSON files should be the same as the catalog.json, excepting the catalogs array. Hence, only languages should be seen as a top level array in the output files.

Acceptance Criteria

jag3773 commented 5 years ago

Much of the code for this should have already been written in #52 . Implementing this should be a matter of changing the key that we are pivoting on.