API:2/achievements/daily/tomorrow

From Guild Wars 2 Wiki
Jump to navigationJump to search

/v2/achievements/daily/tomorrow

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

This resource returns the next 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, and/or PathOfFire. Available on schema previous to 2019-05-16T00:00:00.000Z.
  • required_access (object - optional) - Describes if a daily requires a Guild Wars 2 campaign or not. Available on schema 2019-05-16T00:00:00.000Z or later.
    • product (string) - A Guild Wars 2 campaign. Can either be HeartOfThorns or PathOfFire.
    • condition (string) - The condition if a account can or cannot see this daily achievement. Can either be HasAccess or NoAccess.

Example

https://api.guildwars2.com/v2/achievements/daily/tomorrow

{
  "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": [
    ...
  ]
}

If using schema 2019-05-16T00:00:00.000Z or later

{
  "pve": [
    {
      "id": 1968,
      "level": { "min": 1, "max": 80 }
    },
    {
      "id": 2891,
      "level": { "min": 80, "max": 80 },
      "required_access": { "product": "HeartOfThorns", "condition": "HasAccess" }
    },
    {
      "id": 2025,
      "level": { "min": 80, "max": 80 },
      "required_access": { "product": "HeartOfThorns", "condition": "NoAccess" }
    },
    ...
  ],
  "pvp": [
    {
      "id": 2816,
      "level": { "min": 1, "max": 80 },
    },
    ...
  ],
  "wvw": [
    ...
  ],
  "fractals": [
    ...
  ],
  "special": [
    ...
  ]
}