mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-14 21:50:39 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user