I am writing a web-service that perform some software installation in a asynchronous way. In one case a manual action is needed in the middle of the installation. Thus I paused the installation and wait for the user to request the application to resume the installation.
Currently we can retrieve the running installations by performing a GET request on /running-install
and cancel a installation with a DELETE on /running-install/<id>
but I can't find the appropriate method to use to resume a paused installation.
I was thinking of something like a doing PUT on /running-install/<id>
with a body containing {"status":"running"}
but it does not feel very right to me.
Thank you