These are chat archives for arenanet/api-cdi

13th
Feb 2017
Darqam
@Darqam
Feb 13 2017 02:28
https://api.guildwars2.com/v2/items/44828 soooooo a weapon, that isn't a pvp weapon, with no stats?
it also shows no stats in-game, so it doesn't seem to be an API bug
Eearslya Sleiarion
@Eearslya
Feb 13 2017 07:01
@Archomeda http://i.imgur.com/JjNNsCX.jpg This world has gone well so far
Archomeda
@Archomeda
Feb 13 2017 14:25
wow haha

I guess you can do every 1 minute and check how often it changes to find the real cache time

@darthmaim or you could look at the Expires/Cache-Control response headers. For endpoints that return character/account data it's at least 5 minutes though -- so we don't overload the main databases.

I actually don't know if the Expires/Cache-Control headers for those endpoints are correct, now that I think about it.

some raid achievements don't seem to have been whitelisted yet

@Archomeda just went through the whitelist queue, thanks for the heads up.

darthmaim
@darthmaim
Feb 13 2017 18:48
@lye I checked and they didn't have any cache headers :(
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
Server: Quaggans
X-Content-Type-Options: nosniff
Access-Control-Allow-Origin: *
X-Powered-By: ARR/2.5
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Date: Mon, 13 Feb 2017 18:48:27 GMT
Content-Length: 2742
dang I need to add those in I guess
Darrian
@rikkuness
Feb 13 2017 21:09
when you add them, I'll actively check them then ;D
darthmaim
@darthmaim
Feb 13 2017 22:24
@lye any chance to crossreference maps with the new /v2/dungeons of #443 in the future (for example adding "dungeon": "ascalonian_catacombs" to the instance maps or to the point of interest or would that just be hardcoding them on your end?
it'd kind of be hardcoding them on my end?
I can hardcode the dungeon event guids for additional strings I think
and I might be able to get the maps off those too
darthmaim
@darthmaim
Feb 13 2017 22:31
hmm
Darqam
@Darqam
Feb 13 2017 22:33
#434 OOoooo I'm excited
actually i have no idea how events and map instances are correlated
darthmaim
@darthmaim
Feb 13 2017 22:34
the events in v1 all have a map_id
oh. oh.
The map is actually just whatever else is in the directory.
ChieftainAlex
@ChieftainAlex
Feb 13 2017 22:37
I'd still love an events api that doesn't use the god awful coordinate system of v1
does anyone remember why /v2/events is disabled? I don't remember why it's disabled.
darthmaim
@darthmaim
Feb 13 2017 22:38
because you said its not of much use without active events or so?
not sure anymore :D
maybe
might make sense to retcon that at some point
darthmaim
@darthmaim
Feb 13 2017 22:39
:+1:
I think thats the only endpoint left thats not in v2 yet?
ChieftainAlex
@ChieftainAlex
Feb 13 2017 22:40
sorry I meant a v2 equivalent of v1/event_details
v1/events was the live events
hmm, /v2/events is a copy of /v1/event_details.json on my local copy
darthmaim
@darthmaim
Feb 13 2017 22:42
but with pagination and bulk expansion?
yeah
darthmaim
@darthmaim
Feb 13 2017 22:43
well you know what to enable this Friday :P
ChieftainAlex
@ChieftainAlex
Feb 13 2017 22:43
:D
/v2/account/home/cats obviously
the most important feature
Darqam
@Darqam
Feb 13 2017 22:43
cry
darthmaim
@darthmaim
Feb 13 2017 22:43
:cat:
wouldn't it be more inline with the other endpoints if /v2/account/home/cats only returns the ids and references /v2/home/cats (we need more cat endpoints)
just incase you figure out how to add more info about them in the future
ChieftainAlex
@ChieftainAlex
Feb 13 2017 22:49
lye, when you say /v2/events is a copy of /v1/event_details.json, does it still have the crazy coordinate system?
yes
afaik
darthmaim
@darthmaim
Feb 13 2017 22:50
its not that crazy really, you just have to convert them once and forget about it
¯\_(ツ)_/¯
i'd probably just rework it to be sane
darthmaim
@darthmaim
Feb 13 2017 22:50
maybe add normalized coordinatez to all endpoints :D
well since /v2/events isn't turned on i can just fix it before turning it on :P
darthmaim
@darthmaim
Feb 13 2017 22:51
its still a mess between continents/maps/... iirc
fair
darthmaim
@darthmaim
Feb 13 2017 22:52
the event stuff is currently using the same coordinates as pois
which imho makes the most sense
Archomeda
@Archomeda
Feb 13 2017 22:52
/v3 here we go
:>
i thought pois were projected
darthmaim
@darthmaim
Feb 13 2017 22:52
uhh
maybe
ChieftainAlex
@ChieftainAlex
Feb 13 2017 22:53
everything but events
event locations aren't projected onto the continent coordinates
ChieftainAlex
@ChieftainAlex
Feb 13 2017 22:53
uses logical coordinates
darthmaim
@darthmaim
Feb 13 2017 22:53
ahh ok
I thought there were more inconsistent endpoints
but maybe not
ChieftainAlex
@ChieftainAlex
Feb 13 2017 22:53
on v2 at least
darthmaim
@darthmaim
Feb 13 2017 22:54
I'm always trying to forget the coordinate stuff as fast as possible after working with it for a bit :D
ChieftainAlex
@ChieftainAlex
Feb 13 2017 22:54
v1 I've mostly managed to forget apart from events, which we last looked at for the rift events
^^
Michael Dougall
@madou
Feb 13 2017 22:57
and the working week begins.. hi guys :-)
darthmaim
@darthmaim
Feb 13 2017 22:57
good night :P
timezones...
Michael Dougall
@madou
Feb 13 2017 22:58

straya

darthmaim
@darthmaim
Feb 13 2017 22:58
:D
Michael Dougall
@madou
Feb 13 2017 22:58
ur shift is over.. my shift begins..
the circle of life..
:angel:
Darrian
@rikkuness
Feb 13 2017 23:06
do straya peeps play EU or NA servers? curious
Michael Dougall
@madou
Feb 13 2017 23:07
i play NA
my friends play NA
Darrian
@rikkuness
Feb 13 2017 23:08
least that means you don't get matched up against the French in WvW I guess ;p
Archomeda
@Archomeda
Feb 13 2017 23:08
EU :)
:tada: yay for me
Darrian
@rikkuness
Feb 13 2017 23:09
which server?
Archomeda
@Archomeda
Feb 13 2017 23:09
then again, i'm from NL :P
Michael Dougall
@madou
Feb 13 2017 23:09
bexit or trump.. hmm
need a rest of the world server i m o
:smirk:
Archomeda
@Archomeda
Feb 13 2017 23:09
living in an EU country, so yeah my region doesn't weigh much there :P
well, i don't live in UK, so the brexit won't affect me as much
Michael Dougall
@madou
Feb 13 2017 23:11
ah yeah true
Darrian
@rikkuness
Feb 13 2017 23:13
I do, it's pretty shit :-1:
darthmaim
@darthmaim
Feb 13 2017 23:13
:(
Archomeda
@Archomeda
Feb 13 2017 23:13
:/
Michael Dougall
@madou
Feb 13 2017 23:16
australias pretty good
if u ever want to immigrate here
siighh i want more time to improve armory but theres not enough hours in the day :'(
darthmaim
@darthmaim
Feb 13 2017 23:17
indeed
Michael Dougall
@madou
Feb 13 2017 23:18
hows ppls projects
hows things darth
darthmaim
@darthmaim
Feb 13 2017 23:18
more time for my projects would be nice
I'm pretty busy at work atm and don't have much time/motivation/... to work on my own projects after a long day of work
Michael Dougall
@madou
Feb 13 2017 23:19
yeah
Archomeda
@Archomeda
Feb 13 2017 23:33
i need to update our discord guild bot :/
oh, rip discord
Michael Dougall
@madou
Feb 13 2017 23:39
does the gitter web client seem a little buggy or is it just me?
esp. when jumping between converstations
Archomeda
@Archomeda
Feb 13 2017 23:40
i have that every time
Michael Dougall
@madou
Feb 13 2017 23:40
WELP
Archomeda
@Archomeda
Feb 13 2017 23:40
i have to manually scroll to the bottom on every reload
oh, discord is alive again, time for more dev
Michael Dougall
@madou
Feb 13 2017 23:42
wew