2
Images
TChilderhose edited this page 5 years ago
GET
Summary
You can get images from Lidarr using either API key authentication or the authentication method set in Settings: General (including None
).
Parameters
id int
- The artist ID the image belongs to
albumId int
- The album ID the image belongs to
Images are available in a few different sizes (based on the height), as long as Lidarr was able to resize them, which may not be available on all systems. If A particular size is unavailable the original file will be returned.
Append /api/v1
to the URL to use API key authentication (after the URL Base) and add/adjust what type of id you are passing to the path after MediaCover
.
- Artist
/MediaCover/{id}/poster.jpg
becomes/api/v1/MediaCover/Artist/{id}/poster.jpg
/lidarr/MediaCover/{id}/poster.jpg
becomes/lidarr/api/v1/MediaCover/Artist/{id}/poster.jpg
- Album (Note: Albums -> Album)
/MediaCover/Albums/{albumId}/cover.jpg
becomes/api/v1/MediaCover/Album/{albumId}/cover.jpg
/lidarr/MediaCover/Albums/{albumId}/cover.jpg
becomes/lidarr/api/v1/MediaCover/Album/{albumId}/cover.jpg
Replace the extension with -{size}
.{extension}
/MediaCover/{id}/poster.jpg
becomes/MediaCover/{id}/poster-250.jpg
Available Sizes
Posters:
- 500px
- 250px
Banners:
- 70px
- 35px
Fanart:
- 360px
- 180px
Cover:
- 500px
- 250px