Don't know if this is the right place for this, so please correct me if I'm wrong.
When making requests to the /search endpoint, the length of the results array is incorrect when searching multiple resources. It seems to be applying the {limit} param to each individual resource instead of the aggregate result set.
This request returns 10 results (only searching games):
http://api.giantbomb.com/search?query=mass&resources=game&limit=10&format=json&api_key=[API_KEY]
This request returns 20 results (searching games and people):
http://api.giantbomb.com/search?query=mass&resources=game,person&limit=10&format=json&api_key=[API_KEY]
This request returns 53 results (searching everything):
http://api.giantbomb.com/search?query=mass&limit=10&format=json&api_key=[API_KEY]
I don't know if this is expected behaviour, but it seems incorrect.
Log in to comment