Skip to content

Commit d951a48

Browse files
authored
Upgrade OpenAPI spec version to 0.1.343 (#6)
* Upgrade OpenAPI spec version to 0.1.343 * Sync change
1 parent 80a174a commit d951a48

File tree

286 files changed

+37633
-4013
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

286 files changed

+37633
-4013
lines changed

README.md

Lines changed: 68 additions & 13 deletions
Large diffs are not rendered by default.

docs/Api/AttachFilesApi.md

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
# GiteeEnterprise\AttachFilesApi
2+
3+
All URIs are relative to *https://api.gitee.com/enterprises*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**deleteEnterpriseIdAttachFilesAttachFileList**](AttachFilesApi.md#deleteEnterpriseIdAttachFilesAttachFileList) | **DELETE** /{enterprise_id}/attach_files/attach_file_list | 删除批量的attach_file
8+
[**postEnterpriseIdAttachFiles**](AttachFilesApi.md#postEnterpriseIdAttachFiles) | **POST** /{enterprise_id}/attach_files | 查看全部附件
9+
10+
11+
# **deleteEnterpriseIdAttachFilesAttachFileList**
12+
> deleteEnterpriseIdAttachFilesAttachFileList($enterpriseId, $attachFileIds, $accessToken)
13+
14+
删除批量的attach_file
15+
16+
删除批量的attach_file
17+
18+
### Example
19+
```php
20+
<?php
21+
require_once(__DIR__ . '/vendor/autoload.php');
22+
23+
$apiInstance = new GiteeEnterprise\Api\AttachFilesApi(
24+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
25+
// This is optional, `GuzzleHttp\Client` will be used as default.
26+
new GuzzleHttp\Client()
27+
);
28+
$enterpriseId = 56; // int | 企业id (https://gitee.com/api/v8/swagger#/getList 的返回值的 id)
29+
$attachFileIds = "attachFileIds_example"; // string | 删除attach_file_list列表
30+
$accessToken = "accessToken_example"; // string | 用户授权码
31+
32+
try {
33+
$apiInstance->deleteEnterpriseIdAttachFilesAttachFileList($enterpriseId, $attachFileIds, $accessToken);
34+
} catch (Exception $e) {
35+
echo 'Exception when calling AttachFilesApi->deleteEnterpriseIdAttachFilesAttachFileList: ', $e->getMessage(), PHP_EOL;
36+
}
37+
?>
38+
```
39+
40+
### Parameters
41+
42+
Name | Type | Description | Notes
43+
------------- | ------------- | ------------- | -------------
44+
**enterpriseId** | **int**| 企业id (https://gitee.com/api/v8/swagger#/getList 的返回值的 id) |
45+
**attachFileIds** | **string**| 删除attach_file_list列表 |
46+
**accessToken** | **string**| 用户授权码 | [optional]
47+
48+
### Return type
49+
50+
void (empty response body)
51+
52+
### Authorization
53+
54+
No authorization required
55+
56+
### HTTP request headers
57+
58+
- **Content-Type**: Not defined
59+
- **Accept**: application/json
60+
61+
[[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)
62+
63+
# **postEnterpriseIdAttachFiles**
64+
> \GiteeEnterprise\Model\AttachFileIssue[] postEnterpriseIdAttachFiles($enterpriseId, $accessToken, $page, $perPage, $programId, $search, $issueIds)
65+
66+
查看全部附件
67+
68+
查看全部附件
69+
70+
### Example
71+
```php
72+
<?php
73+
require_once(__DIR__ . '/vendor/autoload.php');
74+
75+
$apiInstance = new GiteeEnterprise\Api\AttachFilesApi(
76+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
77+
// This is optional, `GuzzleHttp\Client` will be used as default.
78+
new GuzzleHttp\Client()
79+
);
80+
$enterpriseId = 56; // int | 企业id (https://gitee.com/api/v8/swagger#/getList 的返回值的 id)
81+
$accessToken = "accessToken_example"; // string | 用户授权码
82+
$page = 1; // int | 当前的页码
83+
$perPage = 56; // int | 每页的数量,最大为 100
84+
$programId = 56; // int | 项目id
85+
$search = "search_example"; // string | 检索内容
86+
$issueIds = "issueIds_example"; // string | issue id数组
87+
88+
try {
89+
$result = $apiInstance->postEnterpriseIdAttachFiles($enterpriseId, $accessToken, $page, $perPage, $programId, $search, $issueIds);
90+
print_r($result);
91+
} catch (Exception $e) {
92+
echo 'Exception when calling AttachFilesApi->postEnterpriseIdAttachFiles: ', $e->getMessage(), PHP_EOL;
93+
}
94+
?>
95+
```
96+
97+
### Parameters
98+
99+
Name | Type | Description | Notes
100+
------------- | ------------- | ------------- | -------------
101+
**enterpriseId** | **int**| 企业id (https://gitee.com/api/v8/swagger#/getList 的返回值的 id) |
102+
**accessToken** | **string**| 用户授权码 | [optional]
103+
**page** | **int**| 当前的页码 | [optional] [default to 1]
104+
**perPage** | **int**| 每页的数量,最大为 100 | [optional]
105+
**programId** | **int**| 项目id | [optional]
106+
**search** | **string**| 检索内容 | [optional]
107+
**issueIds** | **string**| issue id数组 | [optional]
108+
109+
### Return type
110+
111+
[**\GiteeEnterprise\Model\AttachFileIssue[]**](../Model/AttachFileIssue.md)
112+
113+
### Authorization
114+
115+
No authorization required
116+
117+
### HTTP request headers
118+
119+
- **Content-Type**: application/json
120+
- **Accept**: application/json
121+
122+
[[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)
123+

docs/Api/CheckRunsApi.md

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
# GiteeEnterprise\CheckRunsApi
2+
3+
All URIs are relative to *https://api.gitee.com/enterprises*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getEnterpriseIdProjectsProjectIdCheckRunsList**](CheckRunsApi.md#getEnterpriseIdProjectsProjectIdCheckRunsList) | **GET** /{enterprise_id}/projects/{project_id}/check_runs/list | 门禁列表
8+
[**postEnterpriseIdProjectsProjectIdCheckRunsAnnotations**](CheckRunsApi.md#postEnterpriseIdProjectsProjectIdCheckRunsAnnotations) | **POST** /{enterprise_id}/projects/{project_id}/check_runs/annotations | 门禁详情翻页
9+
[**postEnterpriseIdProjectsProjectIdCheckRunsFixCheckRun**](CheckRunsApi.md#postEnterpriseIdProjectsProjectIdCheckRunsFixCheckRun) | **POST** /{enterprise_id}/projects/{project_id}/check_runs/fix_check_run | 重新执行门禁或fix失败门禁
10+
[**postEnterpriseIdProjectsProjectIdCheckRunsSearch**](CheckRunsApi.md#postEnterpriseIdProjectsProjectIdCheckRunsSearch) | **POST** /{enterprise_id}/projects/{project_id}/check_runs/search | 设置门禁检查项查询接口
11+
12+
13+
# **getEnterpriseIdProjectsProjectIdCheckRunsList**
14+
> \GiteeEnterprise\Model\CheckRun getEnterpriseIdProjectsProjectIdCheckRunsList($enterpriseId, $projectId, $pullRequestId, $checkRunId, $headSha)
15+
16+
门禁列表
17+
18+
门禁列表
19+
20+
### Example
21+
```php
22+
<?php
23+
require_once(__DIR__ . '/vendor/autoload.php');
24+
25+
$apiInstance = new GiteeEnterprise\Api\CheckRunsApi(
26+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
27+
// This is optional, `GuzzleHttp\Client` will be used as default.
28+
new GuzzleHttp\Client()
29+
);
30+
$enterpriseId = 56; // int |
31+
$projectId = 56; // int |
32+
$pullRequestId = 56; // int | pr id
33+
$checkRunId = 56; // int | 门禁ID
34+
$headSha = "headSha_example"; // string | 提交sha
35+
36+
try {
37+
$result = $apiInstance->getEnterpriseIdProjectsProjectIdCheckRunsList($enterpriseId, $projectId, $pullRequestId, $checkRunId, $headSha);
38+
print_r($result);
39+
} catch (Exception $e) {
40+
echo 'Exception when calling CheckRunsApi->getEnterpriseIdProjectsProjectIdCheckRunsList: ', $e->getMessage(), PHP_EOL;
41+
}
42+
?>
43+
```
44+
45+
### Parameters
46+
47+
Name | Type | Description | Notes
48+
------------- | ------------- | ------------- | -------------
49+
**enterpriseId** | **int**| |
50+
**projectId** | **int**| |
51+
**pullRequestId** | **int**| pr id | [optional]
52+
**checkRunId** | **int**| 门禁ID | [optional]
53+
**headSha** | **string**| 提交sha | [optional]
54+
55+
### Return type
56+
57+
[**\GiteeEnterprise\Model\CheckRun**](../Model/CheckRun.md)
58+
59+
### Authorization
60+
61+
No authorization required
62+
63+
### HTTP request headers
64+
65+
- **Content-Type**: Not defined
66+
- **Accept**: application/json
67+
68+
[[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)
69+
70+
# **postEnterpriseIdProjectsProjectIdCheckRunsAnnotations**
71+
> \GiteeEnterprise\Model\Annotations postEnterpriseIdProjectsProjectIdCheckRunsAnnotations($enterpriseId, $projectId, $checkRunId, $headSha, $page)
72+
73+
门禁详情翻页
74+
75+
门禁详情翻页
76+
77+
### Example
78+
```php
79+
<?php
80+
require_once(__DIR__ . '/vendor/autoload.php');
81+
82+
$apiInstance = new GiteeEnterprise\Api\CheckRunsApi(
83+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
84+
// This is optional, `GuzzleHttp\Client` will be used as default.
85+
new GuzzleHttp\Client()
86+
);
87+
$enterpriseId = 56; // int |
88+
$projectId = 56; // int |
89+
$checkRunId = 56; // int | 门禁ID
90+
$headSha = "headSha_example"; // string | 提交sha
91+
$page = 56; // int | 页数
92+
93+
try {
94+
$result = $apiInstance->postEnterpriseIdProjectsProjectIdCheckRunsAnnotations($enterpriseId, $projectId, $checkRunId, $headSha, $page);
95+
print_r($result);
96+
} catch (Exception $e) {
97+
echo 'Exception when calling CheckRunsApi->postEnterpriseIdProjectsProjectIdCheckRunsAnnotations: ', $e->getMessage(), PHP_EOL;
98+
}
99+
?>
100+
```
101+
102+
### Parameters
103+
104+
Name | Type | Description | Notes
105+
------------- | ------------- | ------------- | -------------
106+
**enterpriseId** | **int**| |
107+
**projectId** | **int**| |
108+
**checkRunId** | **int**| 门禁ID | [optional]
109+
**headSha** | **string**| 提交sha | [optional]
110+
**page** | **int**| 页数 | [optional]
111+
112+
### Return type
113+
114+
[**\GiteeEnterprise\Model\Annotations**](../Model/Annotations.md)
115+
116+
### Authorization
117+
118+
No authorization required
119+
120+
### HTTP request headers
121+
122+
- **Content-Type**: application/json
123+
- **Accept**: application/json
124+
125+
[[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)
126+
127+
# **postEnterpriseIdProjectsProjectIdCheckRunsFixCheckRun**
128+
> postEnterpriseIdProjectsProjectIdCheckRunsFixCheckRun($checkRunId, $enterpriseId, $projectId, $identifier)
129+
130+
重新执行门禁或fix失败门禁
131+
132+
重新执行门禁或fix失败门禁
133+
134+
### Example
135+
```php
136+
<?php
137+
require_once(__DIR__ . '/vendor/autoload.php');
138+
139+
$apiInstance = new GiteeEnterprise\Api\CheckRunsApi(
140+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
141+
// This is optional, `GuzzleHttp\Client` will be used as default.
142+
new GuzzleHttp\Client()
143+
);
144+
$checkRunId = 56; // int | 门禁ID
145+
$enterpriseId = 56; // int |
146+
$projectId = 56; // int |
147+
$identifier = "identifier_example"; // string | 标识
148+
149+
try {
150+
$apiInstance->postEnterpriseIdProjectsProjectIdCheckRunsFixCheckRun($checkRunId, $enterpriseId, $projectId, $identifier);
151+
} catch (Exception $e) {
152+
echo 'Exception when calling CheckRunsApi->postEnterpriseIdProjectsProjectIdCheckRunsFixCheckRun: ', $e->getMessage(), PHP_EOL;
153+
}
154+
?>
155+
```
156+
157+
### Parameters
158+
159+
Name | Type | Description | Notes
160+
------------- | ------------- | ------------- | -------------
161+
**checkRunId** | **int**| 门禁ID |
162+
**enterpriseId** | **int**| |
163+
**projectId** | **int**| |
164+
**identifier** | **string**| 标识 | [optional]
165+
166+
### Return type
167+
168+
void (empty response body)
169+
170+
### Authorization
171+
172+
No authorization required
173+
174+
### HTTP request headers
175+
176+
- **Content-Type**: application/json
177+
- **Accept**: application/json
178+
179+
[[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)
180+
181+
# **postEnterpriseIdProjectsProjectIdCheckRunsSearch**
182+
> postEnterpriseIdProjectsProjectIdCheckRunsSearch($enterpriseId, $projectId, $q)
183+
184+
设置门禁检查项查询接口
185+
186+
设置门禁检查项查询接口
187+
188+
### Example
189+
```php
190+
<?php
191+
require_once(__DIR__ . '/vendor/autoload.php');
192+
193+
$apiInstance = new GiteeEnterprise\Api\CheckRunsApi(
194+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
195+
// This is optional, `GuzzleHttp\Client` will be used as default.
196+
new GuzzleHttp\Client()
197+
);
198+
$enterpriseId = 56; // int |
199+
$projectId = 56; // int |
200+
$q = "q_example"; // string | 查询门禁名称
201+
202+
try {
203+
$apiInstance->postEnterpriseIdProjectsProjectIdCheckRunsSearch($enterpriseId, $projectId, $q);
204+
} catch (Exception $e) {
205+
echo 'Exception when calling CheckRunsApi->postEnterpriseIdProjectsProjectIdCheckRunsSearch: ', $e->getMessage(), PHP_EOL;
206+
}
207+
?>
208+
```
209+
210+
### Parameters
211+
212+
Name | Type | Description | Notes
213+
------------- | ------------- | ------------- | -------------
214+
**enterpriseId** | **int**| |
215+
**projectId** | **int**| |
216+
**q** | **string**| 查询门禁名称 | [optional]
217+
218+
### Return type
219+
220+
void (empty response body)
221+
222+
### Authorization
223+
224+
No authorization required
225+
226+
### HTTP request headers
227+
228+
- **Content-Type**: application/json
229+
- **Accept**: application/json
230+
231+
[[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)
232+

0 commit comments

Comments
 (0)