-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
modifies/apiThis PR adds API routes or modifies themThis PR adds API routes or modifies themtype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
- Gitea version (or commit ref): 1.14.3
- Git version:
- Operating system:
- Database (use
[x]):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Log gist:
Description
For comparing page, I need an API to fetch the opened PR by the base branch and the head branch.
The request will look like this:
GET /repos/{owner}/{repo}/pulls/{base}/{head}?state=open
and the response:
200 when the PR exists, and the body is the PullRequest
404 when the PR doesn't existScreenshots
markusamshove, anbraten and cduchenoy
Metadata
Metadata
Assignees
Labels
modifies/apiThis PR adds API routes or modifies themThis PR adds API routes or modifies themtype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.