Put 5 cases in S3 using trial directory structure
kilbergr opened this issue · 3 comments
Static File Access Prototype Feature
We want to experiment with serving static files based on a logical directory structure.
This ticket is to select five cases and replicate the file structure from this doc using those cases as content. They can be in the same volume/reporter/jurisdiction. You can take the data from the current live site
You will have to generate new file using segments from the live data (i.e. https://api.case.law/v1/cases/?jurisdiction=ill&full_case=true&body_format=html to create Case1.html).
Upload them to S3 in that file structure. You'll need Ben's help to get access to a bucket.
Use unrestricted cases to avoid any messiness.
The from vendor elements are a nice to have.
AC:
- 5 cases are up in an S3 test bucket in the expected directory format
5 cases uploaded
https://api.case.law/v1/cases/1804828/
https://api.case.law/v1/cases/1804843/
https://api.case.law/v1/cases/1804921/
https://api.case.law/v1/cases/1804899/
https://api.case.law/v1/cases/1803275/
From Volume
https://api.case.law/v1/volumes/32044078499886/
From Reporter
https://api.case.law/v1/reporters/272/
In format specified here