Re:API Design Guide
by rdtsc on Thursday February 23, 2017 @03:13AM
(#13712434)
Good point. I think that might be a good thing too in the sense that you could support multiple API versions: by maintaining compatibility for older URL paths. Then clients could also crawl the hierarchy at startup or so to see if what they expect to be there is there or it changed. Maybe respond with a redirect if an older resource is accessed... In practice usually a v1 or v2 is shoved somewhere in the URL or headers.
[ Parent
| on HN ]
There are no comments on this comment yet.