As a user
When I get OER search results
I don't want to wait a long time for the enrichments (and thumbnails) to come up
Tasks
[x] Provide an API endpoint such as /api/v1/ingest_oer/<material_id> that creates a new OER from the given material_id (unless it already exists) by calling X5GON. Very similar to our existing search (which triggers enrichment tasks), except we call something like https://platform.x5gon.org/products/feed/#get-info-about-oer.
[x] Write a script that calls the endpoint by simply looping from 1 through all the known material_ids (ask Erik for the highest number)
[ ] Consider a way to include thumbnail creation in the process (separate issue #328, Sahan to lead)
As a user When I get OER search results I don't want to wait a long time for the enrichments (and thumbnails) to come up
Tasks
/api/v1/ingest_oer/<material_id>
that creates a new OER from the given material_id (unless it already exists) by calling X5GON. Very similar to our existing search (which triggers enrichment tasks), except we call something likehttps://platform.x5gon.org/products/feed/#get-info-about-oer
.