Alright, I have a ReST API which exposes an artifact whose state is "stopped". To start it in a ReSTful way, naturally I PATCH the artifact with a new state, "running". But what if I now want to *restart* it in a ReSTful way?
-
-
Replying to @qntm
actually, wait, PATCHing "running" is cheating. You've got a RESTful Zeno's paradox where you go from stopped to running with no time in between; where's the "starting" state? What starts immediately? And in what sense can it then restart? How does restarting alter its state?
1 reply 0 retweets 2 likes
Replying to @pavel_lishin
For the sake of argument, say the HTTP request doesn't return until the thing is started
3:13 PM - 4 Mar 2020
0 replies
0 retweets
5 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.