greptilian logo

IRC log for #rest, 2015-12-04

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:55 mezod_ joined #rest
02:28 sulky joined #rest
03:40 fuzzyhorns joined #rest
04:42 fuzzyhorns joined #rest
05:44 fuzzyhorns joined #rest
06:44 fuzzyhorns joined #rest
07:19 Coldblackice joined #rest
07:45 fuzzyhorns joined #rest
07:47 ironChicken joined #rest
07:58 timg___ joined #rest
08:06 timg___ joined #rest
08:46 fuzzyhorns joined #rest
09:10 graste joined #rest
09:33 lemur joined #rest
09:34 interop_madness joined #rest
09:47 fuzzyhorns joined #rest
10:01 Andre-B joined #rest
10:47 fuzzyhorns joined #rest
10:59 interop_madness joined #rest
11:48 fuzzyhorns joined #rest
12:08 interop_madness joined #rest
12:18 mezod joined #rest
12:49 fuzzyhorns joined #rest
13:34 lemur joined #rest
14:45 nkoza joined #rest
15:10 mezod joined #rest
15:35 lemur joined #rest
16:16 ramsey joined #rest
16:33 simonv3 joined #rest
16:53 fuzzyhorns joined #rest
17:01 anth0ny joined #rest
17:06 Coldblackice joined #rest
17:54 fuzzyhorns joined #rest
17:56 baweaver joined #rest
18:04 anth0ny joined #rest
18:54 fuzzyhorns joined #rest
19:11 bogdananton joined #rest
19:51 foist joined #rest
19:55 foist Should RESTful endpoints be interface specific? For example, if the client is on a mobile device their endpoint would be different from the endpoint that a browser user would use.
19:55 fuzzyhorns joined #rest
19:59 whartung no
20:00 whartung a mobile client should request a different representation for the same resource.
20:00 interop_home joined #rest
20:00 interop_home joined #rest
20:00 foist whartung: what controls the representation?
20:01 foist Like, is there a specific header field for that?
20:01 whartung the request can ask for a specific representation (Accept header), but obviously the server is the soul arbiter of what it sends back
20:01 whartung *sole
20:03 whartung Rememer resources represent concrete things, but the data we get from the endpoints are simply representations (projections) of those things.
20:04 foist How might the Accept header be different for mobile vs. web requests?
20:05 whartung let me see if I can dig up my ancient SO post on this
20:08 whartung http://stackoverflow.com/questions/7846900/rest-api-having-same-object-but-light/7853235#7853235
20:09 whartung so you can replace "mobile" for "lite" in this example
20:13 whartung does that make sense to you?
20:15 whartung off to lunch, bbl
20:17 foist whartung: got distracted for a minute. Reading it now, thanks.
21:18 anth0ny joined #rest
21:34 whartung back
21:49 simonv3 joined #rest
21:58 saml joined #rest
23:06 fuzzyhorns joined #rest

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

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