These are chat archives for arenanet/api-cdi

1st
Mar 2017
:fire: doing a live deploy :fire:
 * /v2/wvw/matches: re-interpret 0'd dates as null.
 * /v2/wvw/matches: fix cache ttl stomping.
 * /v2/wvw/matches: strip out some really weird data found on dev.
 * /v2/wvw/matches: don't sum current skirmish score twice.
@frodesigns I think I broke something
Untitled.png
API says "last_flipped": "2017-03-01T00:52:01Z"; it's now currently 2017-03-01T00:53:13Z
in-game matches the API data, it looks like.
nevermind it fixed itself
probably just an artifact of the data shunting forward five minutes
looks like there's ~2 seconds of latency
ChieftainAlex
@ChieftainAlex
Mar 01 2017 00:59
negative cap time... it's as if the game knows where you're going next.
yeah for like an hour lol
Jonathan Andrist
@rwfrk_twitter
Mar 01 2017 02:19
Well..if you guys can predict matchups like that, it'll go a long way toward world-links and population metrics for opening/closing things =)
Michael Dougall
@madou
Mar 01 2017 07:55
eghh travis ci still not working for me @_@
Michael Dougall
@madou
Mar 01 2017 07:57
lmao
Archomeda
@Archomeda
Mar 01 2017 15:00
YAY TRAVIS IS WORKING
i see my logs now :tada:
or... maybe not
Archomeda
@Archomeda
Mar 01 2017 19:18
do we have a guild endpoint for available guild decorations?
in the storage
is it /v2/guild/:id/treasury?
uhh is storage exposed?
I thought it was /v2/guild/:id/inventory which might not be enabled
the treasury is def for deposits for upgrades though
Archomeda
@Archomeda
Mar 01 2017 19:38
the names for guild endpoints is confusing me
i'm up for suggestions :(
Archomeda
@Archomeda
Mar 01 2017 19:39
we have a guild bank, which is both a guild stash and guild treasure trove (api = stash?), we have the treasury mentioned in logs (guild tab = storage) and api?
probably a lot of people coming up with a lot of different names
guild bank's endpoint is bank isn't it
or is it stash
damn now I'm confused
Archomeda
@Archomeda
Mar 01 2017 19:41
storage: consumables, war chest, decorations, arena, but they are also upgrades? but both the game and api calls the one-time upgrades as upgrades as well i think
  /v2/guild/:id [a]
  /v2/guild/:id/log [a]
  /v2/guild/:id/members [a]
  /v2/guild/:id/ranks [a]
  /v2/guild/:id/stash [a]
  /v2/guild/:id/teams [a]
  /v2/guild/:id/treasury [a]
  /v2/guild/:id/upgrades [a]
okay so stash == bank, treasury == donations for upgrades, where the hell is "inventory"
Archomeda
@Archomeda
Mar 01 2017 19:41
eh...
consumables and such might actually be in upgrades
because lol
Archomeda
@Archomeda
Mar 01 2017 19:42
upgrades is just an array of ids
it doesn't specify an amount :(
hmm, I probably did it right then
i think i'm going crazy
i swear there was a guild inventory endpoint
Archomeda
@Archomeda
Mar 01 2017 19:42
sorry :D
the ingame naming convention isn't helping either
                    // Strip out all of the upgrades that have a quantity
                    // since we're exposing binary upgrades in this endpoint
                    // (rather than itemstacks) -- those belong in 
                    // /v2/guild/:id/inventory.
did I just not ever do that
Jonathan Andrist
@rwfrk_twitter
Mar 01 2017 19:50
Possible.
David Reeß
@queicherius
Mar 01 2017 19:54
OT: Anyone here worked with LoopBack before and can share their experience?
Darqam
@Darqam
Mar 01 2017 20:32
/v2/guild/:id/inventory returns
error: "not found"
:fire: doing a live deploy :fire:
Darrian
@rikkuness
Mar 01 2017 22:24
godspeed CI warrior
Archomeda
@Archomeda
Mar 01 2017 22:24
any changes?
 * /v2/raids: E1R4 metadata.
 * /v2/characters: pvp_equipment.{sigil,amulet} null instead of 0.
 * /v2/wvw/matches: objective upgrades -> guild_upgrades.
going to turn on some endpoints after this goes out too :>
Archomeda
@Archomeda
Mar 01 2017 22:25
ohhh
that's been a while... i think?
dungeons, raids, home?
darthmaim
@darthmaim
Mar 01 2017 22:30
last new endpoints were on 2017-01-07
Darrian
@rikkuness
Mar 01 2017 22:30
oh hay we got an endpoint bot
:p
darthmaim
@darthmaim
Mar 01 2017 22:30
:D
those were the wvw match endpoints split into smaller ones, so doesn't count really
pvp leaderboards where on 2016-12-13
see this (gitter pls don't embed this again...)
thank you gitter
Darrian
@rikkuness
Mar 01 2017 22:33
oh nice, that's cool man
darthmaim
@darthmaim
Mar 01 2017 22:33
thx :P
Darrian
@rikkuness
Mar 01 2017 22:34
how'd you automate that?
darthmaim
@darthmaim
Mar 01 2017 22:34
just wget https://api.guildwars2.com/v2 && git add v2 && git commit -m "updated v2" && git push as a cronjob
something like that
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:35
simple yet elegant
wtf the inventory is even in the bloody config
    Option = features./v2/guild/:id/inventory,  arena
WHERE DID THE CODE FOR THIS GO
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:35
arena?
Darrian
@rikkuness
Mar 01 2017 22:35
yeah that's neat :p
"arena-only mode" so it's not publicly accessible
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:36
oh
Darrian
@rikkuness
Mar 01 2017 22:36
git blame ;D
perforce
i'm making config changes expect the sky to fall
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:36
git push being compared to git inflictis still my favorite
turning on
 * /v2/races
 * /v2/dungeons
 * /v2/account/dungeons
 * /v2/raids
 * /v2/account/raids
 * /v2/account/home/nodes
 * /v2/account/home/cats
 * /v2/wvw/upgrades
darthmaim
@darthmaim
Mar 01 2017 22:37
:tada:
good luck :P
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:37
:fire::fire::fire:
expect bugs because god help me
Darqam
@Darqam
Mar 01 2017 22:37
HYPE!
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:37
@lye you did put "master_race": "Asura" right
what lies and slander is this
Darrian
@rikkuness
Mar 01 2017 22:38
I made my first Asura this week ;D
Michael Dougall
@madou
Mar 01 2017 22:38
Cool will have to look into raids and dungeons
asuras are only good for one thing
deleting them
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:38
WOW.
I THOUGHT YOU WERE COOL
I AM COOL
you're an asura
what does a non-bookah know
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:39
:gun:
Darrian
@rikkuness
Mar 01 2017 22:39
came up against a whole 50 man squad of Asura in WvW this week, thought it was bugged tbh
Michael Dougall
@madou
Mar 01 2017 22:39
Your face is an asura
darthmaim
@darthmaim
Mar 01 2017 22:39
@lye delete your asura then :P
:(
my asura is the best asura
darthmaim
@darthmaim
Mar 01 2017 22:40
only 64h played, all your other chars have more
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:40
Cepha: An exhaustive study of Tyrian physiognomy led me to derive what I call Cepha's Constant.
Cepha: Multiplied by the mean ratio of body mass to brain size, it yields an important racial metric.
Cepha: Namely, said race's importance as a factor in the Eternal Alchemy.
Cepha: Asura scored highest, naturally. Then, in descending order, we have sylvari, charr, human, and norn.
Darqam
@Darqam
Mar 01 2017 22:40
hum.... Lye... You sure Bastion of the Penitent belongs in Forsaken Thicket?
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:40
oh god how do I not syntax highlight
@Darqam NO
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:41
there
i actually have no idea
the wiki lists it under "bastion of the penitent" and what
Darqam
@Darqam
Mar 01 2017 22:41
forsaken thicket should be Spirit Vale, Salvation Pass, and Stronghold of the Faithful. Bastion of the penitent is a stand-alone raid wing
give me a second
darthmaim
@darthmaim
Mar 01 2017 22:42
oh you also added skills to professions
that's an old change i think
maybe
darthmaim
@darthmaim
Mar 01 2017 22:43
only checked because the races include skills
Michael Dougall
@madou
Mar 01 2017 22:44
🤗
darthmaim
@darthmaim
Mar 01 2017 22:44
but https://api.guildwars2.com/v2/professions?ids=all takes over 2 seconds to load now, are you not caching the skills or does it just take some time until it is cached?
uhh the entire profession should be cached
lemme see
yeah the entire blob should be cached?
like on the JS heap even
darthmaim
@darthmaim
Mar 01 2017 22:46
hmm, 2s seems kinda slow for such a simple static response
it's returning instantly for me
ChieftainAlex
@ChieftainAlex
Mar 01 2017 22:46
remind me, we have to find a crazy cat lady to harvest the complete set of cat ids?
darthmaim
@darthmaim
Mar 01 2017 22:47
hmm, maybe its just me then
it's cached for each frontend node (and there's 64 of 'em) so it might have been the first request
darthmaim
@darthmaim
Mar 01 2017 22:47
maybe
ChieftainAlex
@ChieftainAlex
Mar 01 2017 22:47
I am not a cat person.
oh lemme paste that for you somewhere
ChieftainAlex
@ChieftainAlex
Mar 01 2017 22:47
might stick a widget down on the wiki page so that you paste the access token at the bottom and it figures out if you have that row
darthmaim
@darthmaim
Mar 01 2017 22:48
:D
the hints should be mostly self-explanatory I think
ChieftainAlex
@ChieftainAlex
Mar 01 2017 22:49
thank you
any new cats won't have hints until I manually add 'em
Archomeda
@Archomeda
Mar 01 2017 22:49
oh my god, i look away for 20 minutes...
chat exploded
better chat than the API backend
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:49
Good news for our editor, though @Archomeda :D
darthmaim
@darthmaim
Mar 01 2017 22:50
not as bad as the one night I missed last week
took me 30minutes just reading the chat to catch up...
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:50
Does ANet have an internal chat? Or just phones like old-school?
we use flowdock internally
and also skype-for-business but honestly who wants to use that garbage
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:51
the only thing skype does for me anymore is tell me which of my friend's accounts got hacked
darthmaim
@darthmaim
Mar 01 2017 22:51
after reloading 64 times I'm getting the response in ~170ms now :)
Michael Dougall
@madou
Mar 01 2017 22:51
slack swaag
:D darth qa
darthmaim
@darthmaim
Mar 01 2017 22:52
haha indeed
Eearslya Sleiarion
@Eearslya
Mar 01 2017 22:52
darth mvp cache initializer
darthmaim
@darthmaim
Mar 01 2017 22:52
someone has to do it
:P
Archomeda
@Archomeda
Mar 01 2017 22:53
finally, caught up
amazing stuff
ChieftainAlex
@ChieftainAlex
Mar 01 2017 22:55
// 31 appears unused ... huh
might not have made it in time for release and got cut
i dunno the details
Archomeda
@Archomeda
Mar 01 2017 22:56
nooooo
poor cat
didn't make it in time
i'm gonna find that person who did that
i'm missing 4 :(
15, 29, 30 and 32
(what is 30?)
"bundle"..... ?
bundle?
Archomeda
@Archomeda
Mar 01 2017 22:59
yeah, that's your hint for cat #30
ah sorry, busy sending @Eearslya email
Archomeda
@Archomeda
Mar 01 2017 22:59
lol
@Eearslya gets enough mail already
bundle... bundle... hmm
you know i don't remember
Archomeda
@Archomeda
Mar 01 2017 23:00
https://wiki.guildwars2.com/wiki/Hungry_cat_scavenger_hunt lists "There are currently 30 cats that can be unlocked."
ehhhhh
you sure cat #30 is a thing?
uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Archomeda
@Archomeda
Mar 01 2017 23:02
does someone actually have #30 unlocked that you can see?
ask @queicherius ;3
Archomeda
@Archomeda
Mar 01 2017 23:03
@queicherius can you query that against your database? :D
ChieftainAlex
@ChieftainAlex
Mar 01 2017 23:04
ice, freezer, cold... sigh
ptolstoi
@ptolstoi
Mar 01 2017 23:04
There is a noxious_pod for the home instance?
Archomeda
@Archomeda
Mar 01 2017 23:05
apparently it's been in the game for ages, but you can't acquire it
ptolstoi
@ptolstoi
Mar 01 2017 23:06
Hm interesting, hi all btw
Archomeda
@Archomeda
Mar 01 2017 23:06
:wave:
darthmaim
@darthmaim
Mar 01 2017 23:06
hi .o/
Eearslya Sleiarion
@Eearslya
Mar 01 2017 23:06
@lye I already archived like 9 of them
and now there's 4 more
why do you do this
oh okay
@Archomeda cat 30 was removed
it joins its friend cat 31
@ChieftainAlex yeah the internal names are frozen1/frozen2/frozen3/frozen4
i may have taken internal liberties
ChieftainAlex
@ChieftainAlex
Mar 01 2017 23:07
how cool is that.
hur
internal liberties are like unexpressed creative liberties
ChieftainAlex
@ChieftainAlex
Mar 01 2017 23:08
I may actually have to go bag some cats to find out the difference
Eearslya Sleiarion
@Eearslya
Mar 01 2017 23:08

label:github-arenanet

Showing 1-50 of 374

Archomeda
@Archomeda
Mar 01 2017 23:08
@lye noooooooooooooo
rip cat #30 bundle, you'll be forever missed like your friend #31 unknown
25 = poultry leek
26 = poultry winter veg
27 = poultry lemongrass
28 = saffron poultry
these are the superheated ones
Archomeda
@Archomeda
Mar 01 2017 23:10
freezer is a cool name tho
ChieftainAlex
@ChieftainAlex
Mar 01 2017 23:12
<3
Archomeda
@Archomeda
Mar 01 2017 23:15
@lye did cat #31 have a name by any chance?
David Reeß
@queicherius
Mar 01 2017 23:15
Woooo new stuff! :D :sparkles:
Archomeda
@Archomeda
Mar 01 2017 23:15
or a hint
i mean... we can't call him unknown #31 now :(
oh hi @queicherius
how about "removed from game before seeing the light of day \#31"
David Reeß
@queicherius
Mar 01 2017 23:16
@lye FYI you didn't disable the /guilds/ endpoint, but it's throwing errors still
oops
yeah I need to fix that
been lighting other things on fire in the meanwhile
Archomeda
@Archomeda
Mar 01 2017 23:16
that's such a long name :(
David Reeß
@queicherius
Mar 01 2017 23:17
Actually it seems to load for a bit (~25s) and then die peacefully atm. Interesting
I was mucking with the underlying code which causes the timeouts
so that might have made it better without fixing the actual error -- which is that the error is not propagated correctly
Michael Dougall
@madou
Mar 01 2017 23:21
New things sucks, barely have time for old things !
darthmaim
@darthmaim
Mar 01 2017 23:21
but :cat:
:exclamation:
Archomeda
@Archomeda
Mar 01 2017 23:21
what if i'm gonna name :cat: #31 @lye?
Michael Dougall
@madou
Mar 01 2017 23:22
Also cool qtfy starting to use my embeds
Archomeda
@Archomeda
Mar 01 2017 23:27
@lye, are the cats sorted by introduction date?
not a clue
maybe by implementation date, not release date
darthmaim
@darthmaim
Mar 01 2017 23:31
@lye /v2/races doesn't contain localized names :(
those are ids, not names
I couldn't easily find names
i think they're hardcoded somewhere maybe
darthmaim
@darthmaim
Mar 01 2017 23:32
hmm okay, thought you forget the names because the endpoint is marked as supporting localization
nah
i'm just dumb lol
darthmaim
@darthmaim
Mar 01 2017 23:32
:D
if I can find the names I'll add 'em in, they're probably around here somewhere
darthmaim
@darthmaim
Mar 01 2017 23:33
:+1:
ah yeah found it TEXTSTR_RACE_ASURA derp
Archomeda
@Archomeda
Mar 01 2017 23:35
wait... race names are localized?
darthmaim
@darthmaim
Mar 01 2017 23:35
/v2/dungeons [l] is flagged as localized too but doesn't contain any localized content
Archomeda
@Archomeda
Mar 01 2017 23:35
i thought every localization had the same race names
do they
@darthmaim I might be able to jam some localized data from events in there
not entirely sure how well that'll work
Archomeda
@Archomeda
Mar 01 2017 23:36
hmm wait... we do have humans in the game...
almost forgot those
darthmaim
@darthmaim
Mar 01 2017 23:36
:P
Archomeda
@Archomeda
Mar 01 2017 23:36
"Mensch"
darthmaim
@darthmaim
Mar 01 2017 23:37
and "Humain" / "Humanos"
Archomeda
@Archomeda
Mar 01 2017 23:37
the rest seems to be the same as english
darthmaim
@darthmaim
Mar 01 2017 23:37
indeed
just noticed when writing unit tests for the api wrappers that the endpoints are flagged as localized but don't contain any localized strings
Eearslya Sleiarion
@Eearslya
Mar 01 2017 23:39
I never like human characters in games. It just seems like the plain vanilla option of races XD
Archomeda
@Archomeda
Mar 01 2017 23:41
@lye, your hints for "chicken" is actually the ones that want "Slab of Poultry Meat"?
                "id": "Asura",
                "name": "阿苏拉",
@Archomeda I think so yeah
Archomeda
@Archomeda
Mar 01 2017 23:42
tell me that's garbage and not chinese
darthmaim
@darthmaim
Mar 01 2017 23:42
:D
"language" : "zh"
Archomeda
@Archomeda
Mar 01 2017 23:42
<_<
I just wanted to check okay
Archomeda
@Archomeda
Mar 01 2017 23:43
how do you even have the chinese localization?
isn't that outsourced?
darthmaim
@darthmaim
Mar 01 2017 23:43
oh and v2/raids is flagged too without localized content
@darthmaim ditto with maybe one day having localized stuff
I guess i should change it though
darthmaim
@darthmaim
Mar 01 2017 23:44
¯\_(ツ)_/¯
Archomeda
@Archomeda
Mar 01 2017 23:44
well, you guys even have korean localization still for some strings... so who am i to judge really? XD
darthmaim
@darthmaim
Mar 01 2017 23:48
and https://api.guildwars2.com/v2/account/home should maybe return ["cats","nodes"]?
:point_right: #456
darthmaim
@darthmaim
Mar 01 2017 23:50
now the question, should that also be authenticated?
nahhhhhhhh
Darqam
@Darqam
Mar 01 2017 23:51
@lye which permissions are needed for raids and dungeons endpoint (the account one)
darthmaim
@darthmaim
Mar 01 2017 23:51
I'm guessing progression?
Darqam
@Darqam
Mar 01 2017 23:51
I was thinking account+progression?
account is needed for everything
think progression
Darqam
@Darqam
Mar 01 2017 23:51
oh yeah, derp
darthmaim
@darthmaim
Mar 01 2017 23:52
Would be nice to have the required scopes for each endpoint in https://api.guildwars2.com/v2.json
I think there's an open issue for that
Archomeda
@Archomeda
Mar 01 2017 23:53
pretty sure it's a really old one of mine?
darthmaim
@darthmaim
Mar 01 2017 23:53
Not sure how that would work for endpoints who return different content depending on the permission though
:point_right: mistakes
/v3/
Archomeda
@Archomeda
Mar 01 2017 23:54
but you might want to check that and close it if you don't want it, i don't think it would do much good (it adds more one-letter abbreviations for /v2)
darthmaim
@darthmaim
Mar 01 2017 23:54
Guessing its #83
yeah but it could easily go in the JSON bits
Archomeda
@Archomeda
Mar 01 2017 23:55
that's true
I'll figure it out at some point, it's super low-hanging fruit
darthmaim
@darthmaim
Mar 01 2017 23:55
idd
Archomeda
@Archomeda
Mar 01 2017 23:55
i wrote that PR before i knew about the json output
wait, that one isn't a PR
darthmaim
@darthmaim
Mar 01 2017 23:56
can't find a PR
Archomeda
@Archomeda
Mar 01 2017 23:57
no, i was confused
i was thinking about #28 for some reason
but yay for that it got added like 6 months ago
Michael Dougall
@madou
Mar 01 2017 23:57
old af
Darqam
@Darqam
Mar 01 2017 23:57
so Lye, think dungeons/raid account endpoints are good to stay for now? Or might they still be taken down?