Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2024-10-08 00:04:55 +00:00
parent 361cbac6bf
commit ee6f6ad170
2 changed files with 21 additions and 17 deletions
@@ -2007,14 +2007,15 @@ public interface RepositoryApi {
/**
* List a repo's pull requests
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param state State of pull request: open or closed (optional) (optional)
* @param owner Owner of the repo (required)
* @param repo Name of the repo (required)
* @param state State of pull request (optional, default to open)
* @param sort Type of sort (optional)
* @param milestone ID of the milestone (optional)
* @param labels Label IDs (optional)
* @param page page number of results to return (1-based) (optional)
* @param limit page size of results (optional)
* @param poster Filter by pull request author (optional)
* @param page Page number of results to return (1-based) (optional, default to 1)
* @param limit Page size of results (optional)
* @return Call<List<PullRequest>>
*/
@GET("repos/{owner}/{repo}/pulls")
@@ -2025,6 +2026,7 @@ public interface RepositoryApi {
@retrofit2.http.Query("sort") String sort,
@retrofit2.http.Query("milestone") Long milestone,
@retrofit2.http.Query("labels") List<Long> labels,
@retrofit2.http.Query("poster") String poster,
@retrofit2.http.Query("page") Integer page,
@retrofit2.http.Query("limit") Integer limit);