API:1/wvw/objective_names

From Guild Wars 2 Wiki
< API:1‎ | wvw
Jump to: navigation, search

/v1/wvw/objective_names.json

HTTP method
GET
Format
json
API version
version 1
Release date
 ?
Scope
none
Optional
none

This resource returns an unordered list of the localized WvW objective names for the specified language.

Parameters

Optional parameters
  • lang – The language to query the names for.

Response

The response is a list of objects with the following properties:

  • id (string) – The objective id.
  • name (string) – The name of the objective in the specified language. Note that this is not the name displayed in the game, but rather the abstract type.

Example

https://api.guildwars2.com/v1/wvw/objective_names.json

[
  { "id": "30", "name": "Tower" },
  { "id": "9", "name": "Castle" },
  { "id": "32", "name": "Keep" },
  { "id": "60", "name": "Lumber Mill" },
  ...
]