How to build an image URL.
base_url
, a file_size
, and a file_path
.
The base_url and file_size are obtained via the /configuration API endpoint, while the file_path is specific to the media object you’re querying. For example, if a movie returns a poster_path of /1E5baAaEse26fej7uHcjOgEE2t2.jpg
and you want the w500 size, the complete image URL would combine these elements accordingly.
logo_path
field in our API responses delivers a .png
file. Why? This design choice ensures backward compatibility, as SVG support was added after the initial system rollout—keeping everything running smoothly for existing setups.
When you dive into the image methods, you’ll spot a handy new field: file_type
. This little gem reveals the original format of the uploaded logo asset, making it easy to pick the right approach:
file_type
confirms it’s a PNG, and you can request any available size you’d like—our system resizes these from the original upload to fit your needs.
wwemzKWzjKYJFfCeiB57q3r4Bcm.svg
), you can call any of the following: