API:2/outfits
From Guild Wars 2 Wiki
< API:2
Jump to navigationJump to search
/v2/outfits
- HTTP method
- GET
- Format
- json
- API version
- version 2
- Release date
- 2016-09-20
- Scope
- none
- Optional
- none
This resource returns information about the outfits that are in the game.
Endpoints
- None - Request the list of all available outfit
ids. id- (Optional) Request the outfit for the specifiedid. Cannot be used when specifying theidoridsparameters.
Parameters
lang– (Optional) Request localized information.page- (Optional; integer)page_size- (Optional; integer)id- (Optional) Request the outfit for the specifiedid. Cannot be used when specifying theidendpoint oridsparameter.ids- (Optional; Comma Delimited List|all) Request an array of outfits for the specifiedidsor all outfits. Cannot be used when using theidendpoint oridparameter.
Response
For each requested outfit id, an object with the following properties is returned:
id(integer) (default/null value: 0) - Theidof the outfit.name(string) (default/null value: "") - Thenameof the outfit (this is also the outfit displayed over a character in-game.)icon(string/url) (default/null value: "") - Theiconfor the selected outfit.unlock_items(array of integers) - An array of itemidwhich unlock this outfit; resolvable against v2/items.
Example
https://api.guildwars2.com/v2/outfits
[ 1, 2, 3, ..., 43, 44, 45 ]
https://api.guildwars2.com/v2/outfits/8
{
"id": 8,
"name": "Shadow Assassin Outfit",
"icon": "https://render.guildwars2.com/file/AD557E606AC130E9757D75CB6176657440157730/831492.png",
"unlock_items": [
66658
]
}
https://api.guildwars2.com/v2/outfits?id=10
{
"id": 10,
"name": "Ceremonial Plated Outfit",
"icon": "https://render.guildwars2.com/file/B8457ABE0772BDA3975A3A541C7E656E03CE4652/855385.png",
"unlock_items": [
67040
]
}
https://api.guildwars2.com/v2/outfits?ids=30
[
{
"id": 30,
"name": "Lyssa's Regalia",
"icon": "https://render.guildwars2.com/file/7D1AAED555D13BDEBB1736DB77D0DF1C56141F64/1223684.png",
"unlock_items": [
75129
]
}
]
https://api.guildwars2.com/v2/outfits?ids=40,45
[
{
"id": 40,
"name": "Verdant Executor Outfit",
"icon": "https://render.guildwars2.com/file/0FB393B4D4AD2702AE57E4FE0901E3C2F660996D/1466042.png",
"unlock_items": [
79220
]
},
{
"id": 45,
"name": "Marjory's Shrouded Outfit",
"icon": "https://render.guildwars2.com/file/6E317C42D8FE33A7E8052931055DAB21535776C0/1525116.png",
"unlock_items": [
79705
]
}
]
https://api.guildwars2.com/v2/outfits?id=20&lang=fr
{
"id": 20,
"name": "Tenue régalienne de Balthazar",
"icon": "https://render.guildwars2.com/file/150E6E5932D00A0A6EC4382B05DE7B634EA7E211/978008.png",
"unlock_items": [
69607
]
}