Character races

API Discussion
I would like to use /wow/data/character/races to populate one of the filters on our guild roster, but I can't get my head around the structure.
Why are there duplicate entries?

{
"races": [{
"id": 1,
"mask": 1,
"side": "alliance",
"name": "Human"
}, {
"id": 1,
"mask": 1,
"side": "alliance",
"name": "Human"
}, {
"id": 2,
"mask": 2,
"side": "horde",
"name": "Orc"
}, {
"id": 2,
"mask": 2,
"side": "horde",
"name": "Orc"
},
...


I'm pretty sure there is a reason. I just don't see it.
Could someone clarify it for me?

Thanks!
This is most likely a bug. There used to only be one entry per race.
Not sure what's going on here. I'll add it to our backlog for review.
I found another place races are duplicated:

http://us.battle.net/api/wow/data/guild/rewards

Check out some of the races keys, the Race IDs are listed twice.

Join the Conversation

Return to Forum