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:
@@ -1152,6 +1152,20 @@ public interface RepositoryApi {
|
||||
@retrofit2.http.Query("page") Integer page,
|
||||
@retrofit2.http.Query("limit") Integer limit);
|
||||
|
||||
/**
|
||||
* Get the pull request of the commit
|
||||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repo (required)
|
||||
* @param sha SHA of the commit to get (required)
|
||||
* @return Call<PullRequest>
|
||||
*/
|
||||
@GET("repos/{owner}/{repo}/commits/{sha}/pull")
|
||||
Call<PullRequest> repoGetCommitPullRequest(
|
||||
@retrofit2.http.Path("owner") String owner,
|
||||
@retrofit2.http.Path("repo") String repo,
|
||||
@retrofit2.http.Path("sha") String sha);
|
||||
|
||||
/**
|
||||
* Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if
|
||||
* a dir
|
||||
|
||||
Reference in New Issue
Block a user