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
+14 -12
View File
@@ -11742,7 +11742,7 @@ Name | Type | Description | Notes
<a name="repoListPullRequests"></a>
# **repoListPullRequests**
> List&lt;PullRequest&gt; repoListPullRequests(owner, repo, state, sort, milestone, labels, page, limit)
> List&lt;PullRequest&gt; repoListPullRequests(owner, repo, state, sort, milestone, labels, poster, page, limit)
List a repo&#x27;s pull requests
@@ -11798,16 +11798,17 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
String state = "state_example"; // String | State of pull request: open or closed (optional)
String owner = "owner_example"; // String | Owner of the repo
String repo = "repo_example"; // String | Name of the repo
String state = "open"; // String | State of pull request
String sort = "sort_example"; // String | Type of sort
Long milestone = 789L; // Long | ID of the milestone
List<Long> labels = Arrays.asList(56L); // List<Long> | Label IDs
Integer page = 56; // Integer | page number of results to return (1-based)
Integer limit = 56; // Integer | page size of results
String poster = "poster_example"; // String | Filter by pull request author
Integer page = 1; // Integer | Page number of results to return (1-based)
Integer limit = 56; // Integer | Page size of results
try {
List<PullRequest> result = apiInstance.repoListPullRequests(owner, repo, state, sort, milestone, labels, page, limit);
List<PullRequest> result = apiInstance.repoListPullRequests(owner, repo, state, sort, milestone, labels, poster, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepositoryApi#repoListPullRequests");
@@ -11819,14 +11820,15 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**state** | **String**| State of pull request: open or closed (optional) | [optional] [enum: closed, open, all]
**owner** | **String**| Owner of the repo |
**repo** | **String**| Name of the repo |
**state** | **String**| State of pull request | [optional] [default to open] [enum: open, closed, all]
**sort** | **String**| Type of sort | [optional] [enum: oldest, recentupdate, leastupdate, mostcomment, leastcomment, priority]
**milestone** | **Long**| ID of the milestone | [optional]
**labels** | [**List&lt;Long&gt;**](Long.md)| Label IDs | [optional]
**page** | **Integer**| page number of results to return (1-based) | [optional]
**limit** | **Integer**| page size of results | [optional]
**poster** | **String**| Filter by pull request author | [optional]
**page** | **Integer**| Page number of results to return (1-based) | [optional] [default to 1] [enum: ]
**limit** | **Integer**| Page size of results | [optional] [enum: ]
### Return type