Open Provagus opened 4 years ago
Redirecting "icon" to primary category should also work or eventually being able to call variation by id, not string. Like https://images.evetech.net/types/30558/0
The correct way at the moment is the one mentioned, fetch categories from image server beforehand. To be considered but we don't give it anything close to high prio.
The correct way at the moment is the one mentioned, fetch categories from image server beforehand. To be considered but we don't give it anything close to high prio.
The way I added later (https://images.evetech.net/types/30558/0 returning same as https://images.evetech.net/types/30558/relic) would also work and it would be less work to implement. Devs not interested in image variations would just call 0 as type for all images and always get valid response.
Feature Request
New image server has different categories for different items. Most of them has icon category, but not all. Blueprints have for example bp and bpc endpoints. In case of blueprints it's easy to identify them due to word "blueprint" in item name. There are also other types of items like "Malfunctioning Thruster Sections". They have only "relic" image category. (Probably there are also other items with "special" categories). Calling https://images.evetech.net/types/30558/icon gives error. I can't know about it unless I make some list with all special items or I ping server. It force me to call all images with "icon" category or ping image server to get categories and then call it again to get image. It doubles number of calls and slows both my and image server service. Adding main image category to returned items in endpoints like /universe/types/{type_id}/, /characters/{character_id}/assets/, etc would solve that problem
Use case
Services switching into new image server. Showing item images on services like evepraisal, evemarketer, seat, etc
Authentication
Without changes
Example return
Checklist
Check all boxes that apply to this issue: