‘chain_image’¶
/api/v1/chain_image/{image_name}Provides chain images. This API is not restricted by endpoint/logon session.
GET¶
Load chain image:
GET /api/v1/chain_image/f0611f14241a11e59bf5000c294fde0e
GET /api/v1/chain_image/default
Returns:
PNG file, with appropriate content-type and cache settings.
You may use it in src attribute of html image.
Returns default image if image_name does not exist.
Do not worry about image cache invalidation, possible to cache forever. When admin uploads new image of the chain, ‘chain.image_name’ changes.