I am trying to trigger a custom build on a project passing in a specific modificationId as mentioned here.
e.g httpAuth/action.html?add2Queue=bt27&modificationId=3605
This works great. However I need to be able to get the modificationId of the last know successful build. I cannot see or find any mention of this in the rest api docs.
I am able to retrieve the buildId of the last successful build but the modificationId is not included
e.g httpAuth/app/rest/buildTypes/id:bt27/builds/status:SUCCESS/number
Does anybody know how to get a list of modificationIds from the rest api?