greptilian logo

IRC log for #rest, 2016-09-28

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:16 fuzzyhorns joined #rest
00:43 rxo joined #rest
00:59 tbsf joined #rest
01:25 Starcraftmazter joined #rest
01:25 Starcraftmazter ghi
05:13 wsieroci joined #rest
05:33 sp1rs joined #rest
05:44 sp1rs_ joined #rest
05:45 sp1rs joined #rest
05:48 sp1rs_ joined #rest
05:51 sp1rs joined #rest
06:12 Macaveli joined #rest
06:17 sp1rs joined #rest
07:01 Macaveli joined #rest
07:12 sp1rs joined #rest
07:37 Tomatosoup- joined #rest
07:40 sp1rs joined #rest
08:12 rm- joined #rest
08:12 rm- Hello dear restful people.
08:13 rm- I would really need someone to help me figure something out.
08:16 rm- I'm building a statistics endpoint that should respond with ... well... statistics. But I'm not sure how to go about this in a proper restful way. Let's say that I want serve data for visitors in the past week, and then I want statistics for most viewed page and what not. To do this it seems wrong to do /statistics/visitors/weekly and /statistics/page-views or /statistics/page-views/weekly.
08:17 rm- What does the REST "laws" say about category-prefixing in URLs like in the example above?
08:17 SpaghettiCat left #rest
08:39 trygvis it doesn't say anything about it
08:41 rm- Alright. To me it felt wrong because I have/had an idea that the second part of the URI should be an identifier instead of a endpoint.
08:52 rm- But I pulled my thumb out of my ass and got on with it. Thanks for the response trygvis
08:53 rm- left #rest
08:58 sp1rs joined #rest
09:25 graste joined #rest
09:46 sp1rs joined #rest
10:19 Tomatosoup- joined #rest
11:34 sp1rs joined #rest
12:04 tonyacunar joined #rest
12:21 sp1rs joined #rest
14:08 tbsf joined #rest
14:15 ShekharReddy joined #rest
14:30 fuzzyhorns joined #rest
14:52 tbsf joined #rest
15:21 tbsf joined #rest
15:31 tbsf joined #rest
15:36 ramsey joined #rest
15:40 Tomatosoup- joined #rest
16:03 Coldblackice joined #rest
16:17 interop_madness joined #rest
16:23 sp1rs joined #rest
16:44 wsieroci joined #rest
16:55 k_j joined #rest
16:56 sp1rs joined #rest
17:21 sp1rs joined #rest
18:11 ShekharReddy joined #rest
18:26 event15 joined #rest
19:02 tbsf joined #rest
20:31 tbsf joined #rest
20:31 tbsf joined #rest
22:11 tbsf joined #rest
22:11 tbsf joined #rest
22:30 fuzzyhorns joined #rest
22:50 tonyacunar joined #rest
23:43 tonyacunar joined #rest

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

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