This continues laying the server-side foundation for Rosalind talking to Gravity's filter/artworks endpoint by
enumerating the query params that can be accepted and forward on to Gravity (necessitated by Rails's strong parameters convention — though I wonder about that, see below)
adding an API endpoint that calls the new FilteredArtworkSearchService, to do the forwarding
This means we can hit Gravity's filter/artworks via Rosalind's API now, so that we can start using this in the frontend.
https://artsyproduct.atlassian.net/browse/FX-4109
This continues laying the server-side foundation for Rosalind talking to Gravity's
filter/artworks
endpoint byFilteredArtworkSearchService
, to do the forwardingThis means we can hit Gravity's filter/artworks via Rosalind's API now, so that we can start using this in the frontend.
Examples:
localhost: http://localhost:5000/filter/artworks?keyword=soup&attribution_class=unique&artist_ids[]=andy-warhol&artist_ids[]=banksy
staging [after this is merged]: https://rosalind-staging.artsy.net/filter/artworks?keyword=soup&attribution_class=unique&artist_ids[]=andy-warhol&artist_ids[]=banksy