Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2023-01-27 00:10:04 +00:00
parent f14b8e537b
commit d29a62314f
2 changed files with 101 additions and 0 deletions
@@ -1209,6 +1209,17 @@ public interface RepositoryApi {
Call<Map<String, Long>> repoGetLanguages(
@retrofit2.http.Path("owner") String owner, @retrofit2.http.Path("repo") String repo);
/**
* Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @return Call&lt;Release&gt;
*/
@GET("repos/{owner}/{repo}/releases/latest")
Call<Release> repoGetLatestRelease(
@retrofit2.http.Path("owner") String owner, @retrofit2.http.Path("repo") String repo);
/**
* Get a note corresponding to a single commit from a repository
*