Bored at work, on a whim I decided to just type “skins.json” into the URL. And whaddaya know, it worked!
https://api.guildwars2.com/v1/skins.json
Okay, how about skin_details.json? Yep!
https://api.guildwars2.com/v1/skin_details.json?skin_id=1343
The details appear to be a stripped-down version of item_details.json. I haven’t attempted to process everything yet, but here’s what I’ve seen so far:
{
skin_id: integer,
name: string,
(maybe) description: string,
type: enum(Armor, Back, Weapon),
flags: [any(“ShowInWardrobe”, “HideIfLocked”, “NoCost”)],
restrictions: [<race>],
icon_file_id: integer,
icon_file_signature: string,
(maybe) armor: { type: <armor_subtype>, weight_class: <armor_weight>},
(maybe) weapon: { type: <weapon_subtype>, damage_type: <damage_type> },
}
I’d guess that type can also be Outfit or Back, but I haven’t found any of those yet since there are so few compared to armor and weapons.
[edit] Found type:Back, does not have a back:{} sub-object.
[edit2] Found flag HideIfLocked, seems to be on most gemstore skins. This explains all the people on reddit who couldn’t unlock a quaggan backpack (because they hadn’t opened the container yet) and also couldn’t see it in the wardrobe.
[edit3] Doesn’t look like outfits are in here at all.
