These are chat archives for arenanet/api-cdi

23rd
Feb 2019
Daniel Snider
@dsnider-anet
Feb 23 00:17
API Updates:
  • Several endpoints under v2/account and v2/characters now return a Last-Modified header. They respect If-Modified-Since requests and will properly return a 304 Not Modified.
  • v2/account, v2/characters/:id (and related) now have a last_modified field, but only requested with a recent enough schema version (to prevent app breakage).
  • Schema versions can be requested with a v query param or an X-Schema-Version request header.
  • Schema versions are comparable strings that happen to be ISO 8601 datetimes which means string compares are chronological.
fetch('https://api.guildwars2.com/v2/account', {headers: {
    'X-Schema-Version': "2019-02-21T00:00:00Z",
    'Authorization': "Bearer ABC123"}
}).then((r) => r.json()).then((data) => console.log(data));
Quaggan BooOOoot
@QuagganBooOOoot
Feb 23 00:36
New discussion in API Development:

Item Stats Info
by Jude Carpathian.2389 in API Development

Is there a way in the api to check against the itemstats returned to see what stats are pve only or pvp only? I feel like there should be flags on them that specify. Currently I'm only requesting stats I know are in PVE, but I'd like a process that works when new stat sets are added or Pvp stats are brought to Pve etc.

Silver Golden
@Silveress_Golden_gitlab
Feb 23 10:00
danm thats fantastic daniel, now to figure out how to best use it :3