API:2/wvw/ranks
From Guild Wars 2 Wiki
Jump to navigationJump to search
/v2/wvw/ranks
- HTTP method
- GET
- Format
- json
- API version
- version 2
- Release date
- 2016-09-19
- Scope
- none
- Optional
- none
This resource returns information about the available ranks in the World versus World game mode.
Endpoints
- None - Request the list of all available ranks
ids
. id
- (Optional) Request the rank for the specifiedid
. Cannot be used when specifying theids
parameter.
Parameters
lang
– (Optional) Request localized information.ids
- (Optional; Comma Delimited List|all) Request an array of ranks for the specifiedids
or all ranks. Cannot be used when accessing theid
endpoint.
Response
For each requested rank id
, an object with the following properties is returned:
id
(integer) (default/null value: 0) - The id of the rank.title
(string) (default/null value: "") - The given title for the WvW rank.min_rank
(integer) (default/null value: 0) - The minimum WvW level required to be at this rank.
Examples
https://api.guildwars2.com/v2/wvw/ranks
[ 1, 2, ..., 104, 105 ]
https://api.guildwars2.com/v2/wvw/ranks/20
{ "id": 20, "title": "Bronze Scout", "min_rank": 270 }
https://api.guildwars2.com/v2/wvw/ranks?ids=30,105&lang=de
[ { "id": 30, "title": "Bronze-Legende", "min_rank": 570 }, { "id": 105, "title": "Diamant-Legende", "min_rank": 9945 } ]