Closed codeanticode closed 4 years ago
The current implementation is too slow, as it lists the local or S3 folder every time get is called:
Should be solved with this: https://github.com/codeanticode/oasis-server/commit/6177050a87873ec415ae8c153b7fc82303130b18
Right now, there is a separate endpoint to list the images associated to a given element (event, artist, etc), which has the following format:
$SERVER_URL/api/media/$RESOURCE_ID?resource-kind=event
This makes it harder to implement the server. It would be much more easier if the list of images are added to the get request.