API:2/dungeons

From Guild Wars 2 Wiki
Jump to: navigation, search

/v2/dungeons

HTTP method
GET
Format
json
API version
version 2
Release date
2017-03-01
Scope
none
Optional
none

This resource returns details about each dungeon and it's associated paths.

Parameters

  • lang (string, optional) – Request localized responses.

Response

If the root endpoint (/v2/dungeons) 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.

For each objective requested, the following object is returned as a response:

  • id (string) - The name of the dungeon.
  • paths (array of objects) - An array of object containing the following:
    • id (string) - The given name for the dungeon path.
    • type (string) - The type of the chosen path. Can be either Story or Explorable

Example

https://api.guildwars2.com/v2/dungeons

  [
   "ascalonian_catacombs",
   "caudecus_manor",
   "twilight_arbor",
   "sorrows_embrace",
   "citadel_of_flame",
   "honor_of_the_waves",
   "crucible_of_eternity",
   "ruined_city_of_arah"
  ]

https://api.guildwars2.com/v2/dungeons/caudecus_manor

  {
   "id": "caudecus_manor",
   "paths": [
       {
           "id": "asura"
           "type": "Story"
       },
       {
           "id": "seraph"
           "type": "Explorable"
       },
       {
           "id": "butler"
           "type": "Explorable"
       }
    ]
  }