Closed jag3773 closed 5 years ago
@jag3773: Just minifying the file shrunk it about 94 KB, from 998,586 bytes to 904,434.
In particular, you mean removing the spaces, right @phillip-hopper (line breaks are not present in the current version)?
Yes, @jag3773. I actually just ran it through https://www.cleancss.com/json-minify/.
This issue was solved in a slightly different manner in #52.
Story
As a developer, I want to be able to get a list of content for a particular resource instead of having to read the entire
catalog.json
.As a user, I don't want to wait a long time for the https://openbiblestories.squarespace.com/library/ page to load.
Notes
The d43-catalog needs to start outputting a JSON file that only lists the resources that are in the
catalog.json
endpoint byidentifier
.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 thecatalogs
array. Hence, onlylanguages
should be seen as a top level array in the output files.Acceptance Criteria
catalog.json
has a corresponding endpoint at /v3/resources/{identifier}.json, for example: