greptilian logo

IRC log for #rest, 2017-03-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
09:34 Serg_Penguin joined #rest
09:38 interop_madness joined #rest
09:41 Serg_Penguin hi ! what if I have action not mapping well on HTTP verbs, like ban/unban user, hide/show picture etc ?
10:53 pdurbin Serg_Penguin: it's a good question. Have you looked at what other APIs do?
11:18 Serg_Penguin nope, I only tried to google it, but with no success. What API you suggest to dig ? I was expecting a 'fillip on the nose' answer, like (non-tech artist): - Can I have a time machine for my texts ? (geek): - Version control !
12:21 tbsf joined #rest
12:35 blongden For ban/unban that can just be some data on the user resource. If you want to create a resource for it then that makes sense too - have a link to a ban_status resource that's either a 404 or a 204 response (or 200 with some data on why the user is banned if you want). Just depends what suits your situation. :)
12:36 blongden In general... It's either an attribute on the 'owner' resource (in this case the user), or create a new resource that can be linked to so you can map the uniform interface to them.
14:18 wsiqueir joined #rest
14:40 mac- hm, they wrote that there are components and connectors
14:41 mac- components are part of RESTful system
14:42 mac- and they wrote: Like user agents and origin servers, client and server are the most common types of connectors.
14:43 mac- how user agent can be a connector when connector is an interface
14:48 mac- if user agent is a component why client is a connector ???
14:54 mac- ok, I think I understand now
14:54 mac- http://stackoverflow.com/questions/35637601/difference-between-client-and-user-agent
14:54 mac- as they wrote here
15:43 tbsf joined #rest
16:32 wsieroci joined #rest
17:04 tbsf joined #rest
17:05 tbsf joined #rest
17:16 wsieroci joined #rest
17:23 tbsf joined #rest
17:26 tbsf_ joined #rest
17:32 tbsf joined #rest
17:39 tbsf joined #rest
18:29 wsieroci joined #rest
18:42 tbsf joined #rest
18:59 wsieroci joined #rest
19:51 tbsf joined #rest
20:00 tbsf joined #rest
20:00 wsieroci joined #rest
21:10 tbsf joined #rest
21:17 tbsf_ joined #rest
22:01 rxo joined #rest
22:12 wsieroci joined #rest

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

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