greptilian logo

IRC log for #rest, 2017-06-20

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:14 impl_ joined #rest
00:14 mac-_ joined #rest
00:15 trygvis_ joined #rest
00:15 asdf__ joined #rest
00:15 mamund_ joined #rest
00:15 `0660_ joined #rest
00:15 riddle joined #rest
00:15 mooncup joined #rest
00:18 benaiah joined #rest
02:36 philbot joined #rest
02:36 Topic for #rest is now #rest REpresentational State Transfer | logs: http://irclog.greptilian.com/rest/today |  http://tech.groups.yahoo.com/group/rest-discuss | http://code.google.com/p/implementing-rest/ | http://en.wikipedia.org/wiki/Representational_State_Transfer
03:43 drcode joined #rest
04:35 pdurbin joined #rest
07:07 Haudegen joined #rest
08:13 vanHoesel joined #rest
14:39 wsieroci joined #rest
14:47 ResidentBiscuit joined #rest
14:48 ResidentBiscuit joined #rest
15:36 ResidentBiscuit joined #rest
15:36 ResidentBiscuit joined #rest
15:37 ResidentBiscuit joined #rest
15:37 ResidentBiscuit joined #rest
15:38 ResidentBiscuit joined #rest
15:39 ResidentBiscuit joined #rest
15:39 ResidentBiscuit joined #rest
16:40 Haudegen joined #rest
17:22 mamund joined #rest
17:58 vanHoesel joined #rest
18:06 wsieroci joined #rest
20:02 shoobie joined #rest
20:06 lilym joined #rest
20:06 lilym honk
20:06 lilym So in terms of a REST API I wanna use a query string parameter like `mostFrequent=true` to get the most popular items of a resource? or do I wanna do `/works/most-frequent`? I'd guess the former since it's merely changing the ordering technically?
20:07 lilym i guess it could even just be orderByFrequency
20:07 lilym the thing is the results would be cached hourly
20:09 asdf i'd do the querystring since it's more common (in frameworks, i think) and i suppose more pleasant to use (with how it won't clash with /works/<id>); but ultimately, uri design isn't a very huge deal
20:11 asdf also something like `?order=frequency` will probably reuse your existing ordering thing, as opposed to the ad-hoc mostFrequent
20:11 lilym yeah that'll probably get expanded
20:14 lilym asdf, something like order=frequency,desc
20:14 asdf right (or order=a&order=b)
20:25 lilym kool thx
20:26 Haudegen joined #rest
20:55 wsieroci joined #rest
22:14 mooncup_ joined #rest
22:15 trygvis_ joined #rest
22:15 shoobie joined #rest
22:15 shoobie joined #rest
22:25 `0660 joined #rest

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

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