Timeline for Retrieving a post with a specific ID
Current License: CC BY-SA 2.5
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:25 | history | edited | CommunityBot |
replaced http://stackapps.com/ with https://stackapps.com/
|
|
Jun 1, 2010 at 16:46 | vote | accept | Dave DeLong | ||
Jun 1, 2010 at 6:58 | history | edited | Kevin Montrose |
edited tags
|
|
Jun 1, 2010 at 6:57 | answer | added | Kevin Montrose | timeline score: 1 | |
May 30, 2010 at 5:18 | comment | added | Kevin Montrose |
There's some merit to a posts/{id}/comments method. However, if any method might return different types (for instance, a hypothetical /posts/{id} ) I'd have to say its not worth complexity.
|
|
May 29, 2010 at 20:53 | history | edited | Dave DeLong | CC BY-SA 2.5 |
deleted 53 characters in body
|
May 29, 2010 at 20:50 | comment | added | Dave DeLong |
@Kevin it makes library implementation slightly simpler. Specific example: retrieve the comments to a particular post. Instead of having to know that the post is a Q or an A, I could just request /posts/{id}/comments and be done with it. (which I realize now isn't immediately obvious in my question. i'll update it)
|
|
May 29, 2010 at 20:01 | comment | added | Kevin Montrose | Why would you need this? | |
May 29, 2010 at 19:38 | history | asked | Dave DeLong | CC BY-SA 2.5 |