API:2/achievements/daily

From Guild Wars 2 Wiki
Jump to: navigation, search

/v2/achievements/daily

HTTP method
GET
Format
json
API version
version 2
Release date
2015-09-21
Scope
none
Optional
none

This resource returns the current set of daily achievements.

Response

When requested, the endpoint will return an object containing 5 sub-objects: pve, pvp, wvw, fractals, and special.

Each sub-object contains an array of objects describing the daily achievements for that category. The special sub-object is for any current temporary content like festival dailies. Each achievement object includes:

  • id (number) - The achievement id.
  • level (object) - Describes the level requirement for the daily to appear.
    • min (number) - The minimum level. Any character below this level will not see this daily achievement.
    • max (number) - The maximum level. Any character above this level will not see this daily achievement.
  • required_access (array) - Contains which Guild Wars 2 campaigns are required in order to see this daily achievement. Possible values: GuildWars2 and/or HeartOfThorns.

Example

https://api.guildwars2.com/v2/achievements/daily
{
  "pve": [
    {
      "id": 1984,
      "level": { "min": 1, "max": 80 },
      "required_access": ["GuildWars2","HeartOfThorns"]
    },
    {
      "id": 1951,
      "level": { "min": 11, "max": 80 },
      "required_access": ["GuildWars2"]
    },
    {
      "id": 2945,
      "level": { "min": 80, "max": 80 },
      "required_access": ["HeartOfThorns"]
    },
    ...
  ],
  "pvp": [
    {
      "id": 1858,
      "level": { "min": 1, "max": 80 },
      "required_access": ["GuildWars2","HeartOfThorns"]
    },
    ...
  ],
  "wvw": [
    ...
  ],
  "fractals": [
    ...
  ],
  "special": [
    ...
  ]
}