Get a Media URL
You can use contentClient.getRenditionURL() to get the default rendition of a digital asset, such as an image.
blogHeaderImage = contentClient.getRenditionURL({
'id': data['blog-post_header_image'].id
}),If you need other renditions, such as thumbnail, you can get the digital asset using contentClient.getItems() and refer to item.data.renditions.default and item.data.renditions.thumbnail.