Icon
The icon API offers media icons that you can get via an HTTPS request. All icons are PNG.
GET /icon/entity
This endpoint retrieves the entity icon given the specified typeId.
Parameter | Default | Description | Type |
|---|---|---|---|
typeId |
| The typeId is the name of the icon. This endpoint can be used with just this parameter, doing so will return the icon you want, 21x21 pixels. See below for a list of available icons. Note: If an icon is not available, the API will return 400 with a response listing available icons. | query |
size | 21 | The size parameter allows you to specify the size of the icon that you want. | query |
GET /tix/api/xml/icon/entity?typeId=tradeunit&nodeId=xxxx Available Icon types (21x21)
| typeId |
| typeId |
|---|---|---|---|
tradeunit | tradeunit-clustered-sentto | ||
tradeunit-sentto | tradeunit-clustered-receivedfrom | ||
tradeunit-receivedfrom | tradeunit-clustered-sentto-receivedfrom | ||
tradeunit-sentto-receivedfrom | batch | ||
tradeunit-clustered | batch-visible |
GET /icon/entity/list
You can from this endpoint get a preview of the available icon types with their default dimension.