These are chat archives for arenanet/api-cdi

12th
Feb 2017
smiley
@codemasher
Feb 12 2017 00:51
Eearslya Sleiarion
@Eearslya
Feb 12 2017 00:54
To be fair, creating a new 'want' should probably be POST /users/{username}/wants
Archomeda
@Archomeda
Feb 12 2017 01:51
is there some description missing?
like, the way i see it, post and delete are both under "add"
shouldn't that be edit and delete respectively? XD
this is just vague if you look at it the first time
smiley
@codemasher
Feb 12 2017 01:57
what could possibly go wrong?
Eearslya Sleiarion
@Eearslya
Feb 12 2017 07:02
good lord that URI
Archomeda
@Archomeda
Feb 12 2017 16:21
rofl
smiley
@codemasher
Feb 12 2017 16:29
GET/POST parameters are overrated
smiley
@codemasher
Feb 12 2017 16:35
to be fair https://api.guildwars2.com/v2/continents/{id}/floors/{id}/regions/{id}/maps/{id} (but i think we've already agreed that /v2/continents is an abomination)
Archomeda
@Archomeda
Feb 12 2017 16:41
@lye, for when you get back to work on monday (still enjoy your sunday though!), some raid achievements don't seem to have been whitelisted yet
Christian
@zeeZ
Feb 12 2017 17:06
so what's the "right" way to do it?
Archomeda
@Archomeda
Feb 12 2017 17:11
i think @lye agreed that the whole world map code is an abomination that produced the api endpoint :P
smiley
@codemasher
Feb 12 2017 17:13
/resource/{id}[/method[?method_params]]
Archomeda
@Archomeda
Feb 12 2017 18:09
skill lag in verdant brink
has this always been the case, or is it new?
Eearslya Sleiarion
@Eearslya
Feb 12 2017 20:16
@zeeZ I'd say "right" is a matter of opinion, but this is a summary of what REST uses: http://www.restapitutorial.com/lessons/httpmethods.html
Darrian
@rikkuness
Feb 12 2017 20:19
I'd +1 that, REST is the best
new tagline
smiley
@codemasher
Feb 12 2017 21:03
As RESTful web services don't follow a prescribed standard except for HTTP
yea, and that's where the mess starts :D