mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-06 18:02:16 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -1336,6 +1336,22 @@ public interface RepositoryApi {
|
||||
@retrofit2.http.Path("repo") String repo,
|
||||
@retrofit2.http.Path("index") Long index);
|
||||
|
||||
/**
|
||||
* Get a pull request by base and head
|
||||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repo (required)
|
||||
* @param base base of the pull request to get (required)
|
||||
* @param head head of the pull request to get (required)
|
||||
* @return Call<PullRequest>
|
||||
*/
|
||||
@GET("repos/{owner}/{repo}/pulls/{base}/{head}")
|
||||
Call<PullRequest> repoGetPullRequestByBaseHead(
|
||||
@retrofit2.http.Path("owner") String owner,
|
||||
@retrofit2.http.Path("repo") String repo,
|
||||
@retrofit2.http.Path("base") String base,
|
||||
@retrofit2.http.Path("head") String head);
|
||||
|
||||
/**
|
||||
* Get commits for a pull request
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user