API:2/specializations
From Guild Wars 2 Wiki
< API:2
Jump to navigationJump to search
/v2/specializations
- HTTP method
- GET
- Format
- json
- API version
- version 2
- Release date
- 2015-07-30
- Scope
- none
- Optional
- none
This resource returns information on currently released specializations.
Parameters
lang
– Request localized information.
Response
If the root endpoint (/v2/specializations
) is accessed without specifying an id, a list of all ids is returned. When multiple ids are requested using the ids parameter, a list of response objects is returned.
Each object contains the following:
id
(number) – The specialization's ID.name
(string) – The name of the specialization.profession
(string) – The profession that this specialization belongs to.elite
(boolean) –true
if this specialization is an Elite specialization,false
otherwise.icon
(string) – A URL to an icon of the specialization.background
(string) – A URL to the background image of the specialization.minor_traits
(array) – Contains a list of IDs specifying the minor traits in the specialization.major_traits
(array) – Contains a list of IDs specifying the major traits in the specialization.
Example
https://api.guildwars2.com/v2/specializations/1
{ "id": 1, "name": "Dueling", "profession": "Mesmer", "elite": false, "minor_traits": [ 706, 710, 707 ], "major_traits": [ 701, 705, 700, 1889, 1960, 708, 692, 1950, 704 ], "icon": "https://render.guildwars2.com/file/43C5400906A104C60F30DFE0A145D1E767353573/1012003.png", "background": "https://render.guildwars2.com/file/992D53319C5FCD4AE841C592DC2AE91D5906AECF/1012057.png" }