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