Hi Team,
I've gone through the API reference but can't find the info for the following -
How to filter to find only the last successful deployment.
How to redeploy the last successful deployment.
Use case -
We're trying to create a shell script that reverts to the last successful deployment in case of failure on certain http error codes.