openverse-api
openverse-api copied to clipboard
The Openverse API allows programmatic access to search for CC-licensed and public domain digital media.
## Description PR #727 introduced a query which runs for every Audio result and attempts to retrieve the thumbnail associated with the audio record. If no thumbnail is found, it...
## Problem Some providers (like SMK) may link to quite large images in their `image_url`. This can cause unacceptably slow response times or even timeouts when generating thumbnails via our...
## Fixes Fixes #878 by @obulat ## Description An alternative version of my [other PR to address this issue](https://github.com/WordPress/openverse-api/pull/878) that introduces maximal configurability into the cache times so that we...
## Description Requests does not raise an exception if a link 404s, you have to check the status code or call `raise_for_status` on the response. ## Reproduction 1. See the...
## Problem In the search controller, when performing filtering for more than one value, we use an array of `term` queries instead of using `terms`. https://github.com/WordPress/openverse-api/blob/6cc0551c639081f895d974b30cc465713d0ce360/api/catalog/api/controllers/search_controller.py#L172-L177 ## Description Replace the...
## Problem As discussed in the comments of #864, we should remove the unused throttle classes `OneThousandPerMinute` and `OnePerSecond`. ## Description Removing unused code. ## Alternatives ## Additional context ##...
## Problem Currently we only log the query itself, but not the process that led to the query being constructed. We are seeing queries get sent with sizes of up...
## Description If the upstream provider (in the case of our current test configuration, Flickr) returns an error, then our tests will fail regardless of whether anything actually changed to...
## Problem In merged PR #844, we had to remove support for running the API tests on the host because the difference in port numbers inside the container and outside...
## Problem The API currently uses [the `grequests` library](https://github.com/spyoungtech/grequests) for handling some of the `head` requests it completes when returning results (specifically in [`validate_images.py`](https://github.com/WordPress/openverse-api/blob/main/api/catalog/api/utils/validate_images.py#L37)). ## Description The README for the...