greptilian logo

IRC log for #rest, 2016-08-23

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:09 Tomatosoup- joined #rest
01:27 Coldblackice joined #rest
03:30 Coldblackice joined #rest
04:32 impl joined #rest
06:05 wsieroci joined #rest
06:51 Macaveli joined #rest
06:56 Macaveli joined #rest
07:24 timg__ joined #rest
08:25 Macaveli joined #rest
08:41 Macaveli joined #rest
08:54 Tomatosoup- joined #rest
09:12 Macaveli joined #rest
11:14 tonyacunar joined #rest
11:18 Macaveli joined #rest
14:02 tbsf joined #rest
14:38 foist joined #rest
14:42 tbsf joined #rest
14:52 tbsf joined #rest
15:04 fuzzyhorns joined #rest
15:22 vanHoesel joined #rest
15:36 fuzzyhorns joined #rest
15:43 tbsf joined #rest
15:54 Macaveli joined #rest
16:49 ShekharReddy joined #rest
16:55 Coldblackice joined #rest
17:07 Tomatosoup- joined #rest
17:13 k_j joined #rest
19:08 sfdebug joined #rest
19:09 sfdebug hi, i have a webservice that i can POST medias... but now i have to have a function to "order that", can anyone tell me a way to do that?
19:33 fuzzyhorns joined #rest
19:55 Tomatosoup- joined #rest
20:10 whartung what does that mean sfdebug? "order that"
20:10 sfdebug whartung, sort that
20:10 whartung sort what?
20:10 sfdebug the order of the medias...
20:10 sfdebug i have an album... and medias...
20:11 sfdebug i have a album resource and a media resource, i can create albums and medias...
20:11 sfdebug but i need the client can order the medias inside the album...
20:12 sfdebug media x order 1, media y order 2 etc...
20:12 sfdebug and i'm not thinking in a well done way to do that...
20:12 whartung you want the client to be able to retrieve a list in a specific order?
20:13 sfdebug whartung, no, the client must choose the media order and the medias will be ordened in the album in that order specified by the client...
20:14 whartung the client sets the order for everyone?
20:14 sfdebug yes
20:15 whartung is the order a field that it can be sorted by, or you want the client arbitrarily arrange the medias?
20:15 sfdebug that's a field...
20:15 sfdebug the client choose the order and the media order will be recorded on database...
20:16 whartung so you could POST /album/123/order  with a value of song_length or something
20:16 sfdebug but a "order" resource isn't something strange?
20:17 whartung nope
20:18 sfdebug i thought about if before but seems a little strange to me...
20:18 sfdebug because it isn't a resource
20:18 whartung sure it is
20:18 whartung it's a resource that represne the state of the ordering of the media
20:18 whartung it's just a very small resource
20:19 sfdebug hummm...
20:19 whartung "Hey, how is the media sorted?" "Simple - GET /album/123/order"
20:20 sfdebug hummm... yeah, now it seems more clear to me...
20:20 sfdebug i think i will do that way...
20:23 firemark joined #rest
20:23 firemark hello
20:23 whartung o/
20:24 sfdebug hi firemark
20:25 Tomatosoup- hello firemark
20:51 Tomatosoup- joined #rest
21:11 vishnurao joined #rest
22:28 `0660 joined #rest
22:49 tonyacunar joined #rest
23:25 tonyacunar joined #rest

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

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