Get all posters in gallery for a show/season?

Kosire wrote 14 days ago:

Hi,

Is it not possible to retrieve all the posters for a show or season in the API?

I can only seem to grab one, the primary image for a show or season.


gazza911 wrote 14 days ago:

You are correct that you can't get more than one image.

Unfortunately as it's currently in the API as an object rather than an array, it would be a breaking change (for anyone currently using the API) and so it's not likely that this will be added to the current endpoints.

If it did get added, we'd have to have it as a separate endpoint to avoid this.

Kosire wrote 14 days ago:

Or simply add an extra array with "additional" posters.

Keep the current object as the "primary" poster and then nothing would break :)


gazza911 wrote 14 days ago:

It would probably be better as an endpoint because most users won't need more than 1 image.

You'd be able to embed it in the shows request anyway, so you wouldn't have to make a 2nd request.


david wrote 13 days ago:

Adding this (as a separate endpoint) is definitely intended for the future. The reason it's not there yet is because I don't know if the current image specifications (e.g. the banner/poster format) are stable enough to release in the API.

The more interest in it, the quicker it would be added. :)


tnt wrote 13 days ago:

david wrote:
The reason it's not there yet is because I don't know if the current image specifications (e.g. the banner/poster format) are stable enough to release in the API.

Is it possible to implement a background check which would prevent from setting the wrong image type based on image dimensions/proportions?


david wrote 13 days ago:

Probably, but we'd have to formally better define those dimensions first.