I want to get the commit id of last successful pipeline build on a specific branch via V2 api,
Can anyone please help me ?
I found one similar answer :
But the problem here is:-
i) I cant filter it for a specific branch
ii) It is api v1.1 (I think I should be using v2)