greptilian logo

IRC log for #rest, 2015-01-13

https://trygvis.io/rest-wiki/

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:29 kevinswiber joined #rest
00:49 shrink0r joined #rest
01:27 kevinswiber joined #rest
01:33 kevinswiber joined #rest
01:49 kevinswiber joined #rest
02:01 kevinswiber joined #rest
02:18 kevinswiber joined #rest
02:38 shrink0r joined #rest
02:42 proteusguy joined #rest
02:54 talios joined #rest
03:40 pezra joined #rest
04:18 Andre-B joined #rest
04:26 shrink0r joined #rest
05:36 proteusguy joined #rest
05:39 proteusguy joined #rest
05:50 lemur joined #rest
06:14 tr3online joined #rest
06:15 shrink0r joined #rest
07:04 _ollie joined #rest
07:20 proteusguy joined #rest
07:24 rosstuck joined #rest
07:53 proteusguy joined #rest
08:04 shrink0r joined #rest
08:18 lemur joined #rest
08:31 Andre-B joined #rest
08:32 mgomezch joined #rest
08:37 azer joined #rest
09:07 lufi joined #rest
09:12 lufi the current api uses "page" parameter for pagination. im planning to replace it with a key value pair in the response.
09:12 lufi something like this http://pastebin.com/2708tsW2
09:13 lufi or should I stay using the page parameter?
09:13 trygvis as long as the value is discovered, nobody cares
09:13 trygvis which means you can do whatever is easiest for your server side
09:13 lufi theyre having a hard time coding it though
09:14 lufi and theyre asking me what would be the difference/benefits instead of just using "page"
09:14 trygvis but what is the alternative?
09:15 lufi what do you mean alternative? currently theyre just appending page=1 or page=3 to indicate the page they're on
09:19 trygvis I didn't understand what you where suggesting
09:19 trygvis whos this key value pair would work
09:20 lufi i was suggesting we use the one in the pastebin (with the hash and timestamp) instead of just putting "page=3" in the query
09:25 shrink0r joined #rest
09:34 trygvis in #rest, following links is always better than hand-coding URLs
10:08 martinfilliau joined #rest
10:09 graste joined #rest
10:12 tr3online joined #rest
10:15 mezod joined #rest
10:36 Left_Turn joined #rest
10:51 mezod_ joined #rest
11:29 pdurbin lufi: you want a "nextPageToken" or whatever like the YouTube API has: https://gist.github.com/codersquid/7b8b5c554d80228f88ad#file-search_channel-py-L35
11:31 trygvis no, all you want is a link with a "next" relation
11:31 trygvis with that you can implement all of these solutions without resorting to silly out of band information
11:33 pdurbin GitHub has "next" (and last, first, and prev) relations: https://developer.github.com/v3/#pagination
11:36 trygvis yeah, but they're also silly enough to document how to generate the URLs
11:37 * pdurbin likes it when people document things :)
11:38 trygvis uhm, they have the relations already
11:38 trygvis if anything, they could use templates to enable people to go to a specific page
11:39 pdurbin templates? for an API client?
11:40 trygvis I meant, URI templates: https://tools.ietf.org/html/rfc6570
11:56 pdurbin huh. so it's basically a way to document URLs/URIs. neat
12:09 shrink0r_ joined #rest
12:21 trygvis I wouldn't call it that
12:21 trygvis you don't know up front the value of the template, but you can be told of the possible parameters you can set
12:31 shrink0r joined #rest
12:40 azer joined #rest
12:42 shrink0r_ joined #rest
12:48 martinfi_ joined #rest
12:50 martinfi_ joined #rest
12:54 martinfilliau joined #rest
12:56 shrink0r joined #rest
12:59 martinfilliau joined #rest
13:12 azer joined #rest
13:19 pdurbin ok
13:35 proteusguy joined #rest
13:59 shrink0r_ joined #rest
14:16 martinfilliau joined #rest
14:45 DrCode joined #rest
15:04 mezod joined #rest
15:33 saml joined #rest
16:14 shrink0r joined #rest
16:54 shrink0r_ joined #rest
17:02 lemur joined #rest
17:08 lemur joined #rest
17:25 introspectr joined #rest
17:25 introspectr joined #rest
17:44 lufi joined #rest
18:25 mezod joined #rest
19:24 shrink0r joined #rest
19:35 tr3online joined #rest
19:36 tr3online joined #rest
19:48 graste joined #rest
19:51 shrink0r joined #rest
20:10 alxbl joined #rest
20:27 talios joined #rest
21:04 graste joined #rest
21:12 graste1 joined #rest
21:27 happyface joined #rest
21:34 pdurbin joined #rest
21:34 daxim joined #rest
21:34 Davey joined #rest
21:34 dreamdust joined #rest
21:34 blongden_ joined #rest
21:34 asm89 joined #rest
21:34 riddle joined #rest
21:34 blahdeblah joined #rest
21:34 locks joined #rest
21:34 fumanchu joined #rest
21:34 mgomezch joined #rest
21:34 introspectr joined #rest
21:34 mezod joined #rest
21:34 shrink0r joined #rest
21:34 tr3online joined #rest
21:35 DrCode joined #rest
21:37 proteusguy joined #rest
21:37 whartung joined #rest
21:38 asm89 joined #rest
21:39 mezod joined #rest
21:40 Left_Turn joined #rest
21:40 lebster joined #rest
21:40 cythrawll joined #rest
21:40 CentaurWarchief joined #rest
21:40 trygvis joined #rest
21:40 ekroon joined #rest
21:40 zama joined #rest
21:43 ironChicken joined #rest
21:44 cythrawll joined #rest
21:44 DrCode joined #rest
21:50 happyface joined #rest
21:50 graste1 joined #rest
21:50 talios joined #rest
21:50 bigbluehat joined #rest
21:50 imanc joined #rest
21:50 gluegadget joined #rest
21:53 imanc joined #rest
21:53 lufi joined #rest
21:53 saml joined #rest
21:53 SupaHam joined #rest
21:53 rickharrison joined #rest
21:53 blindscreen_ joined #rest
21:53 vlakarados_ joined #rest
21:54 Jarda joined #rest
21:54 ChrisAnn joined #rest
21:54 igitoor joined #rest
21:54 jgornick joined #rest
21:54 tmoore_ joined #rest
21:54 ramsey joined #rest
21:54 gamache joined #rest
21:54 HighBit joined #rest
21:59 `0660 joined #rest
21:59 sulky joined #rest
21:59 HighBit joined #rest
21:59 gamache joined #rest
21:59 ramsey joined #rest
21:59 tmoore_ joined #rest
21:59 jgornick joined #rest
21:59 ChrisAnn joined #rest
21:59 Jarda joined #rest
21:59 vlakarados_ joined #rest
21:59 blindscreen_ joined #rest
21:59 rickharrison joined #rest
21:59 SupaHam joined #rest
21:59 saml joined #rest
21:59 lufi joined #rest
21:59 imanc joined #rest
21:59 gluegadget joined #rest
21:59 bigbluehat joined #rest
21:59 talios joined #rest
21:59 graste1 joined #rest
21:59 happyface joined #rest
21:59 DrCode joined #rest
21:59 cythrawll joined #rest
21:59 ironChicken joined #rest
21:59 zama joined #rest
21:59 ekroon joined #rest
21:59 trygvis joined #rest
21:59 CentaurWarchief joined #rest
21:59 lebster joined #rest
21:59 Left_Turn joined #rest
21:59 mezod joined #rest
21:59 asm89 joined #rest
21:59 whartung joined #rest
21:59 proteusguy joined #rest
21:59 tr3online joined #rest
21:59 shrink0r joined #rest
21:59 introspectr joined #rest
21:59 mgomezch joined #rest
21:59 fumanchu joined #rest
21:59 locks joined #rest
21:59 blahdeblah joined #rest
21:59 riddle joined #rest
21:59 blongden_ joined #rest
21:59 dreamdust joined #rest
21:59 Davey joined #rest
21:59 daxim joined #rest
21:59 pdurbin joined #rest
21:59 alxbl joined #rest
21:59 jackalista joined #rest
22:06 igitoor joined #rest
22:06 imanc joined #rest
22:06 happyface joined #rest
22:06 graste1 joined #rest
22:06 bigbluehat joined #rest
22:06 gluegadget joined #rest
22:08 imanc joined #rest
22:10 gluegadget joined #rest
22:15 igitoor joined #rest
22:52 `0660_ joined #rest
23:38 shrink0r_ joined #rest
23:44 DrCode joined #rest

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

https://trygvis.io/rest-wiki/