added pull request endpoint