Re:REST Anti-Patterns (2008)
by naasking on Wednesday May 10, 2017 @08:19PM
(#14312930)
> If I just need a paginated list of comments on a video, being able to quickly hit /video/1093/comments and get that list back is really nice.
REST isn't about human-readable URLs. The link to the comments should have been part of the representation returned for /video/1093 (typically JSON these days, so a "comments" property of the object).
REST isn't about human-readable URLs. The link to the comments should have been part of the representation returned for /video/1093 (typically JSON these days, so a "comments" property of the object).