Icons
Base: /api/icons
Item icons as PNG
Handler: IconsHandler
GET
/api/icons/{itemId}/icon
Get item icon
Returns the icon of an item as image/png.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
itemId
|
string | Yes | Item ID |
Response Example
"raw PNG bytes (Content-Type: image/png)"
cURL
curl -X GET 'http://localhost:5550/api/icons/Weapon_Sword_Iron/icon' \
-H 'X-Admin-Token: YOUR_TOKEN'
Internal Behavior
Resolves the icon path from the item config and searches every asset pack.