I've noticed this evening that some queries are returning the incorrect number of responses.
For example, this query returns just one result: http://openapi.lovefilm.com/catalog/title/119097/similars?expand=synopsis,artworks,people&items_per_page=4
This query, which finds titles similar to Inception, returns 0 results: http://openapi.lovefilm.com/catalog/title/127265/similars?expand=synopsis,artworks,people&items_per_page=4
This query, which finds titles similar to COD4:MW, returns 19 results! http://openapi.lovefilm.com/catalog/title/93597/similars?expand=synopsis,artworks,people&items_per_page=4
In each case, the "items_per_page" element of the returned JSON document indicates 4 items, yet the contents of the document clearly exceeds that.
Has something changed with regards to the "items_per_page" parameter?
Message edited by David 2 years ago
Mark Morgan – 2 years ago
Heya David,
This was a bug our end for any 'similars' requests. A fix for this is done, and will go out next week, pending QA.
Take care, Mark.
Please sign in to add a post.
I've noticed this evening that some queries are returning the incorrect number of responses.
For example, this query returns just one result: http://openapi.lovefilm.com/catalog/title/119097/similars?expand=synopsis,artworks,people&items_per_page=4
This query, which finds titles similar to Inception, returns 0 results: http://openapi.lovefilm.com/catalog/title/127265/similars?expand=synopsis,artworks,people&items_per_page=4
This query, which finds titles similar to COD4:MW, returns 19 results! http://openapi.lovefilm.com/catalog/title/93597/similars?expand=synopsis,artworks,people&items_per_page=4
In each case, the "items_per_page" element of the returned JSON document indicates 4 items, yet the contents of the document clearly exceeds that.
Has something changed with regards to the "items_per_page" parameter?
Message edited by David 2 years ago
Mark Morgan – 2 years ago
Heya David,
This was a bug our end for any 'similars' requests. A fix for this is done, and will go out next week, pending QA.
Take care, Mark.