Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2022-04-21 22:00:37 +00:00
parent 6525e8b62e
commit 08b075f6d1
2 changed files with 16 additions and 6 deletions
@@ -1084,13 +1084,16 @@ public interface RepositoryApi {
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param filepath filepath of file to get (required)
* @param ref The name of the commit/branch/tag. Default the repositorys default branch (usually
* master) (optional)
* @return Call<Void>
*/
@GET("repos/{owner}/{repo}/editorconfig/{filepath}")
Call<Void> repoGetEditorConfig(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Path("filepath") String filepath);
@retrofit2.http.Path("filepath") String filepath,
@retrofit2.http.Query("ref") String ref);
/**
* Get a Git hook
@@ -1833,13 +1836,16 @@ public interface RepositoryApi {
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param id id of the hook to test (required)
* @param ref The name of the commit/branch/tag. Default the repositorys default branch (usually
* master) (optional)
* @return Call&lt;Void&gt;
*/
@POST("repos/{owner}/{repo}/hooks/{id}/tests")
Call<Void> repoTestHook(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Path("id") Long id);
@retrofit2.http.Path("id") Long id,
@retrofit2.http.Query("ref") String ref);
/**
* List a repo&#x27;s tracked times