Re:Designing a Pragmatic RESTful API
by mtrimpe on Tuesday June 04, 2013 @12:26PM
(#5820403)
My first solution was assuming you could not revert. If you want to allow revert then the client would first call /posts/X/versions, get a list of all versions and then either do
or
Access control is completely orthogonal to this; so for your sample case you would just return a 403 for any other calls (like e.g. POSTs to /posts/X/versions)
[ Parent
| on HN ]
There are no comments on this comment yet.