Playable Class Media Issues

Hello, I need ask about the Media in Playable Class (I not verified if it is repeated in other environments).

If I ask about the playable class 12:

https://us.api.blizzard.com/data/wow/playable-class/12?namespace=static-us

I get a media info

 "media": {
        "key": {
            "href": "https://us.api.blizzard.com/data/wow/media/playable-class/12?namespace=static-8.3.0_32861-us"
        },
        "id": 12
    },

And If I request this href:

https://us.api.blizzard.com/data/wow/media/playable-class/12?namespace=static-8.3.0_32861-us

I obtain a achievement_boss_illidan.jpg

{
    "_links": {
        "self": {
            "href": "https://us.api.blizzard.com/data/wow/media/playable-class/12?namespace=static-8.3.0_32861-us"
        }
    },
    "assets": [
        {
            "key": "icon",
            "value": "https://render-us.worldofwarcraft.com/icons/56/achievement_boss_illidan.jpg"
        }
    ],
    "id": 12
}

the case of Death Knight also has problems

As far as I can tell icon urls do repeat for different media IDs even within the same endpoint, that is the case for item media.

As you can see here there are some icons used for many different items. However media IDs are not the same across different endpoints. You can have item media id #12 pointing to a different icon than playable class media #12 or achievement media #13.

Ok, so I need save sparely.

But in this specific time, the playable class media return the achievement media

Not really, it returns the playable item media: https://us.api.blizzard.com/data/wow/media/playable-class/12?namespace=static-8.3.0_32861-us that points out to an icon they re-used, and that icon name is achievement_boss_illidan.jpg as in the game files. They don’t duplicate the icon under two different names.

Um … I don’t understand, because when I ask for information about a playable class, it gives me the icon of an achievement that does not correspond to the class.

I’m not sure I understand. Isn’t class 12 Demon Hunter ? It is pointing out to an icon of Illidan who is a Demon Hunter. I guess they just used the same icon that was previously created for an achievement.

1 Like

:man_facepalming: is clearly bad.

For a playable class 11 is correct media information:

{
    "_links": {
        "self": {
            "href": "https://us.api.blizzard.com/data/wow/media/playable-class/11?namespace=static-8.3.0_32861-us"
        }
    },
    "assets": [
        {
            "key": "icon",
            "value": "https://render-us.worldofwarcraft.com/icons/56/classicon_druid.jpg"
        }
    ],
    "id": 11
}

Yes, but if you get the resto druid specialization they used the same icon for the former Healing Touch spell. There is not a different icon name for each media endpoint.

Yea I got it, but Blizzard need fix a playable class media icon for a demon hunter :stuck_out_tongue: thx for solved my media question.

1 Like

If you look at icons used for achievements they also use icons originally designed for something else: WowQuery

The Death Knight to is bad:

{
    "_links": {
        "self": {
            "href": "https://us.api.blizzard.com/data/wow/media/playable-class/6?namespace=static-8.3.0_32861-us"
        }
    },
    "assets": [
        {
            "key": "icon",
            "value": "https://render-us.worldofwarcraft.com/icons/56/spell_deathknight_classicon.jpg"
        }
    ],
    "id": 6
}

@Schiller thx, but the idea is the blizzard api get me a correct information :grin:

It would be really nice if the API returned the same icons used in Playable Classes. Those icons are awesome!

1 Like

Let me try to help you to clarify the confusion you might have regarding the icons:

  1. Game has over 21,000 icons
  2. Some items have the same icon (same name, for example amazing_item_icon.blp)
  3. Imagine, more than 170,000 in game items would have different icon names (but the same icon in general)
  4. Blizzard is using the same icon name for everything which is ‘relatable’
  5. Illidan was added into the game BEFORE any of the Demon Hunter class stuff were
  6. Hence some of the Demon Hunter class abilities may have icons referenced (named) after some illidan abilities (this goes for anything tbh)

And here is sort of more “generalized” explanation:

  1. You have two Nissan GT-Rs in the dababase
  2. One of them is Black, one of them is White
  3. They have the same icon - nissan_gtr_icon.png which has the white car on it
  4. However, on the actual page, there is a ‘color’ option which tells you that this car is available in Black and White color
  5. By using the same icon, you are reducing the amount of space needed to store the icons (and game, as i’ve already said has more that 21,000 icons and size of one icon is roughly 7kb, so this is 140MB of icons, imagine 7kb * 170,000 items and 40% of them have the same icon, just waste of space)
1 Like

I understand your point, but these images are clearly BAD

This is the image of the Demon Hunter class?

https://render-us.worldofwarcraft.com/icons/56/achievement_boss_illidan.jpg

This is the image of the Death Knight class?

https://render-us.worldofwarcraft.com/icons/56/spell_deathknight_classicon.jpg

clearly NO

Greetings Clein,

We believe that as you’ve suggested the icon linked in the media document for Demon Hunter may be incorrect. We are tracking this as a bug.

Thanks for the report!