0

I would like to know if there is any API available from Gitlab to get all pull requests details for a repository.

I did search across gitlab documentation. But I couldn't find the proper API link.

Please suggest.

Best Regards Gowtham

Gowtham
  • 127
  • 1
  • 6

1 Answers1

0

There are all the APIs you need in the official documentation. In Gitlab they are called Merge requests, not Pull requests, this is probably why you haven't found them

rpadovani
  • 7,101
  • 2
  • 31
  • 50
  • Yes. :) Thank you very much for the link. – Gowtham May 24 '17 at 07:34
  • Need one clarification. There is a field called "state". Can we say that, "merged" indicates pr accepted, "closed" indicates pr is rejected and "opened" indicates pending review? Please suggest. – Gowtham May 25 '17 at 14:47