greptilian logo

IRC log for #rest, 2015-02-01

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:13 shrink0r joined #rest
00:14 shrink0r_ joined #rest
00:31 michaeldausmann joined #rest
00:32 michaeldausmann hi guys
00:33 pdurbin hey
00:33 michaeldausmann I have a rest design question.. right forum?
00:33 * pdurbin checks the /topic
00:33 pdurbin michaeldausmann: yup
00:34 michaeldausmann so I am building a restful api to support a question/answer type service
00:34 michaeldausmann users will post answers
00:35 michaeldausmann and the server will respond with advice + more questions
00:35 michaeldausmann underneath the hood is a rules engine
00:35 pdurbin sounds like https://api.stackexchange.com
00:36 michaeldausmann interesting
00:36 michaeldausmann so my rules are keyed by clientId and ruleId.. so posting/retrieving rules is pretty standard
00:37 michaeldausmann router.get('/rules/:clientId/:ruleId'
00:37 michaeldausmann but when the user is engaging in a question/answer way, not sure how tto structure it
00:37 michaeldausmann I think my 'noun' is 'answers'
00:38 michaeldausmann so user will POST to answers
00:38 michaeldausmann but I'm not sure whether to do /rules/:clientId/:ruleId/answers (POST)
00:38 michaeldausmann or just /answers (POST) and put the ruleId/clientid in the POST data
00:39 michaeldausmann what is more intuitive?
00:40 pdurbin /questions/{id}/answers/add is how they do it at https://api.stackexchange.com/docs/create-answer
00:42 michaeldausmann ok.. but the body still contains the question id
00:42 michaeldausmann oh, actually maybe it doesn't
00:43 pdurbin the question id is in the path, the url
00:44 michaeldausmann ok got it
00:44 michaeldausmann thanks, thats very helpful
00:44 pdurbin oh sure
01:09 shrink0r joined #rest
01:23 MLMitch joined #rest
01:38 alxbl_ joined #rest
01:52 shrink0r_ joined #rest
02:09 michaeldausmann left #rest
03:10 shrink0r joined #rest
03:12 shrink0r_ joined #rest
05:19 shrink0r joined #rest
06:42 adaro joined #rest
07:08 shrink0r joined #rest
07:34 lemur joined #rest
08:29 rhyselsmore joined #rest
08:30 blahdeblah_ joined #rest
08:32 shrink0r joined #rest
08:47 philbot joined #rest
08:47 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
08:51 asm89 joined #rest
09:07 diegoaguilar joined #rest
09:57 quimrstorres joined #rest
10:11 quimrstorres joined #rest
10:24 Andre-B joined #rest
10:41 quimrstorres joined #rest
10:51 diegoaguilar joined #rest
10:51 Left_Turn joined #rest
11:24 shrink0r joined #rest
11:27 quimrstorres joined #rest
11:46 quimrstorres joined #rest
11:52 shrink0r joined #rest
11:55 quimrstorres joined #rest
11:58 proteusguy joined #rest
12:13 quimrstorres joined #rest
12:15 MLMitch joined #rest
12:26 quimrstorres joined #rest
12:43 quimrstorres joined #rest
13:04 mezod joined #rest
13:15 quimrstorres joined #rest
13:28 quimrstorres joined #rest
13:56 Andre-B joined #rest
14:09 huckleberry78 joined #rest
14:10 quimrstorres joined #rest
14:11 blahdeblah_ joined #rest
14:17 blahdeblah joined #rest
14:17 blahdeblah joined #rest
14:21 quimrstorres joined #rest
14:36 quimrstorres joined #rest
15:14 shrink0r joined #rest
16:33 shrink0r joined #rest
16:40 huckleberry78 joined #rest
16:50 shrink0r joined #rest
17:15 shrink0r joined #rest
17:35 quimrstorres joined #rest
17:53 Andre-B joined #rest
18:11 quimrstorres joined #rest
18:29 huckleberry78 joined #rest
19:04 _ollie joined #rest
19:18 quimrstorres joined #rest
19:24 quimrstorres joined #rest
19:26 shrink0r joined #rest
19:27 _ollie1 joined #rest
19:38 quimrstorres joined #rest
19:46 lemur joined #rest
19:53 shrink0r joined #rest
20:01 quimrstorres joined #rest
20:08 fragamus joined #rest
20:18 huckleberry78 joined #rest
20:22 Andre-B_ joined #rest
20:27 rhyselsmore joined #rest
20:38 quimrstorres joined #rest
20:42 shrink0r_ joined #rest
20:49 lemur joined #rest
21:38 tr3online joined #rest
21:39 quimrstorres joined #rest
21:39 tr3online joined #rest
21:45 lemur joined #rest
21:57 Angry_Roy_Fieldi joined #rest
22:03 shrink0r joined #rest
22:04 fragamus joined #rest
22:07 huckleberry78 joined #rest
22:30 diegoaguilar joined #rest
22:35 tr3online joined #rest
22:40 quimrstorres joined #rest
22:40 rhyselsmore joined #rest
23:40 quimrstorres joined #rest
23:55 huckleberry78 joined #rest

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

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