greptilian logo

IRC log for #rest, 2016-07-22

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:04 shodan` Resources are tied to groups not users
00:05 whartung what does that have to do with a users group?
00:05 shodan` I could use `/resource` instead of `/groups/{id}/resource` but this feels inconsistant since super users should be using that route to update existing resources
00:05 whartung a group is a property of the user resource, yes?
00:06 shodan` the user inherits their resources from the group they are in.
00:06 whartung but shouldn't you ahve a link from the user to the group they're in?
00:07 shodan` /users/me/group?
00:07 whartung no, in the user resource
00:07 whartung there should be a link to the user's group
00:07 shodan` yeah
00:07 whartung so you get the user, and, voila, user -> group is the group
00:08 shodan` |user|>--|group|>---<|resource|
00:08 shodan` wouldn't this require an excesive amount of requests?
00:08 shodan` just to get resources post login
00:08 shodan` maybe I'm just overthinking this
00:08 shodan` I probably
00:08 whartung your question was "best route to quickly get for example a user's group", you didn't give it much context
00:08 shodan` s/$/ am/
00:10 shodan` I guess I'll just deal with it tomorrow
00:10 mamund_ joined #rest
00:10 whartung REST works better with coarse resources, otherwise, yes, it can get chatty
00:28 firemark joined #rest
00:30 tbsf joined #rest
00:30 tbsf joined #rest
00:46 * mamund_ has to go, laters!
01:01 fuzzyhorns joined #rest
03:02 Coldblackice joined #rest
03:31 sulky_ joined #rest
03:46 sulky_ joined #rest
04:02 sulky joined #rest
04:06 firemark joined #rest
04:30 Coldblackice joined #rest
04:43 Coldblackice joined #rest
04:54 wsieroci joined #rest
07:15 Macaveli joined #rest
07:46 graste joined #rest
07:47 Tomatosoup1 joined #rest
08:13 amadiro_ joined #rest
09:11 shodan` joined #rest
10:34 shodan` joined #rest
10:49 Devastator joined #rest
10:49 Devastator left #rest
11:51 wsieroci joined #rest
12:00 shodan` joined #rest
12:52 tbsf joined #rest
13:25 interop_madness joined #rest
14:26 ShekharReddy joined #rest
14:47 Macaveli joined #rest
14:58 fuzzyhorns joined #rest
15:28 Tomatosoup1 joined #rest
15:29 tbsf joined #rest
15:30 Haudegen_ joined #rest
15:33 Macaveli joined #rest
15:38 mamund_ joined #rest
17:23 fuzzyhorns joined #rest
18:17 cvander joined #rest
19:09 fuzzyhorns joined #rest
20:48 daxim joined #rest
21:40 cvander joined #rest

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

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