Timeline for What are the "best practice" to manage related resource when designing REST API?
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 1, 2019 at 21:19 | comment | added | Géry Ogam | @Laiv I think that @RobertHarvey means that the URI /blogs/{blog_id}/posts/{post_id}/comments should not exist because the blogs should only know their immediate neighbors (posts). It should assume nothing about their neighbors' neighbors (comments), to avoid tight coupling. | |
| Mar 23, 2018 at 13:45 | comment | added | Laiv | @RobertHarvey could you elaborate (a little bit) how is LoD related to the question? For clarification | |
| Mar 23, 2018 at 13:44 | comment | added | vikarjramun | What about Matrix params? Eg GET /blogs;blog-id=:blog_id1;blog-id=:blog_id2/posts/comments;author=JohnDoe | |
| S Mar 23, 2018 at 13:12 | history | suggested | Eric Stein | OP does not want a REST solution, but rather a design appropriate for a generic web API | |
| Mar 23, 2018 at 12:39 | review | Close votes | |||
| Mar 28, 2018 at 3:01 | |||||
| Mar 23, 2018 at 12:10 | answer | added | Eric Stein | timeline score: 1 | |
| Mar 23, 2018 at 11:31 | review | Suggested edits | |||
| S Mar 23, 2018 at 13:12 | |||||
| Mar 23, 2018 at 8:47 | comment | added | heapOverflow | @EricStein: The second one. I don't really care about pure REST. | |
| Mar 23, 2018 at 3:17 | answer | added | VoiceOfUnreason | timeline score: -2 | |
| Mar 22, 2018 at 21:27 | answer | added | Jeff Lambert | timeline score: 2 | |
| Mar 22, 2018 at 21:00 | comment | added | Eric Stein | OP, when you say "REST API", do you really mean you want the REST way of addressing these problems? Or are you just saying you want the typical way web APIs address these issues? | |
| Mar 22, 2018 at 18:12 | comment | added | reaanb | See roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven | |
| Mar 22, 2018 at 17:23 | comment | added | Robert Harvey | See en.wikipedia.org/wiki/Law_of_Demeter | |
| Mar 22, 2018 at 17:18 | history | asked | heapOverflow | CC BY-SA 3.0 |