arenanet / api-cdi

Collaborative Development Initiative for Public APIs
257 stars 41 forks source link

Unknown leading one in all worlds object at wvw matches end point #676

Open nusphere opened 2 years ago

nusphere commented 2 years ago

Unfortunately, an ID is currently displayed for the all-worlds object within the match response for the api endpoint /v2/wvw/matches/2-2, which cannot be called.

see actual data

image

What does the five digit number mean? can you just remove the leading one? but that would lead to duplications within the "worlds" - since the following constellation currently also appears in the match "2-1":

primaryWorlds=PrimaryWorlds(red=2101, blue=2012, green=2010)
allWorlds=AllWorlds(red=[12015, 2101], blue=[12012, 2301, 2012], green=[12010, 2206, 2010])

A connection with the primary worlds cannot be drawn either, since - also with match "2-1" - the respective primary worlds appear in the "all_worlds" and mostly "also" with a leading 1 - however, this pattern is not in the current example Applicable to "red" because the primary world appears in all_worlds, but is not stored with the leading 1 at the same time.

In the example above, the World-Id 12015 is not available even without a leading 1.