Properly handle someone sending in both excludedetails and thumbsize
Closed this issue · 1 comments
KevinPayravi commented
Currently, if someone sends in both excludedetails=true
and thumbsize=##
, the server responds with a 500 error as it will try to generate thumbnails based on non-existence image fields (since excludedetails
results in only the required fields being queried).
API should be updated to properly account for this case by returning a 400 error indicating that one or the other should be provided, not both.
KevinPayravi commented
Resolved via #25