Add new image sources to the API #3393
Labels
📄 aspect: text
Concerns the textual material in the repository
🌟 goal: addition
Addition of new feature
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: api
Related to the Django API
🔒 staff only
Restricted to staff members
Problem
Some image sources were added to the catalog, but they are not available at
https://api.openverse.engineering/v1/images/stats
because they were not added to the API asContentProvider
.Description
The following sources exist in the Elasticsearch, but not as
ContentProvider
models.archief_alkmaar
bib_gulbenkian
east_riding
finnish_heritage_agency
finnish_satakunnan_museum
justtakeitfree
national_museum_of_finland
waltersartmuseum
wellcome_collection
Note: The Walters Art Museum has items in ES, but there's no ContentProvider, and no results are returned by the API. Why?
Flora-on content is hidden in the Django Admin.
Description
The
https://api.openverse.engineering/v1/images/stats
returns stats only for the sources that have aContentProvider
record in the database.The ES stats are saved to the Redis cache. Here's the current value:
Alternatives
Create an automated process for regularly comparing the results from ES
stats
query and the Django APIContentProvider
s that would send a notification to add a new provider. The addition would still require manual intervention to add the correct URL.Additional context
There are some sources that have very few items in the ES (
archief_alkmaar
- 73,east_riding
- 11). @WordPress/openverse-catalog, do you think we should remove them as a separatesource
? They might have more items available, but not yet ingested, so I'm not sure.The text was updated successfully, but these errors were encountered: