This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:requests:avl_item_image [15/02/2013 09:01] alek |
en:sidebar:remoteapi:apiref:requests:avl_item_image [13/03/2023 10:45] yami [Unit image] |
||
---|---|---|---|
Line 5: | Line 5: | ||
<code> | <code> | ||
- | http://{host}/avl_item_image/<item_id>/<max_border>/<name>.png | + | http://{host}/avl_item_image/<item_id>/<max_border>/<any.png>?b=<long>&v=<bool>&sid=<text> |
</code> | </code> | ||
Line 11: | Line 11: | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
| item_id | unit ID | | | item_id | unit ID | | ||
- | | max_border | max image size (from 16 to 256 pixels, we recommend to use 32) | | + | | max_border | max image size (from 16 to 256 pixels, recommended: 32) | |
- | | name | any value (optional), is specified if it's needed to download image instead of using cached value | | + | | any | any value (optional), specified if it is needed to download the image instead of using the cached value | |
+ | | sid | session ID | | ||
===== Response ===== | ===== Response ===== | ||
- | Returns image in png format. | + | Returns an image in PNG format. |
|