Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 39 additions & 17 deletions README.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/Api/ActivityApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getV5NotificationsMessages**
> \Gitee\Model\UserMessage[] getV5NotificationsMessages($accessToken, $unread, $since, $before, $ids, $page, $perPage)
> \Gitee\Model\UserMessageList getV5NotificationsMessages($accessToken, $unread, $since, $before, $ids, $page, $perPage)

列出授权用户的所有私信

Expand Down Expand Up @@ -298,7 +298,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\UserMessage[]**](../Model/UserMessage.md)
[**\Gitee\Model\UserMessageList**](../Model/UserMessageList.md)

### Authorization

Expand Down Expand Up @@ -363,7 +363,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getV5NotificationsThreads**
> \Gitee\Model\UserNotification[] getV5NotificationsThreads($accessToken, $unread, $participating, $type, $since, $before, $ids, $page, $perPage)
> \Gitee\Model\UserNotificationList getV5NotificationsThreads($accessToken, $unread, $participating, $type, $since, $before, $ids, $page, $perPage)

列出授权用户的所有通知

Expand Down Expand Up @@ -414,7 +414,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\UserNotification[]**](../Model/UserNotification.md)
[**\Gitee\Model\UserNotificationList**](../Model/UserNotificationList.md)

### Authorization

Expand Down Expand Up @@ -591,7 +591,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getV5ReposOwnerRepoNotifications**
> \Gitee\Model\UserNotification[] getV5ReposOwnerRepoNotifications($owner, $repo, $accessToken, $unread, $participating, $type, $since, $before, $ids, $page, $perPage)
> \Gitee\Model\UserNotificationList getV5ReposOwnerRepoNotifications($owner, $repo, $accessToken, $unread, $participating, $type, $since, $before, $ids, $page, $perPage)

列出一个仓库里的通知

Expand Down Expand Up @@ -646,7 +646,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\UserNotification[]**](../Model/UserNotification.md)
[**\Gitee\Model\UserNotificationList**](../Model/UserNotificationList.md)

### Authorization

Expand Down
404 changes: 404 additions & 0 deletions docs/Api/ChecksApi.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/Api/EmailsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Method | HTTP request | Description


# **getV5Emails**
> \Gitee\Model\UserEmail getV5Emails($accessToken)
> \Gitee\Model\UserEmail[] getV5Emails($accessToken)

获取授权用户的全部邮箱

Expand Down Expand Up @@ -43,7 +43,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\UserEmail**](../Model/UserEmail.md)
[**\Gitee\Model\UserEmail[]**](../Model/UserEmail.md)

### Authorization

Expand Down
7 changes: 4 additions & 3 deletions docs/Api/EnterprisesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getV5EnterprisesEnterpriseMembersSearch**
> getV5EnterprisesEnterpriseMembersSearch($enterprise, $queryType, $queryValue, $accessToken)
> \Gitee\Model\EnterpriseMember getV5EnterprisesEnterpriseMembersSearch($enterprise, $queryType, $queryValue, $accessToken)

获取企业成员信息(通过用户名/邮箱)

Expand All @@ -337,7 +337,8 @@ $queryValue = "queryValue_example"; // string | 查询值
$accessToken = "accessToken_example"; // string | 用户授权码

try {
$apiInstance->getV5EnterprisesEnterpriseMembersSearch($enterprise, $queryType, $queryValue, $accessToken);
$result = $apiInstance->getV5EnterprisesEnterpriseMembersSearch($enterprise, $queryType, $queryValue, $accessToken);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EnterprisesApi->getV5EnterprisesEnterpriseMembersSearch: ', $e->getMessage(), PHP_EOL;
}
Expand All @@ -355,7 +356,7 @@ Name | Type | Description | Notes

### Return type

void (empty response body)
[**\Gitee\Model\EnterpriseMember**](../Model/EnterpriseMember.md)

### Authorization

Expand Down
8 changes: 4 additions & 4 deletions docs/Api/GistsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ $apiInstance = new Gitee\Api\GistsApi(
);
$id = "id_example"; // string | 代码片段的ID
$accessToken = "accessToken_example"; // string | 用户授权码
$files = array('key' => "files_example"); // map[string,string] | Hash形式的代码片段文件名以及文件内容。如: { \"file1.txt\": { \"content\": \"String file contents\" } }
$files = array("files_example"); // string[] | Hash形式的代码片段文件名以及文件内容。如: { \"file1.txt\": { \"content\": \"String file contents\" } }
$description = "description_example"; // string | 代码片段描述,1~30个字符

try {
Expand All @@ -692,7 +692,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **string**| 代码片段的ID |
**accessToken** | **string**| 用户授权码 | [optional]
**files** | [**map[string,string]**](../Model/string.md)| Hash形式的代码片段文件名以及文件内容。如: { \"file1.txt\": { \"content\": \"String file contents\" } } | [optional]
**files** | [**string[]**](../Model/string.md)| Hash形式的代码片段文件名以及文件内容。如: { \"file1.txt\": { \"content\": \"String file contents\" } } | [optional]
**description** | **string**| 代码片段描述,1~30个字符 | [optional]

### Return type
Expand Down Expand Up @@ -727,7 +727,7 @@ $apiInstance = new Gitee\Api\GistsApi(
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$files = array('key' => "files_example"); // map[string,string] | Hash形式的代码片段文件名以及文件内容。如: { \"file1.txt\": { \"content\": \"String file contents\" } }
$files = array("files_example"); // string[] | Hash形式的代码片段文件名以及文件内容。如: { \"file1.txt\": { \"content\": \"String file contents\" } }
$description = "description_example"; // string | 代码片段描述,1~30个字符
$accessToken = "accessToken_example"; // string | 用户授权码
$public = true; // bool | 公开/私有,默认: 私有
Expand All @@ -745,7 +745,7 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**files** | [**map[string,string]**](../Model/string.md)| Hash形式的代码片段文件名以及文件内容。如: { \"file1.txt\": { \"content\": \"String file contents\" } } |
**files** | [**string[]**](../Model/string.md)| Hash形式的代码片段文件名以及文件内容。如: { \"file1.txt\": { \"content\": \"String file contents\" } } |
**description** | **string**| 代码片段描述,1~30个字符 |
**accessToken** | **string**| 用户授权码 | [optional]
**public** | **bool**| 公开/私有,默认: 私有 | [optional]
Expand Down
8 changes: 4 additions & 4 deletions docs/Api/IssuesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getV5ReposOwnerRepoIssuesComments**
> \Gitee\Model\Note getV5ReposOwnerRepoIssuesComments($owner, $repo, $accessToken, $sort, $direction, $since, $page, $perPage)
> \Gitee\Model\Note[] getV5ReposOwnerRepoIssuesComments($owner, $repo, $accessToken, $sort, $direction, $since, $page, $perPage)

获取仓库所有Issue的评论

Expand Down Expand Up @@ -775,7 +775,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\Note**](../Model/Note.md)
[**\Gitee\Model\Note[]**](../Model/Note.md)

### Authorization

Expand Down Expand Up @@ -899,7 +899,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getV5ReposOwnerRepoIssuesNumberComments**
> \Gitee\Model\Note getV5ReposOwnerRepoIssuesNumberComments($owner, $repo, $number, $accessToken, $since, $page, $perPage, $order)
> \Gitee\Model\Note[] getV5ReposOwnerRepoIssuesNumberComments($owner, $repo, $number, $accessToken, $since, $page, $perPage, $order)

获取仓库某个Issue所有的评论

Expand Down Expand Up @@ -948,7 +948,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\Note**](../Model/Note.md)
[**\Gitee\Model\Note[]**](../Model/Note.md)

### Authorization

Expand Down
70 changes: 62 additions & 8 deletions docs/Api/LabelsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Method | HTTP request | Description
[**getV5ReposOwnerRepoIssuesNumberLabels**](LabelsApi.md#getV5ReposOwnerRepoIssuesNumberLabels) | **GET** /v5/repos/{owner}/{repo}/issues/{number}/labels | 获取仓库任务的所有标签
[**getV5ReposOwnerRepoLabels**](LabelsApi.md#getV5ReposOwnerRepoLabels) | **GET** /v5/repos/{owner}/{repo}/labels | 获取仓库所有任务标签
[**getV5ReposOwnerRepoLabelsName**](LabelsApi.md#getV5ReposOwnerRepoLabelsName) | **GET** /v5/repos/{owner}/{repo}/labels/{name} | 根据标签名称获取单个标签
[**getV5ReposOwnerRepoProjectLabels**](LabelsApi.md#getV5ReposOwnerRepoProjectLabels) | **GET** /v5/repos/{owner}/{repo}/project_labels | 获取仓库所有标签
[**patchV5ReposOwnerRepoLabelsOriginalName**](LabelsApi.md#patchV5ReposOwnerRepoLabelsOriginalName) | **PATCH** /v5/repos/{owner}/{repo}/labels/{original_name} | 更新一个仓库任务标签
[**postV5ReposOwnerRepoIssuesNumberLabels**](LabelsApi.md#postV5ReposOwnerRepoIssuesNumberLabels) | **POST** /v5/repos/{owner}/{repo}/issues/{number}/labels | 创建Issue标签
[**postV5ReposOwnerRepoLabels**](LabelsApi.md#postV5ReposOwnerRepoLabels) | **POST** /v5/repos/{owner}/{repo}/labels | 创建仓库任务标签
Expand Down Expand Up @@ -506,6 +507,59 @@ No authorization required

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getV5ReposOwnerRepoProjectLabels**
> \Gitee\Model\ProjectLabel[] getV5ReposOwnerRepoProjectLabels($owner, $repo, $accessToken)

获取仓库所有标签

获取仓库所有标签

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new Gitee\Api\LabelsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$owner = "owner_example"; // string | 仓库所属空间地址(企业、组织或个人的地址path)
$repo = "repo_example"; // string | 仓库路径(path)
$accessToken = "accessToken_example"; // string | 用户授权码

try {
$result = $apiInstance->getV5ReposOwnerRepoProjectLabels($owner, $repo, $accessToken);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LabelsApi->getV5ReposOwnerRepoProjectLabels: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) |
**repo** | **string**| 仓库路径(path) |
**accessToken** | **string**| 用户授权码 | [optional]

### Return type

[**\Gitee\Model\ProjectLabel[]**](../Model/ProjectLabel.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **patchV5ReposOwnerRepoLabelsOriginalName**
> \Gitee\Model\Label patchV5ReposOwnerRepoLabelsOriginalName($owner, $repo, $originalName, $accessToken, $name, $color)

Expand Down Expand Up @@ -566,7 +620,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **postV5ReposOwnerRepoIssuesNumberLabels**
> \Gitee\Model\Label postV5ReposOwnerRepoIssuesNumberLabels($owner, $repo, $number, $body, $accessToken)
> \Gitee\Model\Label[] postV5ReposOwnerRepoIssuesNumberLabels($owner, $repo, $number, $body, $accessToken)

创建Issue标签

Expand Down Expand Up @@ -609,7 +663,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\Label**](../Model/Label.md)
[**\Gitee\Model\Label[]**](../Model/Label.md)

### Authorization

Expand Down Expand Up @@ -680,7 +734,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **postV5ReposOwnerRepoProjectLabels**
> \Gitee\Model\ProjectLabel postV5ReposOwnerRepoProjectLabels($owner, $repo, $body, $accessToken)
> \Gitee\Model\ProjectLabel[] postV5ReposOwnerRepoProjectLabels($owner, $repo, $body, $accessToken)

添加仓库标签

Expand Down Expand Up @@ -721,7 +775,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\ProjectLabel**](../Model/ProjectLabel.md)
[**\Gitee\Model\ProjectLabel[]**](../Model/ProjectLabel.md)

### Authorization

Expand All @@ -735,7 +789,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **putV5ReposOwnerRepoIssuesNumberLabels**
> \Gitee\Model\Label putV5ReposOwnerRepoIssuesNumberLabels($owner, $repo, $number, $body, $accessToken)
> \Gitee\Model\Label[] putV5ReposOwnerRepoIssuesNumberLabels($owner, $repo, $number, $body, $accessToken)

替换Issue所有标签

Expand Down Expand Up @@ -778,7 +832,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\Label**](../Model/Label.md)
[**\Gitee\Model\Label[]**](../Model/Label.md)

### Authorization

Expand All @@ -792,7 +846,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **putV5ReposOwnerRepoProjectLabels**
> \Gitee\Model\ProjectLabel putV5ReposOwnerRepoProjectLabels($owner, $repo, $body, $accessToken)
> \Gitee\Model\ProjectLabel[] putV5ReposOwnerRepoProjectLabels($owner, $repo, $body, $accessToken)

替换所有仓库标签

Expand Down Expand Up @@ -833,7 +887,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\ProjectLabel**](../Model/ProjectLabel.md)
[**\Gitee\Model\ProjectLabel[]**](../Model/ProjectLabel.md)

### Authorization

Expand Down
8 changes: 4 additions & 4 deletions docs/Api/MilestonesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ $owner = "owner_example"; // string | 仓库所属空间地址(企业、组织
$repo = "repo_example"; // string | 仓库路径(path)
$number = 56; // int | 里程碑序号(id)
$title = "title_example"; // string | 里程碑标题
$dueOn = "dueOn_example"; // string | 里程碑的截止日期
$dueOn = new \DateTime("2013-10-20"); // \DateTime | 里程碑的截止日期
$accessToken = "accessToken_example"; // string | 用户授权码
$state = "open"; // string | 里程碑状态: open, closed, all。默认: open
$description = "description_example"; // string | 里程碑具体描述
Expand All @@ -226,7 +226,7 @@ Name | Type | Description | Notes
**repo** | **string**| 仓库路径(path) |
**number** | **int**| 里程碑序号(id) |
**title** | **string**| 里程碑标题 |
**dueOn** | **string**| 里程碑的截止日期 |
**dueOn** | **\DateTime**| 里程碑的截止日期 |
**accessToken** | **string**| 用户授权码 | [optional]
**state** | **string**| 里程碑状态: open, closed, all。默认: open | [optional] [default to open]
**description** | **string**| 里程碑具体描述 | [optional]
Expand Down Expand Up @@ -266,7 +266,7 @@ $apiInstance = new Gitee\Api\MilestonesApi(
$owner = "owner_example"; // string | 仓库所属空间地址(企业、组织或个人的地址path)
$repo = "repo_example"; // string | 仓库路径(path)
$title = "title_example"; // string | 里程碑标题
$dueOn = "dueOn_example"; // string | 里程碑的截止日期
$dueOn = new \DateTime("2013-10-20"); // \DateTime | 里程碑的截止日期
$accessToken = "accessToken_example"; // string | 用户授权码
$state = "open"; // string | 里程碑状态: open, closed, all。默认: open
$description = "description_example"; // string | 里程碑具体描述
Expand All @@ -287,7 +287,7 @@ Name | Type | Description | Notes
**owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) |
**repo** | **string**| 仓库路径(path) |
**title** | **string**| 里程碑标题 |
**dueOn** | **string**| 里程碑的截止日期 |
**dueOn** | **\DateTime**| 里程碑的截止日期 |
**accessToken** | **string**| 用户授权码 | [optional]
**state** | **string**| 里程碑状态: open, closed, all。默认: open | [optional] [default to open]
**description** | **string**| 里程碑具体描述 | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/Api/OrganizationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getV5OrgsOrg**
> \Gitee\Model\Group getV5OrgsOrg($org, $accessToken)
> \Gitee\Model\GroupDetail getV5OrgsOrg($org, $accessToken)

获取一个组织

Expand Down Expand Up @@ -160,7 +160,7 @@ Name | Type | Description | Notes

### Return type

[**\Gitee\Model\Group**](../Model/Group.md)
[**\Gitee\Model\GroupDetail**](../Model/GroupDetail.md)

### Authorization

Expand Down
Loading