gw2-api / issues

Issue tracker for the Guild Wars 2 API
https://discord.gg/zqeHCEg
16 stars 0 forks source link

Add account Challenge Mode clear state for raids #46

Open Sejsel opened 1 year ago

Sejsel commented 1 year ago

Feature Description

There is currently no way to see current state of whether a raid boss was cleared with Challenge Mode (CM) this week (for extra rewards). They used to be tracked with an achievement (which was useless due to #2), but the system was reworked in the July 19, 2022 update (build 131720).

Implementation

Multiple ways to go about this, I find these best:

Change schema

Either change schema of /v2/account/raids to provide something like

{
  "keep_construct": {"challenge_mode": false},
  "deimos": {"challenge_mode": true}
}

Could also add outright make it a list of all encounters and a cleared flag (regardless of mode) if this is easy.

New endpoint

Another option would be to add a new endpoint that pretty much just duplicates /v2/account/raids, for example /v2/account/raids_challenge_mode (and also ideally add /v2/raids_challenge_mode with a list of encounters that do have a challenge mode)

Anything else

I have users of my addon asking for this feature very often.