API talk:2/account/achievements
From Guild Wars 2 Wiki
< API talk:2 | account
Jump to navigationJump to search
Most WvW achievements have this set to -1.[edit]
Can someone confirm this? I know I'm not this much in WvW, but none of the achievements on my account as a -1 anywhere. Nokomis (talk) 13:29, 28 December 2017 (UTC)
- I've asked around a bit and can't seem to find anyone that has this -1. I'll give it another few days to see if someone finds a reason for it, and if not then I'll remove the statement. -Darqam 21:16, 30 December 2017 (UTC)
Optional properties current and max[edit]
On my API key with 2321 achievements, the properties current
and max
are always available. This leads me to the question, are they really optional? Archomeda (talk) 12:31, 22 July 2018 (UTC)
- According to the CDI[1]:
// Only lists achievements that have *some* progress started // (e.g., current > 0) or have been repaired back to 0 after // a bug was fixed (e.g. after the HOM reward issue). The // rest of the achievements visible in the UI can be pulled // from /v2/achievements -- the ones without the "Hidden" // flag are visible without progress. // "current"/"max" are the counters, if any, for the achievement // progress. They'll be set for all achievements -- boolean achievements // are treated as if they had "max=1".
- All my 1898 achievements have both properties set.
- I have 1 achievement with max=0, current>0. (ids=152)
- I have 22 achievements that have current=0 and max>0. (ids=1010,1256,1259,1384,1386,1387,1421,1762,2764,2790,2793,3002,3257,3923,3926,3931,4044,4060,4155,4624,4626,4654)
- Only 10 of those 23 are found in v2/achievements (ids=3002,3923,3926,3931,4044,4060,4155,4624,4626,4654)
- I'm guessing that for lack of counter, it is (re)set to 0 instead of being omitted. --BryghtShadow (talk) 17:37, 29 April 2019 (UTC)