Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2023-05-11 00:15:16 +00:00
parent 995c393ca7
commit 440904703b
2 changed files with 18 additions and 3 deletions
@@ -1465,13 +1465,22 @@ public interface RepositoryApi {
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param sha a git ref or commit sha (required)
* @param stat include diff stats for every commit (disable for speedup, default 'true')
* (optional)
* @param verification include verification for every commit (disable for speedup, default
* 'true') (optional)
* @param files include a list of affected files for every commit (disable for speedup, default
* 'true') (optional)
* @return Call<Commit>
*/
@GET("repos/{owner}/{repo}/git/commits/{sha}")
Call<Commit> repoGetSingleCommit(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Path("sha") String sha);
@retrofit2.http.Path("sha") String sha,
@retrofit2.http.Query("stat") Boolean stat,
@retrofit2.http.Query("verification") Boolean verification,
@retrofit2.http.Query("files") Boolean files);
/**
* Get the tag of a repository by tag name