WvW World Linking
I hope so!
Need to be able to query the API for which worlds are linked together in a match. This will help out TS admins greatly! TY.
Founding member of [NERF] Fort Engineer and driver for [TLC] The Legion of Charrs
RIP [SIC] Strident Iconoclast
Proposed changes are detailed here. Will almost certainly make all_worlds always there if only to make it easier for testing; should have that bit out today/tomorrow.
Looks good, thanks.
Will this be launching before the world linking reset tonight?
Already live for EU matchups.
Also I’d recommend using the /v2/wvw/matches?world=X query to get the match state (rather than enumerating all_worlds).
I tried to get the server id linked but didn’t work now.
For example, Far Shiverpeaks is linked to Underworld but in the api under “all_words” the id of Underworld missing.
https://api.guildwars2.com/v2/wvw/matches?world=2007
{
red: 2014,
blue: 2007,
green: 2207
},
all_worlds: {
red: [
2014
],
blue: [
2007
],
green: [
2207
]
},
(edited by wanted.6214)
I’m getting the same now, although it worked yesterday after the reset.
NA worlds seem to be returned correctly, but EU worlds only have one world per color.
I tried to get the server id linked but didn’t work now.
Just checked it after i saw that my website is missing some data. Seems like the linked worlds are missing for all EU matchups (NA seems to be working!?).
The funny thing is that EU-matchups were correct yesterday evening.
Oof, I’ll have the EU data fixed today. Sorry about that
Oof, I’ll have the EU data fixed today. Sorry about that
Ty for the answer.
Just pushed out a terrible fix which hardcodes the world links. The API should be now be returning the correct data.
The WvW endpoints might be a bit flaky today; we’re adjusting some stuff on the API backend to compensate for a significant increase in request volume (normally is 4k requests/minute; was up to 6k requests/minute this morning). Will keep y’all updated.
Sorry for the hassle
EDIT: Adjustments are finished and everything seems stable. I’ll keep a close eye on it over the weekend to make sure no additional shenanigans happen.
(edited by Lawton Campbell.8517)