node-cnb 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/paths.json +624 -500
- package/package.json +1 -1
- package/src/client.d.ts +384 -330
- package/src/index.ts +1 -1
- package/src/types.d.ts +351 -118
package/src/client.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
ApiCommit,
|
|
46
46
|
ApiCompareResponse,
|
|
47
47
|
ApiContent,
|
|
48
|
+
WebDeferredCommit,
|
|
48
49
|
OpenapiHeadRef,
|
|
49
50
|
WebTagAnnotation,
|
|
50
51
|
OpenapiPutTagAnnotationsForm,
|
|
@@ -546,6 +547,11 @@ type Git_GetContent = (params: {
|
|
|
546
547
|
ref?: string;
|
|
547
548
|
}) => Promise<ApiContent>;
|
|
548
549
|
|
|
550
|
+
type Git_ListDeferredCommits = (params: {
|
|
551
|
+
repo: string;
|
|
552
|
+
cs: string;
|
|
553
|
+
}) => Promise<WebDeferredCommit[]>;
|
|
554
|
+
|
|
549
555
|
type Git_GetHead = (params: { repo: string }) => Promise<OpenapiHeadRef>;
|
|
550
556
|
|
|
551
557
|
type Git_DeleteTagAnnotation = (params: {
|
|
@@ -878,6 +884,15 @@ type Assets_GetReleasesAsset = (params: {
|
|
|
878
884
|
fileName: string;
|
|
879
885
|
}) => Promise<any>;
|
|
880
886
|
|
|
887
|
+
type Releases_GetLatestRelease = (params: {
|
|
888
|
+
repo: string;
|
|
889
|
+
}) => Promise<ApiRelease>;
|
|
890
|
+
|
|
891
|
+
type Assets_GetLatestReleasesAsset = (params: {
|
|
892
|
+
repo: string;
|
|
893
|
+
fileName: string;
|
|
894
|
+
}) => Promise<any>;
|
|
895
|
+
|
|
881
896
|
type Releases_GetReleaseByTag = (params: {
|
|
882
897
|
repo: string;
|
|
883
898
|
tag: string;
|
|
@@ -1082,9 +1097,9 @@ type Artifactory_ListPackageTags = (params: {
|
|
|
1082
1097
|
export interface Client {
|
|
1083
1098
|
groups: {
|
|
1084
1099
|
/***
|
|
1085
|
-
*
|
|
1100
|
+
* 创建新组织。Create new organization.
|
|
1086
1101
|
*
|
|
1087
|
-
*
|
|
1102
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1088
1103
|
* group-manage:rw
|
|
1089
1104
|
*
|
|
1090
1105
|
* /groups
|
|
@@ -1094,9 +1109,9 @@ export interface Client {
|
|
|
1094
1109
|
|
|
1095
1110
|
user: {
|
|
1096
1111
|
/***
|
|
1097
|
-
*
|
|
1112
|
+
* 获取指定用户的详情信息。Get detailed information for a specified user.
|
|
1098
1113
|
*
|
|
1099
|
-
*
|
|
1114
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1100
1115
|
* account-profile:r
|
|
1101
1116
|
*
|
|
1102
1117
|
* /user
|
|
@@ -1104,9 +1119,9 @@ export interface Client {
|
|
|
1104
1119
|
get: Users_GetUserInfo;
|
|
1105
1120
|
|
|
1106
1121
|
/***
|
|
1107
|
-
*
|
|
1122
|
+
* 更新指定用户的详情信息。Updates the specified user's profile information.
|
|
1108
1123
|
*
|
|
1109
|
-
*
|
|
1124
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1110
1125
|
* account-profile:rw
|
|
1111
1126
|
*
|
|
1112
1127
|
* /user
|
|
@@ -1115,9 +1130,9 @@ export interface Client {
|
|
|
1115
1130
|
|
|
1116
1131
|
autocompleteSource: {
|
|
1117
1132
|
/***
|
|
1118
|
-
*
|
|
1133
|
+
* 查询当前用户用户拥有指定权限的所有资源列表。List resources that the current user has specified permissions for.
|
|
1119
1134
|
*
|
|
1120
|
-
*
|
|
1135
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1121
1136
|
* account-engage:r
|
|
1122
1137
|
*
|
|
1123
1138
|
* /user/autocomplete_source
|
|
@@ -1127,9 +1142,9 @@ export interface Client {
|
|
|
1127
1142
|
|
|
1128
1143
|
groups: {
|
|
1129
1144
|
/***
|
|
1130
|
-
*
|
|
1145
|
+
* 获取当前用户拥有权限的顶层组织列表。Get top-level organizations list that the current user has access to.
|
|
1131
1146
|
*
|
|
1132
|
-
*
|
|
1147
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1133
1148
|
* account-engage:r
|
|
1134
1149
|
*
|
|
1135
1150
|
* /user/groups
|
|
@@ -1137,9 +1152,9 @@ export interface Client {
|
|
|
1137
1152
|
list: Organizations_ListTopGroups;
|
|
1138
1153
|
|
|
1139
1154
|
/***
|
|
1140
|
-
*
|
|
1155
|
+
* 查询当前用户在指定组织下拥有指定权限的子组织列表。Get the list of sub-organizations that the current user has access to in the specified organization.
|
|
1141
1156
|
*
|
|
1142
|
-
*
|
|
1157
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1143
1158
|
* account-engage:r
|
|
1144
1159
|
*
|
|
1145
1160
|
* /user/groups/{group}
|
|
@@ -1149,9 +1164,9 @@ export interface Client {
|
|
|
1149
1164
|
|
|
1150
1165
|
repos: {
|
|
1151
1166
|
/***
|
|
1152
|
-
*
|
|
1167
|
+
* 获取当前用户拥有指定权限及其以上权限的仓库。List repositories owned by the current user with the specified permissions or higher.
|
|
1153
1168
|
*
|
|
1154
|
-
*
|
|
1169
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1155
1170
|
* account-engage:r
|
|
1156
1171
|
*
|
|
1157
1172
|
* /user/repos
|
|
@@ -1161,9 +1176,9 @@ export interface Client {
|
|
|
1161
1176
|
|
|
1162
1177
|
staredRepos: {
|
|
1163
1178
|
/***
|
|
1164
|
-
* 获取当前用户 star
|
|
1179
|
+
* 获取当前用户 star 的仓库列表。List all stared repositories.
|
|
1165
1180
|
*
|
|
1166
|
-
*
|
|
1181
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1167
1182
|
* account-engage:r
|
|
1168
1183
|
*
|
|
1169
1184
|
* /user/stared-repos
|
|
@@ -1174,9 +1189,9 @@ export interface Client {
|
|
|
1174
1189
|
|
|
1175
1190
|
users: {
|
|
1176
1191
|
/***
|
|
1177
|
-
*
|
|
1192
|
+
* 获取指定用户的详情信息。Get detailed information for a specified user.
|
|
1178
1193
|
*
|
|
1179
|
-
*
|
|
1194
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1180
1195
|
* account-profile:r
|
|
1181
1196
|
*
|
|
1182
1197
|
* /users/{username}
|
|
@@ -1185,9 +1200,9 @@ export interface Client {
|
|
|
1185
1200
|
|
|
1186
1201
|
avatar: {
|
|
1187
1202
|
/***
|
|
1188
|
-
*
|
|
1203
|
+
* 获取指定用户的用户头像。Get the user's avatar.
|
|
1189
1204
|
*
|
|
1190
|
-
*
|
|
1205
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1191
1206
|
* account-profile:r
|
|
1192
1207
|
*
|
|
1193
1208
|
* /users/{username}/avatar/{size}
|
|
@@ -1197,9 +1212,9 @@ export interface Client {
|
|
|
1197
1212
|
|
|
1198
1213
|
followers: {
|
|
1199
1214
|
/***
|
|
1200
|
-
*
|
|
1215
|
+
* 获取指定用户的粉丝列表。Get the followers list of specified user.
|
|
1201
1216
|
*
|
|
1202
|
-
*
|
|
1217
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1203
1218
|
* account-engage:r
|
|
1204
1219
|
*
|
|
1205
1220
|
* /users/{username}/followers
|
|
@@ -1209,9 +1224,9 @@ export interface Client {
|
|
|
1209
1224
|
|
|
1210
1225
|
following: {
|
|
1211
1226
|
/***
|
|
1212
|
-
*
|
|
1227
|
+
* 获取指定用户的关注人列表。Get the list of users that the specified user is following.
|
|
1213
1228
|
*
|
|
1214
|
-
*
|
|
1229
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1215
1230
|
* account-engage:r
|
|
1216
1231
|
*
|
|
1217
1232
|
* /users/{username}/following
|
|
@@ -1221,9 +1236,9 @@ export interface Client {
|
|
|
1221
1236
|
|
|
1222
1237
|
groups: {
|
|
1223
1238
|
/***
|
|
1224
|
-
*
|
|
1239
|
+
* 获取指定用户拥有权限的顶层组织列表。 Get a list of top-level organizations that the specified user has permissions to access.
|
|
1225
1240
|
*
|
|
1226
|
-
*
|
|
1241
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1227
1242
|
* account-engage:r
|
|
1228
1243
|
*
|
|
1229
1244
|
* /users/{username}/groups
|
|
@@ -1233,9 +1248,9 @@ export interface Client {
|
|
|
1233
1248
|
|
|
1234
1249
|
pinnedRepos: {
|
|
1235
1250
|
/***
|
|
1236
|
-
*
|
|
1251
|
+
* 获取指定用户的用户仓库墙。 Get a list of repositories that the specified user has pinned.
|
|
1237
1252
|
*
|
|
1238
|
-
*
|
|
1253
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1239
1254
|
* account-engage:r
|
|
1240
1255
|
*
|
|
1241
1256
|
* /users/{username}/pinned-repos
|
|
@@ -1245,9 +1260,9 @@ export interface Client {
|
|
|
1245
1260
|
|
|
1246
1261
|
repos: {
|
|
1247
1262
|
/***
|
|
1248
|
-
*
|
|
1263
|
+
* 获取指定用户有指定以上权限并且客人态可见的仓库。List repositories where the specified user has the specified permission level or higher and are visible to guests.
|
|
1249
1264
|
*
|
|
1250
|
-
*
|
|
1265
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1251
1266
|
* account-engage:r
|
|
1252
1267
|
*
|
|
1253
1268
|
* /users/{username}/repos
|
|
@@ -1257,9 +1272,9 @@ export interface Client {
|
|
|
1257
1272
|
|
|
1258
1273
|
staredRepos: {
|
|
1259
1274
|
/***
|
|
1260
|
-
* 获取指定用户的 star
|
|
1275
|
+
* 获取指定用户的 star 仓库列表。Get the list of repositories starred by the specified user.
|
|
1261
1276
|
*
|
|
1262
|
-
*
|
|
1277
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1263
1278
|
* account-engage:r
|
|
1264
1279
|
*
|
|
1265
1280
|
* /users/{username}/stared-repos
|
|
@@ -1271,9 +1286,9 @@ export interface Client {
|
|
|
1271
1286
|
workspace: {
|
|
1272
1287
|
delete: {
|
|
1273
1288
|
/***
|
|
1274
|
-
*
|
|
1289
|
+
* 删除我的云原生开发环境。Delete my workspace.
|
|
1275
1290
|
*
|
|
1276
|
-
*
|
|
1291
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1277
1292
|
* account-engage:rw
|
|
1278
1293
|
*
|
|
1279
1294
|
* /workspace/delete
|
|
@@ -1283,9 +1298,9 @@ export interface Client {
|
|
|
1283
1298
|
|
|
1284
1299
|
list: {
|
|
1285
1300
|
/***
|
|
1286
|
-
*
|
|
1301
|
+
* 获取我的云原生开发环境列表。List my workspaces.
|
|
1287
1302
|
*
|
|
1288
|
-
*
|
|
1303
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1289
1304
|
* account-engage:r
|
|
1290
1305
|
*
|
|
1291
1306
|
* /workspace/list
|
|
@@ -1296,9 +1311,9 @@ export interface Client {
|
|
|
1296
1311
|
|
|
1297
1312
|
group: {
|
|
1298
1313
|
/***
|
|
1299
|
-
*
|
|
1314
|
+
* 删除指定组织。Delete the specified organization.
|
|
1300
1315
|
*
|
|
1301
|
-
*
|
|
1316
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1302
1317
|
* group-delete:rw
|
|
1303
1318
|
*
|
|
1304
1319
|
* /{group}
|
|
@@ -1306,9 +1321,9 @@ export interface Client {
|
|
|
1306
1321
|
delete: Organizations_DeleteOrganization;
|
|
1307
1322
|
|
|
1308
1323
|
/***
|
|
1309
|
-
*
|
|
1324
|
+
* 获取指定组织信息。Get information for the specified organization.
|
|
1310
1325
|
*
|
|
1311
|
-
*
|
|
1326
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1312
1327
|
* group-resource:r
|
|
1313
1328
|
*
|
|
1314
1329
|
* /{group}
|
|
@@ -1316,9 +1331,9 @@ export interface Client {
|
|
|
1316
1331
|
get: Organizations_GetGroup;
|
|
1317
1332
|
|
|
1318
1333
|
/***
|
|
1319
|
-
* 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站,
|
|
1334
|
+
* 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.
|
|
1320
1335
|
*
|
|
1321
|
-
*
|
|
1336
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1322
1337
|
* group-manage:rw
|
|
1323
1338
|
*
|
|
1324
1339
|
* /{group}
|
|
@@ -1327,9 +1342,9 @@ export interface Client {
|
|
|
1327
1342
|
|
|
1328
1343
|
avatar: {
|
|
1329
1344
|
/***
|
|
1330
|
-
* 更新组织头像 URL
|
|
1345
|
+
* 更新组织头像 URL 地址。Updates the organization avatar URL.
|
|
1331
1346
|
*
|
|
1332
|
-
*
|
|
1347
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1333
1348
|
* group-manage:rw
|
|
1334
1349
|
*
|
|
1335
1350
|
* /{group}/-/avatar
|
|
@@ -1339,9 +1354,9 @@ export interface Client {
|
|
|
1339
1354
|
|
|
1340
1355
|
inheritMembers: {
|
|
1341
1356
|
/***
|
|
1342
|
-
*
|
|
1357
|
+
* 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
|
|
1343
1358
|
*
|
|
1344
|
-
*
|
|
1359
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1345
1360
|
* group-manage:r
|
|
1346
1361
|
*
|
|
1347
1362
|
* /{group}/-/inherit-members
|
|
@@ -1351,9 +1366,9 @@ export interface Client {
|
|
|
1351
1366
|
|
|
1352
1367
|
logos: {
|
|
1353
1368
|
/***
|
|
1354
|
-
* 确认上传的logo
|
|
1369
|
+
* 确认上传的logo。Confirms the uploaded logo.
|
|
1355
1370
|
*
|
|
1356
|
-
*
|
|
1371
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1357
1372
|
* group-manage:rw
|
|
1358
1373
|
*
|
|
1359
1374
|
* /{group}/-/logos
|
|
@@ -1361,9 +1376,9 @@ export interface Client {
|
|
|
1361
1376
|
put: Assets_PutLogos;
|
|
1362
1377
|
|
|
1363
1378
|
/***
|
|
1364
|
-
* 发起一个获取 logo 的请求,返回内容或者 302
|
|
1379
|
+
* 发起一个获取 logo 的请求,返回内容或者 302 到某个地址。Post a request to fetch a logo and returns the content directly or a 302 redirect to the logo URL.
|
|
1365
1380
|
*
|
|
1366
|
-
*
|
|
1381
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1367
1382
|
* group-resource:r
|
|
1368
1383
|
*
|
|
1369
1384
|
* /{group}/-/logos/{size}
|
|
@@ -1373,9 +1388,9 @@ export interface Client {
|
|
|
1373
1388
|
|
|
1374
1389
|
members: {
|
|
1375
1390
|
/***
|
|
1376
|
-
*
|
|
1391
|
+
* 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
|
|
1377
1392
|
*
|
|
1378
|
-
*
|
|
1393
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1379
1394
|
* group-manage:r
|
|
1380
1395
|
*
|
|
1381
1396
|
* /{group}/-/members
|
|
@@ -1384,9 +1399,9 @@ export interface Client {
|
|
|
1384
1399
|
|
|
1385
1400
|
accessLevel: {
|
|
1386
1401
|
/***
|
|
1387
|
-
* 获取指定组织或仓库内,
|
|
1402
|
+
* 获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
|
|
1388
1403
|
*
|
|
1389
|
-
*
|
|
1404
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1390
1405
|
* group-manage:r
|
|
1391
1406
|
*
|
|
1392
1407
|
* /{group}/-/members/access-level
|
|
@@ -1394,9 +1409,9 @@ export interface Client {
|
|
|
1394
1409
|
get: Contributors_GetMemberAccessLevelOfGroup;
|
|
1395
1410
|
|
|
1396
1411
|
/***
|
|
1397
|
-
* 获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示,
|
|
1412
|
+
* 获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
|
|
1398
1413
|
*
|
|
1399
|
-
*
|
|
1414
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1400
1415
|
* group-manage:r
|
|
1401
1416
|
*
|
|
1402
1417
|
* /{group}/-/members/{username}/access-level
|
|
@@ -1405,9 +1420,9 @@ export interface Client {
|
|
|
1405
1420
|
};
|
|
1406
1421
|
|
|
1407
1422
|
/***
|
|
1408
|
-
*
|
|
1423
|
+
* 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
|
|
1409
1424
|
*
|
|
1410
|
-
*
|
|
1425
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1411
1426
|
* group-manage:rw
|
|
1412
1427
|
*
|
|
1413
1428
|
* /{group}/-/members/{username}
|
|
@@ -1415,9 +1430,9 @@ export interface Client {
|
|
|
1415
1430
|
delete: Collaborators_DeleteMembersOfGroup;
|
|
1416
1431
|
|
|
1417
1432
|
/***
|
|
1418
|
-
*
|
|
1433
|
+
* 添加成员。Add members.
|
|
1419
1434
|
*
|
|
1420
|
-
*
|
|
1435
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1421
1436
|
* group-manage:rw
|
|
1422
1437
|
*
|
|
1423
1438
|
* /{group}/-/members/{username}
|
|
@@ -1425,9 +1440,9 @@ export interface Client {
|
|
|
1425
1440
|
post: Collaborators_AddMembersOfGroup;
|
|
1426
1441
|
|
|
1427
1442
|
/***
|
|
1428
|
-
*
|
|
1443
|
+
* 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
|
|
1429
1444
|
*
|
|
1430
|
-
*
|
|
1445
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1431
1446
|
* group-manage:rw
|
|
1432
1447
|
*
|
|
1433
1448
|
* /{group}/-/members/{username}
|
|
@@ -1437,9 +1452,9 @@ export interface Client {
|
|
|
1437
1452
|
|
|
1438
1453
|
pinnedRepos: {
|
|
1439
1454
|
/***
|
|
1440
|
-
*
|
|
1455
|
+
* 获取指定组织的仓库墙列表。List the pinned repositories of a group.
|
|
1441
1456
|
*
|
|
1442
|
-
*
|
|
1457
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1443
1458
|
* group-manage:r
|
|
1444
1459
|
*
|
|
1445
1460
|
* /{group}/-/pinned-repos
|
|
@@ -1447,9 +1462,9 @@ export interface Client {
|
|
|
1447
1462
|
list: Repositories_GetPinnedRepoByGroup;
|
|
1448
1463
|
|
|
1449
1464
|
/***
|
|
1450
|
-
*
|
|
1465
|
+
* 更新指定组织仓库墙。Update the pinned repositories of a group.
|
|
1451
1466
|
*
|
|
1452
|
-
*
|
|
1467
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1453
1468
|
* group-manage:rw
|
|
1454
1469
|
*
|
|
1455
1470
|
* /{group}/-/pinned-repos
|
|
@@ -1459,9 +1474,9 @@ export interface Client {
|
|
|
1459
1474
|
|
|
1460
1475
|
repos: {
|
|
1461
1476
|
/***
|
|
1462
|
-
*
|
|
1477
|
+
* 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
|
|
1463
1478
|
*
|
|
1464
|
-
*
|
|
1479
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1465
1480
|
* group-resource:r
|
|
1466
1481
|
*
|
|
1467
1482
|
* /{group}/-/repos
|
|
@@ -1469,9 +1484,9 @@ export interface Client {
|
|
|
1469
1484
|
list: Repositories_GetGroupSubRepos;
|
|
1470
1485
|
|
|
1471
1486
|
/***
|
|
1472
|
-
*
|
|
1487
|
+
* 创建仓库。Create repositories.
|
|
1473
1488
|
*
|
|
1474
|
-
*
|
|
1489
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1475
1490
|
* group-resource:rw
|
|
1476
1491
|
*
|
|
1477
1492
|
* /{group}/-/repos
|
|
@@ -1481,9 +1496,9 @@ export interface Client {
|
|
|
1481
1496
|
|
|
1482
1497
|
settings: {
|
|
1483
1498
|
/***
|
|
1484
|
-
*
|
|
1499
|
+
* 获取指定组织的配置详情。Get the configuration details for the specified organization.
|
|
1485
1500
|
*
|
|
1486
|
-
*
|
|
1501
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1487
1502
|
* group-manage:r
|
|
1488
1503
|
*
|
|
1489
1504
|
* /{group}/-/settings
|
|
@@ -1491,9 +1506,9 @@ export interface Client {
|
|
|
1491
1506
|
get: Organizations_GetGroupSetting;
|
|
1492
1507
|
|
|
1493
1508
|
/***
|
|
1494
|
-
*
|
|
1509
|
+
* 更新指定组织的配置。Updates the configuration for the specified organization.
|
|
1495
1510
|
*
|
|
1496
|
-
*
|
|
1511
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1497
1512
|
* group-manage:rw
|
|
1498
1513
|
*
|
|
1499
1514
|
* /{group}/-/settings
|
|
@@ -1503,9 +1518,9 @@ export interface Client {
|
|
|
1503
1518
|
|
|
1504
1519
|
subGroups: {
|
|
1505
1520
|
/***
|
|
1506
|
-
*
|
|
1521
|
+
* 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
|
|
1507
1522
|
*
|
|
1508
|
-
*
|
|
1523
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1509
1524
|
* group-resource:r
|
|
1510
1525
|
*
|
|
1511
1526
|
* /{group}/-/sub-groups
|
|
@@ -1516,9 +1531,9 @@ export interface Client {
|
|
|
1516
1531
|
upload: {
|
|
1517
1532
|
logos: {
|
|
1518
1533
|
/***
|
|
1519
|
-
* 发起一个上传 logo 的请求,返回上传 cos 的 url 和 form
|
|
1534
|
+
* 发起一个上传 logo 的请求,返回上传 cos 的 url 和 form 内容。Post a request to upload a logo.
|
|
1520
1535
|
*
|
|
1521
|
-
*
|
|
1536
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1522
1537
|
* group-manage:rw
|
|
1523
1538
|
*
|
|
1524
1539
|
* /{group}/-/upload/logos
|
|
@@ -1530,9 +1545,9 @@ export interface Client {
|
|
|
1530
1545
|
|
|
1531
1546
|
mission: {
|
|
1532
1547
|
/***
|
|
1533
|
-
*
|
|
1548
|
+
* 删除指定任务集。Delete the specified mission.
|
|
1534
1549
|
*
|
|
1535
|
-
*
|
|
1550
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1536
1551
|
* mission-delete:rw
|
|
1537
1552
|
*
|
|
1538
1553
|
* /{mission}
|
|
@@ -1541,9 +1556,9 @@ export interface Client {
|
|
|
1541
1556
|
|
|
1542
1557
|
members: {
|
|
1543
1558
|
/***
|
|
1544
|
-
*
|
|
1559
|
+
* 添加成员。Add members.
|
|
1545
1560
|
*
|
|
1546
|
-
*
|
|
1561
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1547
1562
|
* mission-manage:rw
|
|
1548
1563
|
*
|
|
1549
1564
|
* /{mission}/-/members/{username}
|
|
@@ -1554,9 +1569,9 @@ export interface Client {
|
|
|
1554
1569
|
|
|
1555
1570
|
registry: {
|
|
1556
1571
|
/***
|
|
1557
|
-
*
|
|
1572
|
+
* 删除制品仓库。Delete the artifact repository.
|
|
1558
1573
|
*
|
|
1559
|
-
*
|
|
1574
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1560
1575
|
* registry-delete:rw
|
|
1561
1576
|
*
|
|
1562
1577
|
* /{registry}
|
|
@@ -1565,9 +1580,9 @@ export interface Client {
|
|
|
1565
1580
|
|
|
1566
1581
|
members: {
|
|
1567
1582
|
/***
|
|
1568
|
-
*
|
|
1583
|
+
* 添加成员。Add members.
|
|
1569
1584
|
*
|
|
1570
|
-
*
|
|
1585
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1571
1586
|
* registry-manage:rw
|
|
1572
1587
|
*
|
|
1573
1588
|
* /{registry}/-/members/{username}
|
|
@@ -1578,9 +1593,9 @@ export interface Client {
|
|
|
1578
1593
|
|
|
1579
1594
|
repo: {
|
|
1580
1595
|
/***
|
|
1581
|
-
*
|
|
1596
|
+
* 删除指定仓库。Delete the specified repository.
|
|
1582
1597
|
*
|
|
1583
|
-
*
|
|
1598
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1584
1599
|
* repo-delete:rw
|
|
1585
1600
|
*
|
|
1586
1601
|
* /{repo}
|
|
@@ -1588,9 +1603,9 @@ export interface Client {
|
|
|
1588
1603
|
delete: Repositories_DeleteRepo;
|
|
1589
1604
|
|
|
1590
1605
|
/***
|
|
1591
|
-
*
|
|
1606
|
+
* 获取指定仓库信息。Get information for the specified repository.
|
|
1592
1607
|
*
|
|
1593
|
-
*
|
|
1608
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1594
1609
|
* repo-basic-info:r
|
|
1595
1610
|
*
|
|
1596
1611
|
* /{repo}
|
|
@@ -1598,9 +1613,9 @@ export interface Client {
|
|
|
1598
1613
|
get: Repositories_GetRepo;
|
|
1599
1614
|
|
|
1600
1615
|
/***
|
|
1601
|
-
* 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题,
|
|
1616
|
+
* 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.
|
|
1602
1617
|
*
|
|
1603
|
-
*
|
|
1618
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1604
1619
|
* repo-manage:rw
|
|
1605
1620
|
*
|
|
1606
1621
|
* /{repo}
|
|
@@ -1610,9 +1625,9 @@ export interface Client {
|
|
|
1610
1625
|
build: {
|
|
1611
1626
|
logs: {
|
|
1612
1627
|
/***
|
|
1613
|
-
*
|
|
1628
|
+
* 查询流水线构建列表。List pipeline builds.
|
|
1614
1629
|
*
|
|
1615
|
-
*
|
|
1630
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1616
1631
|
* repo-cnb-trigger:r
|
|
1617
1632
|
*
|
|
1618
1633
|
* /{repo}/-/build/logs
|
|
@@ -1622,9 +1637,9 @@ export interface Client {
|
|
|
1622
1637
|
|
|
1623
1638
|
start: {
|
|
1624
1639
|
/***
|
|
1625
|
-
*
|
|
1640
|
+
* 开始一个构建。Start a build.
|
|
1626
1641
|
*
|
|
1627
|
-
*
|
|
1642
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1628
1643
|
* repo-cnb-trigger:rw
|
|
1629
1644
|
*
|
|
1630
1645
|
* /{repo}/-/build/start
|
|
@@ -1634,9 +1649,9 @@ export interface Client {
|
|
|
1634
1649
|
|
|
1635
1650
|
status: {
|
|
1636
1651
|
/***
|
|
1637
|
-
*
|
|
1652
|
+
* 查询流水线构建状态。Get pipeline build status.
|
|
1638
1653
|
*
|
|
1639
|
-
*
|
|
1654
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1640
1655
|
* repo-cnb-trigger:r
|
|
1641
1656
|
*
|
|
1642
1657
|
* /{repo}/-/build/status/{sn}
|
|
@@ -1646,9 +1661,9 @@ export interface Client {
|
|
|
1646
1661
|
|
|
1647
1662
|
stop: {
|
|
1648
1663
|
/***
|
|
1649
|
-
*
|
|
1664
|
+
* 停止一个构建。 Stop a build.
|
|
1650
1665
|
*
|
|
1651
|
-
*
|
|
1666
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1652
1667
|
* repo-cnb-trigger:rw
|
|
1653
1668
|
*
|
|
1654
1669
|
* /{repo}/-/build/stop/{sn}
|
|
@@ -1660,9 +1675,9 @@ export interface Client {
|
|
|
1660
1675
|
commitAssets: {
|
|
1661
1676
|
download: {
|
|
1662
1677
|
/***
|
|
1663
|
-
* 发起一个获取 commits 附件的请求,返回内容或者 302
|
|
1678
|
+
* 发起一个获取 commits 附件的请求,返回内容或者 302 到某个地址。Get a request to fetch a commit assets and returns the content directly or a 302 redirect to the assets URL.
|
|
1664
1679
|
*
|
|
1665
|
-
*
|
|
1680
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1666
1681
|
* repo-contents:r
|
|
1667
1682
|
*
|
|
1668
1683
|
* /{repo}/-/commit-assets/download/{fileName}
|
|
@@ -1674,9 +1689,9 @@ export interface Client {
|
|
|
1674
1689
|
contributor: {
|
|
1675
1690
|
trend: {
|
|
1676
1691
|
/***
|
|
1677
|
-
* 查询仓库贡献者前 100
|
|
1692
|
+
* 查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.
|
|
1678
1693
|
*
|
|
1679
|
-
*
|
|
1694
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1680
1695
|
* repo-code:r
|
|
1681
1696
|
*
|
|
1682
1697
|
* /{repo}/-/contributor/trend
|
|
@@ -1687,9 +1702,9 @@ export interface Client {
|
|
|
1687
1702
|
|
|
1688
1703
|
files: {
|
|
1689
1704
|
/***
|
|
1690
|
-
* 发起一个获取 files 的请求,返回内容或者 302
|
|
1705
|
+
* 发起一个获取 files 的请求,返回内容或者 302 到某个地址。Initiate a request to retrieve files, returns content or 302 redirect.
|
|
1691
1706
|
*
|
|
1692
|
-
*
|
|
1707
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1693
1708
|
* repo-contents:r
|
|
1694
1709
|
*
|
|
1695
1710
|
* /{repo}/-/files/{userIdKey}/{randomUUID}/{fileName}
|
|
@@ -1697,9 +1712,9 @@ export interface Client {
|
|
|
1697
1712
|
get: Assets_GetFiles;
|
|
1698
1713
|
|
|
1699
1714
|
/***
|
|
1700
|
-
* 发起一个确认 files
|
|
1715
|
+
* 发起一个确认 files 的请求,上传的图片要调用此接口才能生效。Initiate a request to confirm files, uploaded images need to call this API to take effect.
|
|
1701
1716
|
*
|
|
1702
|
-
*
|
|
1717
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1703
1718
|
* repo-contents:rw
|
|
1704
1719
|
*
|
|
1705
1720
|
* /{repo}/-/files/{userIdKey}/{randomUUID}/{fileName}
|
|
@@ -1709,9 +1724,9 @@ export interface Client {
|
|
|
1709
1724
|
|
|
1710
1725
|
forks: {
|
|
1711
1726
|
/***
|
|
1712
|
-
* 获取指定仓库的 fork
|
|
1727
|
+
* 获取指定仓库的 fork 列表。Get fork list for specified repository.
|
|
1713
1728
|
*
|
|
1714
|
-
*
|
|
1729
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1715
1730
|
* repo-base-info:r
|
|
1716
1731
|
*
|
|
1717
1732
|
* /{repo}/-/forks
|
|
@@ -1719,9 +1734,9 @@ export interface Client {
|
|
|
1719
1734
|
list: Repositories_ListForksRepos;
|
|
1720
1735
|
|
|
1721
1736
|
/***
|
|
1722
|
-
* fork
|
|
1737
|
+
* fork 仓库。Fork a repository.
|
|
1723
1738
|
*
|
|
1724
|
-
*
|
|
1739
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1725
1740
|
* group-resource:rw
|
|
1726
1741
|
*
|
|
1727
1742
|
* /{repo}/-/forks
|
|
@@ -1732,9 +1747,9 @@ export interface Client {
|
|
|
1732
1747
|
git: {
|
|
1733
1748
|
archiveCommitChangedFiles: {
|
|
1734
1749
|
/***
|
|
1735
|
-
* 打包下载 commit
|
|
1750
|
+
* 打包下载 commit 变更文件。Download archive of changed files for a commit.
|
|
1736
1751
|
*
|
|
1737
|
-
*
|
|
1752
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1738
1753
|
* repo-code:r
|
|
1739
1754
|
*
|
|
1740
1755
|
* /{repo}/-/git/archive-commit-changed-files/{sha1}
|
|
@@ -1744,9 +1759,9 @@ export interface Client {
|
|
|
1744
1759
|
|
|
1745
1760
|
archiveCompareChangedFiles: {
|
|
1746
1761
|
/***
|
|
1747
|
-
* 打包下载两次 ref
|
|
1762
|
+
* 打包下载两次 ref 之间的变更文件。Download archive of changed files for a compare.
|
|
1748
1763
|
*
|
|
1749
|
-
*
|
|
1764
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1750
1765
|
* repo-code:r
|
|
1751
1766
|
*
|
|
1752
1767
|
* /{repo}/-/git/archive-compare-changed-files/{base_head}
|
|
@@ -1756,9 +1771,9 @@ export interface Client {
|
|
|
1756
1771
|
|
|
1757
1772
|
blobs: {
|
|
1758
1773
|
/***
|
|
1759
|
-
* 创建一个 blob
|
|
1774
|
+
* 创建一个 blob。Create a blob.
|
|
1760
1775
|
*
|
|
1761
|
-
*
|
|
1776
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1762
1777
|
* repo-code:rw
|
|
1763
1778
|
*
|
|
1764
1779
|
* /{repo}/-/git/blobs
|
|
@@ -1768,9 +1783,9 @@ export interface Client {
|
|
|
1768
1783
|
|
|
1769
1784
|
branches: {
|
|
1770
1785
|
/***
|
|
1771
|
-
*
|
|
1786
|
+
* 查询分支列表。List branches.
|
|
1772
1787
|
*
|
|
1773
|
-
*
|
|
1788
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1774
1789
|
* repo-code:r
|
|
1775
1790
|
*
|
|
1776
1791
|
* /{repo}/-/git/branches
|
|
@@ -1778,9 +1793,9 @@ export interface Client {
|
|
|
1778
1793
|
list: Git_ListBranches;
|
|
1779
1794
|
|
|
1780
1795
|
/***
|
|
1781
|
-
*
|
|
1796
|
+
* 创建新分支。Create a new branch based on a start point.
|
|
1782
1797
|
*
|
|
1783
|
-
*
|
|
1798
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1784
1799
|
* repo-code:rw
|
|
1785
1800
|
*
|
|
1786
1801
|
* /{repo}/-/git/branches
|
|
@@ -1788,9 +1803,9 @@ export interface Client {
|
|
|
1788
1803
|
post: Git_CreateBranch;
|
|
1789
1804
|
|
|
1790
1805
|
/***
|
|
1791
|
-
*
|
|
1806
|
+
* 删除指定分支。Delete the specified branch.
|
|
1792
1807
|
*
|
|
1793
|
-
*
|
|
1808
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1794
1809
|
* repo-code:rw
|
|
1795
1810
|
*
|
|
1796
1811
|
* /{repo}/-/git/branches/{branch}
|
|
@@ -1798,9 +1813,9 @@ export interface Client {
|
|
|
1798
1813
|
delete: Git_DeleteBranch;
|
|
1799
1814
|
|
|
1800
1815
|
/***
|
|
1801
|
-
*
|
|
1816
|
+
* 查询指定分支。Get a branch.
|
|
1802
1817
|
*
|
|
1803
|
-
*
|
|
1818
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1804
1819
|
* repo-code:r
|
|
1805
1820
|
*
|
|
1806
1821
|
* /{repo}/-/git/branches/{branch}
|
|
@@ -1810,9 +1825,9 @@ export interface Client {
|
|
|
1810
1825
|
|
|
1811
1826
|
commitAnnotationsInBatch: {
|
|
1812
1827
|
/***
|
|
1813
|
-
* 查询指定 commit
|
|
1828
|
+
* 查询指定 commit 的元数据。Get commit annotations in batch.
|
|
1814
1829
|
*
|
|
1815
|
-
*
|
|
1830
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1816
1831
|
* repo-code:r
|
|
1817
1832
|
*
|
|
1818
1833
|
* /{repo}/-/git/commit-annotations-in-batch
|
|
@@ -1822,9 +1837,9 @@ export interface Client {
|
|
|
1822
1837
|
|
|
1823
1838
|
commitAnnotations: {
|
|
1824
1839
|
/***
|
|
1825
|
-
* 查询指定 commit
|
|
1840
|
+
* 查询指定 commit 的元数据。Get commit annotations.
|
|
1826
1841
|
*
|
|
1827
|
-
*
|
|
1842
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1828
1843
|
* repo-code:r
|
|
1829
1844
|
*
|
|
1830
1845
|
* /{repo}/-/git/commit-annotations/{sha}
|
|
@@ -1832,9 +1847,9 @@ export interface Client {
|
|
|
1832
1847
|
list: Git_GetCommitAnnotations;
|
|
1833
1848
|
|
|
1834
1849
|
/***
|
|
1835
|
-
* 设定指定 commit
|
|
1850
|
+
* 设定指定 commit 的元数据。Put commit annotations.
|
|
1836
1851
|
*
|
|
1837
|
-
*
|
|
1852
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1838
1853
|
* repo-code:rw
|
|
1839
1854
|
*
|
|
1840
1855
|
* /{repo}/-/git/commit-annotations/{sha}
|
|
@@ -1842,9 +1857,9 @@ export interface Client {
|
|
|
1842
1857
|
put: Git_PutCommitAnnotations;
|
|
1843
1858
|
|
|
1844
1859
|
/***
|
|
1845
|
-
* 删除指定 commit
|
|
1860
|
+
* 删除指定 commit 的元数据。Delete commit annotation.
|
|
1846
1861
|
*
|
|
1847
|
-
*
|
|
1862
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1848
1863
|
* repo-code:rw
|
|
1849
1864
|
*
|
|
1850
1865
|
* /{repo}/-/git/commit-annotations/{sha}/{key}
|
|
@@ -1854,9 +1869,9 @@ export interface Client {
|
|
|
1854
1869
|
|
|
1855
1870
|
commitAssets: {
|
|
1856
1871
|
/***
|
|
1857
|
-
* 查询指定 commit
|
|
1872
|
+
* 查询指定 commit 的附件。List commit assets.
|
|
1858
1873
|
*
|
|
1859
|
-
*
|
|
1874
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1860
1875
|
* repo-code:r
|
|
1861
1876
|
*
|
|
1862
1877
|
* /{repo}/-/git/commit-assets/{sha1}
|
|
@@ -1865,9 +1880,9 @@ export interface Client {
|
|
|
1865
1880
|
|
|
1866
1881
|
assetUploadConfirmation: {
|
|
1867
1882
|
/***
|
|
1868
|
-
* 确认 Commit asset
|
|
1883
|
+
* 确认 Commit asset 上传完成。Confirm commit asset upload.
|
|
1869
1884
|
*
|
|
1870
|
-
*
|
|
1885
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1871
1886
|
* repo-code:rw
|
|
1872
1887
|
*
|
|
1873
1888
|
* /{repo}/-/git/commit-assets/{sha1}/asset-upload-confirmation/{token}/{asset_path}
|
|
@@ -1877,9 +1892,9 @@ export interface Client {
|
|
|
1877
1892
|
|
|
1878
1893
|
assetUploadUrl: {
|
|
1879
1894
|
/***
|
|
1880
|
-
* 新增一个 Commit asset
|
|
1895
|
+
* 新增一个 Commit asset。Create a commit asset.
|
|
1881
1896
|
*
|
|
1882
|
-
*
|
|
1897
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1883
1898
|
* repo-code:rw
|
|
1884
1899
|
*
|
|
1885
1900
|
* /{repo}/-/git/commit-assets/{sha1}/asset-upload-url
|
|
@@ -1888,9 +1903,9 @@ export interface Client {
|
|
|
1888
1903
|
};
|
|
1889
1904
|
|
|
1890
1905
|
/***
|
|
1891
|
-
* 删除指定 commit
|
|
1906
|
+
* 删除指定 commit 的附件。Delete commit asset.
|
|
1892
1907
|
*
|
|
1893
|
-
*
|
|
1908
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1894
1909
|
* repo-code:rw
|
|
1895
1910
|
*
|
|
1896
1911
|
* /{repo}/-/git/commit-assets/{sha1}/{asset_id}
|
|
@@ -1900,9 +1915,9 @@ export interface Client {
|
|
|
1900
1915
|
|
|
1901
1916
|
commitStatuses: {
|
|
1902
1917
|
/***
|
|
1903
|
-
* 查询指定 commit 的 check statuses
|
|
1918
|
+
* 查询指定 commit 的 check statuses。List commit check statuses.
|
|
1904
1919
|
*
|
|
1905
|
-
*
|
|
1920
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1906
1921
|
* repo-code:r
|
|
1907
1922
|
*
|
|
1908
1923
|
* /{repo}/-/git/commit-statuses/{commitish}
|
|
@@ -1912,9 +1927,9 @@ export interface Client {
|
|
|
1912
1927
|
|
|
1913
1928
|
commits: {
|
|
1914
1929
|
/***
|
|
1915
|
-
* 查询 commit
|
|
1930
|
+
* 查询 commit 列表。List commits.
|
|
1916
1931
|
*
|
|
1917
|
-
*
|
|
1932
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1918
1933
|
* repo-code:r
|
|
1919
1934
|
*
|
|
1920
1935
|
* /{repo}/-/git/commits
|
|
@@ -1922,9 +1937,9 @@ export interface Client {
|
|
|
1922
1937
|
list: Git_ListCommits;
|
|
1923
1938
|
|
|
1924
1939
|
/***
|
|
1925
|
-
* 查询指定 commit
|
|
1940
|
+
* 查询指定 commit。Get a commit.
|
|
1926
1941
|
*
|
|
1927
|
-
*
|
|
1942
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1928
1943
|
* repo-code:r
|
|
1929
1944
|
*
|
|
1930
1945
|
* /{repo}/-/git/commits/{ref}
|
|
@@ -1934,9 +1949,9 @@ export interface Client {
|
|
|
1934
1949
|
|
|
1935
1950
|
compare: {
|
|
1936
1951
|
/***
|
|
1937
|
-
* 对比 base...head
|
|
1952
|
+
* 对比 base...head。Compare two commits.
|
|
1938
1953
|
*
|
|
1939
|
-
*
|
|
1954
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1940
1955
|
* repo-code:r
|
|
1941
1956
|
*
|
|
1942
1957
|
* /{repo}/-/git/compare/{base_head}
|
|
@@ -1946,9 +1961,9 @@ export interface Client {
|
|
|
1946
1961
|
|
|
1947
1962
|
contents: {
|
|
1948
1963
|
/***
|
|
1949
|
-
*
|
|
1964
|
+
* 查询仓库文件列表或文件。List repository files or file.
|
|
1950
1965
|
*
|
|
1951
|
-
*
|
|
1966
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1952
1967
|
* repo-code:r
|
|
1953
1968
|
*
|
|
1954
1969
|
* /{repo}/-/git/contents/{file_path}
|
|
@@ -1956,11 +1971,23 @@ export interface Client {
|
|
|
1956
1971
|
get: Git_GetContent;
|
|
1957
1972
|
};
|
|
1958
1973
|
|
|
1974
|
+
deferredCommits: {
|
|
1975
|
+
/***
|
|
1976
|
+
* 查询 deferred commit 列表
|
|
1977
|
+
*
|
|
1978
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1979
|
+
* repo-code:r
|
|
1980
|
+
*
|
|
1981
|
+
* /{repo}/-/git/deferred-commits
|
|
1982
|
+
*/
|
|
1983
|
+
list: Git_ListDeferredCommits;
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1959
1986
|
head: {
|
|
1960
1987
|
/***
|
|
1961
|
-
*
|
|
1988
|
+
* 获取仓库默认分支。Get the default branch of the repository.
|
|
1962
1989
|
*
|
|
1963
|
-
*
|
|
1990
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1964
1991
|
* repo-code:r
|
|
1965
1992
|
*
|
|
1966
1993
|
* /{repo}/-/git/head
|
|
@@ -1970,9 +1997,9 @@ export interface Client {
|
|
|
1970
1997
|
|
|
1971
1998
|
tagAnnotations: {
|
|
1972
1999
|
/***
|
|
1973
|
-
* 删除指定 tag
|
|
2000
|
+
* 删除指定 tag 的元数据。Delete the metadata of the specified tag.
|
|
1974
2001
|
*
|
|
1975
|
-
*
|
|
2002
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1976
2003
|
* repo-contents:rw
|
|
1977
2004
|
*
|
|
1978
2005
|
* /{repo}/-/git/tag-annotations/{tag_with_key}
|
|
@@ -1980,9 +2007,9 @@ export interface Client {
|
|
|
1980
2007
|
delete: Git_DeleteTagAnnotation;
|
|
1981
2008
|
|
|
1982
2009
|
/***
|
|
1983
|
-
* 查询指定 tag
|
|
2010
|
+
* 查询指定 tag 的元数据。Query the metadata of the specified tag.
|
|
1984
2011
|
*
|
|
1985
|
-
*
|
|
2012
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1986
2013
|
* repo-contents:r
|
|
1987
2014
|
*
|
|
1988
2015
|
* /{repo}/-/git/tag-annotations/{tag}
|
|
@@ -1990,9 +2017,9 @@ export interface Client {
|
|
|
1990
2017
|
list: Git_GetTagAnnotations;
|
|
1991
2018
|
|
|
1992
2019
|
/***
|
|
1993
|
-
* 设定指定 tag
|
|
2020
|
+
* 设定指定 tag 的元数据。Set the metadata of the specified tag.
|
|
1994
2021
|
*
|
|
1995
|
-
*
|
|
2022
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1996
2023
|
* repo-contents:rw
|
|
1997
2024
|
*
|
|
1998
2025
|
* /{repo}/-/git/tag-annotations/{tag}
|
|
@@ -2002,9 +2029,9 @@ export interface Client {
|
|
|
2002
2029
|
|
|
2003
2030
|
tags: {
|
|
2004
2031
|
/***
|
|
2005
|
-
*
|
|
2032
|
+
* 查询标签列表。List tags.
|
|
2006
2033
|
*
|
|
2007
|
-
*
|
|
2034
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2008
2035
|
* repo-contents:r
|
|
2009
2036
|
*
|
|
2010
2037
|
* /{repo}/-/git/tags
|
|
@@ -2012,9 +2039,9 @@ export interface Client {
|
|
|
2012
2039
|
list: Git_ListTags;
|
|
2013
2040
|
|
|
2014
2041
|
/***
|
|
2015
|
-
* 创建一个 tag
|
|
2042
|
+
* 创建一个 tag。Create a tag.
|
|
2016
2043
|
*
|
|
2017
|
-
*
|
|
2044
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2018
2045
|
* repo-code:rw
|
|
2019
2046
|
*
|
|
2020
2047
|
* /{repo}/-/git/tags
|
|
@@ -2022,9 +2049,9 @@ export interface Client {
|
|
|
2022
2049
|
post: Git_CreateTag;
|
|
2023
2050
|
|
|
2024
2051
|
/***
|
|
2025
|
-
*
|
|
2052
|
+
* 删除指定标签。Delete the specified tag.
|
|
2026
2053
|
*
|
|
2027
|
-
*
|
|
2054
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2028
2055
|
* repo-contents:rw
|
|
2029
2056
|
*
|
|
2030
2057
|
* /{repo}/-/git/tags/{tag}
|
|
@@ -2032,9 +2059,9 @@ export interface Client {
|
|
|
2032
2059
|
delete: Git_DeleteTag;
|
|
2033
2060
|
|
|
2034
2061
|
/***
|
|
2035
|
-
* 查询指定 Tag
|
|
2062
|
+
* 查询指定 Tag。Get a tag.
|
|
2036
2063
|
*
|
|
2037
|
-
*
|
|
2064
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2038
2065
|
* repo-contents:r
|
|
2039
2066
|
*
|
|
2040
2067
|
* /{repo}/-/git/tags/{tag}
|
|
@@ -2045,9 +2072,9 @@ export interface Client {
|
|
|
2045
2072
|
|
|
2046
2073
|
imgs: {
|
|
2047
2074
|
/***
|
|
2048
|
-
* 发起一个获取 imgs 的请求,返回内容或者 302
|
|
2075
|
+
* 发起一个获取 imgs 的请求,返回内容或者 302 到某个地址。Initiate a request to get images, returns content or 302 redirect.
|
|
2049
2076
|
*
|
|
2050
|
-
*
|
|
2077
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2051
2078
|
* repo-contents:r
|
|
2052
2079
|
*
|
|
2053
2080
|
* /{repo}/-/imgs/{userIdKey}/{fileName}
|
|
@@ -2055,9 +2082,9 @@ export interface Client {
|
|
|
2055
2082
|
get: Assets_GetImgs;
|
|
2056
2083
|
|
|
2057
2084
|
/***
|
|
2058
|
-
* 发起一个确认 imgs
|
|
2085
|
+
* 发起一个确认 imgs 的请求,上传的图片要调用此接口才能生效。Initiate a request to confirm images, uploaded images need to call this API to take effect.
|
|
2059
2086
|
*
|
|
2060
|
-
*
|
|
2087
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2061
2088
|
* repo-contents:rw
|
|
2062
2089
|
*
|
|
2063
2090
|
* /{repo}/-/imgs/{userIdKey}/{fileName}
|
|
@@ -2067,9 +2094,9 @@ export interface Client {
|
|
|
2067
2094
|
|
|
2068
2095
|
inheritMembers: {
|
|
2069
2096
|
/***
|
|
2070
|
-
*
|
|
2097
|
+
* 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
|
|
2071
2098
|
*
|
|
2072
|
-
*
|
|
2099
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2073
2100
|
* repo-manage:r
|
|
2074
2101
|
*
|
|
2075
2102
|
* /{repo}/-/inherit-members
|
|
@@ -2079,9 +2106,9 @@ export interface Client {
|
|
|
2079
2106
|
|
|
2080
2107
|
issues: {
|
|
2081
2108
|
/***
|
|
2082
|
-
* 查询仓库的 Issues
|
|
2109
|
+
* 查询仓库的 Issues。List issues.
|
|
2083
2110
|
*
|
|
2084
|
-
*
|
|
2111
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2085
2112
|
* repo-notes:r
|
|
2086
2113
|
*
|
|
2087
2114
|
* /{repo}/-/issues
|
|
@@ -2089,9 +2116,9 @@ export interface Client {
|
|
|
2089
2116
|
list: Issues_ListIssues;
|
|
2090
2117
|
|
|
2091
2118
|
/***
|
|
2092
|
-
* 创建一个 Issue
|
|
2119
|
+
* 创建一个 Issue。Create an issue.
|
|
2093
2120
|
*
|
|
2094
|
-
*
|
|
2121
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2095
2122
|
* repo-notes:rw
|
|
2096
2123
|
*
|
|
2097
2124
|
* /{repo}/-/issues
|
|
@@ -2099,9 +2126,9 @@ export interface Client {
|
|
|
2099
2126
|
post: Issues_CreateIssue;
|
|
2100
2127
|
|
|
2101
2128
|
/***
|
|
2102
|
-
* 查询指定的 Issues
|
|
2129
|
+
* 查询指定的 Issues。Get an issue.
|
|
2103
2130
|
*
|
|
2104
|
-
*
|
|
2131
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2105
2132
|
* repo-notes:r
|
|
2106
2133
|
*
|
|
2107
2134
|
* /{repo}/-/issues/{number}
|
|
@@ -2109,9 +2136,9 @@ export interface Client {
|
|
|
2109
2136
|
get: Issues_GetIssue;
|
|
2110
2137
|
|
|
2111
2138
|
/***
|
|
2112
|
-
* 更新一个 Issue
|
|
2139
|
+
* 更新一个 Issue。Update an issue.
|
|
2113
2140
|
*
|
|
2114
|
-
*
|
|
2141
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2115
2142
|
* repo-notes:rw
|
|
2116
2143
|
*
|
|
2117
2144
|
* /{repo}/-/issues/{number}
|
|
@@ -2120,9 +2147,9 @@ export interface Client {
|
|
|
2120
2147
|
|
|
2121
2148
|
comments: {
|
|
2122
2149
|
/***
|
|
2123
|
-
* 查询仓库的 Issue
|
|
2150
|
+
* 查询仓库的 Issue 评论列表。List repository issue comments.
|
|
2124
2151
|
*
|
|
2125
|
-
*
|
|
2152
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2126
2153
|
* repo-notes:r
|
|
2127
2154
|
*
|
|
2128
2155
|
* /{repo}/-/issues/{number}/comments
|
|
@@ -2130,9 +2157,9 @@ export interface Client {
|
|
|
2130
2157
|
list: Issues_ListIssueComments;
|
|
2131
2158
|
|
|
2132
2159
|
/***
|
|
2133
|
-
* 创建一个 Issue Comment
|
|
2160
|
+
* 创建一个 Issue Comment。Create an issue comment.
|
|
2134
2161
|
*
|
|
2135
|
-
*
|
|
2162
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2136
2163
|
* repo-notes:rw
|
|
2137
2164
|
*
|
|
2138
2165
|
* /{repo}/-/issues/{number}/comments
|
|
@@ -2140,9 +2167,9 @@ export interface Client {
|
|
|
2140
2167
|
post: Issues_PostIssueComment;
|
|
2141
2168
|
|
|
2142
2169
|
/***
|
|
2143
|
-
* 获取一个 Issue Comment
|
|
2170
|
+
* 获取一个 Issue Comment。Get an issue comment.
|
|
2144
2171
|
*
|
|
2145
|
-
*
|
|
2172
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2146
2173
|
* repo-notes:r
|
|
2147
2174
|
*
|
|
2148
2175
|
* /{repo}/-/issues/{number}/comments/{comment_id}
|
|
@@ -2150,9 +2177,9 @@ export interface Client {
|
|
|
2150
2177
|
get: Issues_GetIssueComment;
|
|
2151
2178
|
|
|
2152
2179
|
/***
|
|
2153
|
-
* 修改一个 Issue Comment
|
|
2180
|
+
* 修改一个 Issue Comment。Update an issue comment.
|
|
2154
2181
|
*
|
|
2155
|
-
*
|
|
2182
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2156
2183
|
* repo-notes:rw
|
|
2157
2184
|
*
|
|
2158
2185
|
* /{repo}/-/issues/{number}/comments/{comment_id}
|
|
@@ -2162,9 +2189,9 @@ export interface Client {
|
|
|
2162
2189
|
|
|
2163
2190
|
labels: {
|
|
2164
2191
|
/***
|
|
2165
|
-
* 清空 Issue
|
|
2192
|
+
* 清空 Issue 标签。Remove all labels from an issue.
|
|
2166
2193
|
*
|
|
2167
|
-
*
|
|
2194
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2168
2195
|
* repo-notes:rw
|
|
2169
2196
|
*
|
|
2170
2197
|
* /{repo}/-/issues/{number}/labels
|
|
@@ -2172,9 +2199,9 @@ export interface Client {
|
|
|
2172
2199
|
delete: Issues_DeleteIssueLabels;
|
|
2173
2200
|
|
|
2174
2201
|
/***
|
|
2175
|
-
* 查询 Issue 的标签(label)
|
|
2202
|
+
* 查询 Issue 的标签(label) 列表。List labels for an issue.
|
|
2176
2203
|
*
|
|
2177
|
-
*
|
|
2204
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2178
2205
|
* repo-notes:r
|
|
2179
2206
|
*
|
|
2180
2207
|
* /{repo}/-/issues/{number}/labels
|
|
@@ -2182,9 +2209,9 @@ export interface Client {
|
|
|
2182
2209
|
list: Issues_ListIssueLabels;
|
|
2183
2210
|
|
|
2184
2211
|
/***
|
|
2185
|
-
* 新增 Issue
|
|
2212
|
+
* 新增 Issue 标签。Add labels to an issue.
|
|
2186
2213
|
*
|
|
2187
|
-
*
|
|
2214
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2188
2215
|
* repo-notes:rw
|
|
2189
2216
|
*
|
|
2190
2217
|
* /{repo}/-/issues/{number}/labels
|
|
@@ -2192,9 +2219,9 @@ export interface Client {
|
|
|
2192
2219
|
post: Issues_PostIssueLabels;
|
|
2193
2220
|
|
|
2194
2221
|
/***
|
|
2195
|
-
* 设置 Issue
|
|
2222
|
+
* 设置 Issue 标签。 Set the new labels for an issue.
|
|
2196
2223
|
*
|
|
2197
|
-
*
|
|
2224
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2198
2225
|
* repo-notes:rw
|
|
2199
2226
|
*
|
|
2200
2227
|
* /{repo}/-/issues/{number}/labels
|
|
@@ -2202,9 +2229,9 @@ export interface Client {
|
|
|
2202
2229
|
put: Issues_PutIssueLabels;
|
|
2203
2230
|
|
|
2204
2231
|
/***
|
|
2205
|
-
* 删除 Issue
|
|
2232
|
+
* 删除 Issue 标签。Remove a label from an issue.
|
|
2206
2233
|
*
|
|
2207
|
-
*
|
|
2234
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2208
2235
|
* repo-notes:rw
|
|
2209
2236
|
*
|
|
2210
2237
|
* /{repo}/-/issues/{number}/labels/{name}
|
|
@@ -2215,9 +2242,9 @@ export interface Client {
|
|
|
2215
2242
|
|
|
2216
2243
|
labels: {
|
|
2217
2244
|
/***
|
|
2218
|
-
* 查询仓库的标签(label)
|
|
2245
|
+
* 查询仓库的标签(label) 列表。List repository labels.
|
|
2219
2246
|
*
|
|
2220
|
-
*
|
|
2247
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2221
2248
|
* repo-notes:r
|
|
2222
2249
|
*
|
|
2223
2250
|
* /{repo}/-/labels
|
|
@@ -2225,9 +2252,9 @@ export interface Client {
|
|
|
2225
2252
|
list: RepoLabels_ListLabels;
|
|
2226
2253
|
|
|
2227
2254
|
/***
|
|
2228
|
-
* 创建一个
|
|
2255
|
+
* 创建一个 标签。Create a label.
|
|
2229
2256
|
*
|
|
2230
|
-
*
|
|
2257
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2231
2258
|
* repo-notes:rw
|
|
2232
2259
|
*
|
|
2233
2260
|
* /{repo}/-/labels
|
|
@@ -2235,9 +2262,9 @@ export interface Client {
|
|
|
2235
2262
|
post: RepoLabels_PostLabel;
|
|
2236
2263
|
|
|
2237
2264
|
/***
|
|
2238
|
-
* 删除指定的仓库标签 label
|
|
2265
|
+
* 删除指定的仓库标签 label。Delete the specified repository label.
|
|
2239
2266
|
*
|
|
2240
|
-
*
|
|
2267
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2241
2268
|
* repo-notes:rw
|
|
2242
2269
|
*
|
|
2243
2270
|
* /{repo}/-/labels/{name}
|
|
@@ -2245,9 +2272,9 @@ export interface Client {
|
|
|
2245
2272
|
delete: RepoLabels_DeleteLabel;
|
|
2246
2273
|
|
|
2247
2274
|
/***
|
|
2248
|
-
*
|
|
2275
|
+
* 更新标签信息。Update label information.
|
|
2249
2276
|
*
|
|
2250
|
-
*
|
|
2277
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2251
2278
|
* repo-notes:rw
|
|
2252
2279
|
*
|
|
2253
2280
|
* /{repo}/-/labels/{name}
|
|
@@ -2257,9 +2284,9 @@ export interface Client {
|
|
|
2257
2284
|
|
|
2258
2285
|
listMembers: {
|
|
2259
2286
|
/***
|
|
2260
|
-
*
|
|
2287
|
+
* 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
|
|
2261
2288
|
*
|
|
2262
|
-
*
|
|
2289
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2263
2290
|
* repo-manage:r
|
|
2264
2291
|
*
|
|
2265
2292
|
* /{repo}/-/list-members
|
|
@@ -2269,9 +2296,9 @@ export interface Client {
|
|
|
2269
2296
|
|
|
2270
2297
|
members: {
|
|
2271
2298
|
/***
|
|
2272
|
-
*
|
|
2299
|
+
* 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
|
|
2273
2300
|
*
|
|
2274
|
-
*
|
|
2301
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2275
2302
|
* repo-manage:r
|
|
2276
2303
|
*
|
|
2277
2304
|
* /{repo}/-/members
|
|
@@ -2280,9 +2307,9 @@ export interface Client {
|
|
|
2280
2307
|
|
|
2281
2308
|
accessLevel: {
|
|
2282
2309
|
/***
|
|
2283
|
-
* 获取指定组织或仓库内,
|
|
2310
|
+
* 获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
|
|
2284
2311
|
*
|
|
2285
|
-
*
|
|
2312
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2286
2313
|
* repo-manage:r
|
|
2287
2314
|
*
|
|
2288
2315
|
* /{repo}/-/members/access-level
|
|
@@ -2290,9 +2317,9 @@ export interface Client {
|
|
|
2290
2317
|
get: Contributors_GetMemberAccessLevelOfRepo;
|
|
2291
2318
|
|
|
2292
2319
|
/***
|
|
2293
|
-
* 获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示,
|
|
2320
|
+
* 获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
|
|
2294
2321
|
*
|
|
2295
|
-
*
|
|
2322
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2296
2323
|
* repo-manage:r
|
|
2297
2324
|
*
|
|
2298
2325
|
* /{repo}/-/members/{username}/access-level
|
|
@@ -2301,9 +2328,9 @@ export interface Client {
|
|
|
2301
2328
|
};
|
|
2302
2329
|
|
|
2303
2330
|
/***
|
|
2304
|
-
*
|
|
2331
|
+
* 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
|
|
2305
2332
|
*
|
|
2306
|
-
*
|
|
2333
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2307
2334
|
* repo-manage:rw
|
|
2308
2335
|
*
|
|
2309
2336
|
* /{repo}/-/members/{username}
|
|
@@ -2311,9 +2338,9 @@ export interface Client {
|
|
|
2311
2338
|
delete: Collaborators_DeleteMembersOfRepo;
|
|
2312
2339
|
|
|
2313
2340
|
/***
|
|
2314
|
-
*
|
|
2341
|
+
* 添加成员。Add members.
|
|
2315
2342
|
*
|
|
2316
|
-
*
|
|
2343
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2317
2344
|
* repo-manage:rw
|
|
2318
2345
|
*
|
|
2319
2346
|
* /{repo}/-/members/{username}
|
|
@@ -2321,9 +2348,9 @@ export interface Client {
|
|
|
2321
2348
|
post: Collaborators_AddMembersOfRepo;
|
|
2322
2349
|
|
|
2323
2350
|
/***
|
|
2324
|
-
*
|
|
2351
|
+
* 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
|
|
2325
2352
|
*
|
|
2326
|
-
*
|
|
2353
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2327
2354
|
* repo-manage:rw
|
|
2328
2355
|
*
|
|
2329
2356
|
* /{repo}/-/members/{username}
|
|
@@ -2333,9 +2360,9 @@ export interface Client {
|
|
|
2333
2360
|
|
|
2334
2361
|
outsideCollaborators: {
|
|
2335
2362
|
/***
|
|
2336
|
-
*
|
|
2363
|
+
* 获取指定仓库内的外部贡献者。List external contributors in specified repository.
|
|
2337
2364
|
*
|
|
2338
|
-
*
|
|
2365
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2339
2366
|
* repo-manage:r
|
|
2340
2367
|
*
|
|
2341
2368
|
* /{repo}/-/outside-collaborators
|
|
@@ -2343,9 +2370,9 @@ export interface Client {
|
|
|
2343
2370
|
list: Collaborators_ListOutsideCollaborators;
|
|
2344
2371
|
|
|
2345
2372
|
/***
|
|
2346
|
-
*
|
|
2373
|
+
* 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
|
|
2347
2374
|
*
|
|
2348
|
-
*
|
|
2375
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2349
2376
|
* repo-manage:rw
|
|
2350
2377
|
*
|
|
2351
2378
|
* /{repo}/-/outside-collaborators/{username}
|
|
@@ -2353,9 +2380,9 @@ export interface Client {
|
|
|
2353
2380
|
delete: Collaborators_DeleteOutsideCollaborators;
|
|
2354
2381
|
|
|
2355
2382
|
/***
|
|
2356
|
-
*
|
|
2383
|
+
* 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
|
|
2357
2384
|
*
|
|
2358
|
-
*
|
|
2385
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2359
2386
|
* repo-manage:rw
|
|
2360
2387
|
*
|
|
2361
2388
|
* /{repo}/-/outside-collaborators/{username}
|
|
@@ -2365,9 +2392,9 @@ export interface Client {
|
|
|
2365
2392
|
|
|
2366
2393
|
pullInBatch: {
|
|
2367
2394
|
/***
|
|
2368
|
-
*
|
|
2395
|
+
* 根据numbers查询 Pull 列表。List pull requests by numbers.
|
|
2369
2396
|
*
|
|
2370
|
-
*
|
|
2397
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2371
2398
|
* repo-pr:r
|
|
2372
2399
|
*
|
|
2373
2400
|
* /{repo}/-/pull-in-batch
|
|
@@ -2377,9 +2404,9 @@ export interface Client {
|
|
|
2377
2404
|
|
|
2378
2405
|
pulls: {
|
|
2379
2406
|
/***
|
|
2380
|
-
*
|
|
2407
|
+
* 查询 Pull 列表。List pull requests.
|
|
2381
2408
|
*
|
|
2382
|
-
*
|
|
2409
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2383
2410
|
* repo-pr:r
|
|
2384
2411
|
*
|
|
2385
2412
|
* /{repo}/-/pulls
|
|
@@ -2387,9 +2414,9 @@ export interface Client {
|
|
|
2387
2414
|
list: Pulls_ListPulls;
|
|
2388
2415
|
|
|
2389
2416
|
/***
|
|
2390
|
-
*
|
|
2417
|
+
* 新增一个 Pull。Create a pull request.
|
|
2391
2418
|
*
|
|
2392
|
-
*
|
|
2419
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2393
2420
|
* repo-pr:rw
|
|
2394
2421
|
*
|
|
2395
2422
|
* /{repo}/-/pulls
|
|
@@ -2397,9 +2424,9 @@ export interface Client {
|
|
|
2397
2424
|
post: Pulls_PostPull;
|
|
2398
2425
|
|
|
2399
2426
|
/***
|
|
2400
|
-
*
|
|
2427
|
+
* 查询指定 Pull。Get a pull request.
|
|
2401
2428
|
*
|
|
2402
|
-
*
|
|
2429
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2403
2430
|
* repo-pr:r
|
|
2404
2431
|
*
|
|
2405
2432
|
* /{repo}/-/pulls/{number}
|
|
@@ -2407,9 +2434,9 @@ export interface Client {
|
|
|
2407
2434
|
get: Pulls_GetPull;
|
|
2408
2435
|
|
|
2409
2436
|
/***
|
|
2410
|
-
*
|
|
2437
|
+
* 更新一个 Pull Request。Update a pull request.
|
|
2411
2438
|
*
|
|
2412
|
-
*
|
|
2439
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2413
2440
|
* repo-pr:rw
|
|
2414
2441
|
*
|
|
2415
2442
|
* /{repo}/-/pulls/{number}
|
|
@@ -2418,9 +2445,9 @@ export interface Client {
|
|
|
2418
2445
|
|
|
2419
2446
|
comments: {
|
|
2420
2447
|
/***
|
|
2421
|
-
*
|
|
2448
|
+
* 查询 Pull Comments 列表。List pull comments requests.
|
|
2422
2449
|
*
|
|
2423
|
-
*
|
|
2450
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2424
2451
|
* repo-notes:r
|
|
2425
2452
|
*
|
|
2426
2453
|
* /{repo}/-/pulls/{number}/comments
|
|
@@ -2428,9 +2455,9 @@ export interface Client {
|
|
|
2428
2455
|
list: Pulls_ListPullComments;
|
|
2429
2456
|
|
|
2430
2457
|
/***
|
|
2431
|
-
*
|
|
2458
|
+
* 新增一个 Pull Comment。Create a pull comment.
|
|
2432
2459
|
*
|
|
2433
|
-
*
|
|
2460
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2434
2461
|
* repo-notes:rw
|
|
2435
2462
|
*
|
|
2436
2463
|
* /{repo}/-/pulls/{number}/comments
|
|
@@ -2440,9 +2467,9 @@ export interface Client {
|
|
|
2440
2467
|
|
|
2441
2468
|
labels: {
|
|
2442
2469
|
/***
|
|
2443
|
-
* 清空 Pull
|
|
2470
|
+
* 清空 Pull 标签。Remove all labels from a pull.
|
|
2444
2471
|
*
|
|
2445
|
-
*
|
|
2472
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2446
2473
|
* repo-notes:rw
|
|
2447
2474
|
*
|
|
2448
2475
|
* /{repo}/-/pulls/{number}/labels
|
|
@@ -2450,9 +2477,9 @@ export interface Client {
|
|
|
2450
2477
|
delete: Pulls_DeletePullLabels;
|
|
2451
2478
|
|
|
2452
2479
|
/***
|
|
2453
|
-
* 查询 Pull 的标签(label)
|
|
2480
|
+
* 查询 Pull 的标签(label) 列表。List labels for a pull.
|
|
2454
2481
|
*
|
|
2455
|
-
*
|
|
2482
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2456
2483
|
* repo-notes:r
|
|
2457
2484
|
*
|
|
2458
2485
|
* /{repo}/-/pulls/{number}/labels
|
|
@@ -2460,9 +2487,9 @@ export interface Client {
|
|
|
2460
2487
|
list: Pulls_ListPullLabels;
|
|
2461
2488
|
|
|
2462
2489
|
/***
|
|
2463
|
-
* 新增 Pull
|
|
2490
|
+
* 新增 Pull 标签。Add labels to a pull.
|
|
2464
2491
|
*
|
|
2465
|
-
*
|
|
2492
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2466
2493
|
* repo-notes:rw
|
|
2467
2494
|
*
|
|
2468
2495
|
* /{repo}/-/pulls/{number}/labels
|
|
@@ -2470,9 +2497,9 @@ export interface Client {
|
|
|
2470
2497
|
post: Pulls_PostPullLabels;
|
|
2471
2498
|
|
|
2472
2499
|
/***
|
|
2473
|
-
* 设置 Pull
|
|
2500
|
+
* 设置 Pull 标签。Set the new labels for a pull.
|
|
2474
2501
|
*
|
|
2475
|
-
*
|
|
2502
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2476
2503
|
* repo-notes:rw
|
|
2477
2504
|
*
|
|
2478
2505
|
* /{repo}/-/pulls/{number}/labels
|
|
@@ -2480,9 +2507,9 @@ export interface Client {
|
|
|
2480
2507
|
put: Pulls_PutPullLabels;
|
|
2481
2508
|
|
|
2482
2509
|
/***
|
|
2483
|
-
* 删除 Pull
|
|
2510
|
+
* 删除 Pull 标签。Remove a label from a pull.
|
|
2484
2511
|
*
|
|
2485
|
-
*
|
|
2512
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2486
2513
|
* repo-notes:rw
|
|
2487
2514
|
*
|
|
2488
2515
|
* /{repo}/-/pulls/{number}/labels/{name}
|
|
@@ -2492,9 +2519,9 @@ export interface Client {
|
|
|
2492
2519
|
|
|
2493
2520
|
merge: {
|
|
2494
2521
|
/***
|
|
2495
|
-
*
|
|
2522
|
+
* 合并一个 Pull Request。Merge a pull request.
|
|
2496
2523
|
*
|
|
2497
|
-
*
|
|
2524
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2498
2525
|
* repo-pr:rw
|
|
2499
2526
|
*
|
|
2500
2527
|
* /{repo}/-/pulls/{number}/merge
|
|
@@ -2504,9 +2531,9 @@ export interface Client {
|
|
|
2504
2531
|
|
|
2505
2532
|
reviews: {
|
|
2506
2533
|
/***
|
|
2507
|
-
* 新增一次 pull request
|
|
2534
|
+
* 新增一次 pull request 评审。Create a pull review.
|
|
2508
2535
|
*
|
|
2509
|
-
*
|
|
2536
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2510
2537
|
* repo-notes:rw
|
|
2511
2538
|
*
|
|
2512
2539
|
* /{repo}/-/pulls/{number}/reviews
|
|
@@ -2517,9 +2544,9 @@ export interface Client {
|
|
|
2517
2544
|
|
|
2518
2545
|
releases: {
|
|
2519
2546
|
/***
|
|
2520
|
-
*
|
|
2547
|
+
* 查询 release 列表。List releases.
|
|
2521
2548
|
*
|
|
2522
|
-
*
|
|
2549
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2523
2550
|
* repo-code:r
|
|
2524
2551
|
*
|
|
2525
2552
|
* /{repo}/-/releases
|
|
@@ -2527,9 +2554,9 @@ export interface Client {
|
|
|
2527
2554
|
list: Releases_ListReleases;
|
|
2528
2555
|
|
|
2529
2556
|
/***
|
|
2530
|
-
*
|
|
2557
|
+
* 新增一个 Release。Create a release.
|
|
2531
2558
|
*
|
|
2532
|
-
*
|
|
2559
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2533
2560
|
* repo-code:rw
|
|
2534
2561
|
*
|
|
2535
2562
|
* /{repo}/-/releases
|
|
@@ -2538,9 +2565,9 @@ export interface Client {
|
|
|
2538
2565
|
|
|
2539
2566
|
download: {
|
|
2540
2567
|
/***
|
|
2541
|
-
* 发起一个获取 release 附件的请求,返回内容或者 302
|
|
2568
|
+
* 发起一个获取 release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get release attachments, returns content or 302 redirect.
|
|
2542
2569
|
*
|
|
2543
|
-
*
|
|
2570
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2544
2571
|
* repo-contents:r
|
|
2545
2572
|
*
|
|
2546
2573
|
* /{repo}/-/releases/download/{fileName}
|
|
@@ -2548,11 +2575,35 @@ export interface Client {
|
|
|
2548
2575
|
get: Assets_GetReleasesAsset;
|
|
2549
2576
|
};
|
|
2550
2577
|
|
|
2578
|
+
latest: {
|
|
2579
|
+
/***
|
|
2580
|
+
* 查询 latest release。Query the latest release.
|
|
2581
|
+
*
|
|
2582
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2583
|
+
* repo-code:r
|
|
2584
|
+
*
|
|
2585
|
+
* /{repo}/-/releases/latest
|
|
2586
|
+
*/
|
|
2587
|
+
get: Releases_GetLatestRelease;
|
|
2588
|
+
|
|
2589
|
+
download: {
|
|
2590
|
+
/***
|
|
2591
|
+
* 发起一个获取 latest release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get latest release attachments, returns content or 302 redirect.
|
|
2592
|
+
*
|
|
2593
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2594
|
+
* repo-contents:r
|
|
2595
|
+
*
|
|
2596
|
+
* /{repo}/-/releases/latest/download/{fileName}
|
|
2597
|
+
*/
|
|
2598
|
+
get: Assets_GetLatestReleasesAsset;
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
|
|
2551
2602
|
tags: {
|
|
2552
2603
|
/***
|
|
2553
|
-
*
|
|
2604
|
+
* 通过 tag 查询指定 release。Get a release by tag.
|
|
2554
2605
|
*
|
|
2555
|
-
*
|
|
2606
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2556
2607
|
* repo-code:r
|
|
2557
2608
|
*
|
|
2558
2609
|
* /{repo}/-/releases/tags/{tag}
|
|
@@ -2561,9 +2612,9 @@ export interface Client {
|
|
|
2561
2612
|
};
|
|
2562
2613
|
|
|
2563
2614
|
/***
|
|
2564
|
-
*
|
|
2615
|
+
* 删除指定的 release。Delete a release.
|
|
2565
2616
|
*
|
|
2566
|
-
*
|
|
2617
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2567
2618
|
* repo-code:rw
|
|
2568
2619
|
*
|
|
2569
2620
|
* /{repo}/-/releases/{release_id}
|
|
@@ -2571,9 +2622,9 @@ export interface Client {
|
|
|
2571
2622
|
delete: Releases_DeleteRelease;
|
|
2572
2623
|
|
|
2573
2624
|
/***
|
|
2574
|
-
*
|
|
2625
|
+
* 根据 id 查询指定 release。Get a release by id.
|
|
2575
2626
|
*
|
|
2576
|
-
*
|
|
2627
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2577
2628
|
* repo-code:r
|
|
2578
2629
|
*
|
|
2579
2630
|
* /{repo}/-/releases/{release_id}
|
|
@@ -2581,9 +2632,9 @@ export interface Client {
|
|
|
2581
2632
|
get: Releases_GetReleaseByID;
|
|
2582
2633
|
|
|
2583
2634
|
/***
|
|
2584
|
-
*
|
|
2635
|
+
* 更新 release。Update a release.
|
|
2585
2636
|
*
|
|
2586
|
-
*
|
|
2637
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2587
2638
|
* repo-code:rw
|
|
2588
2639
|
*
|
|
2589
2640
|
* /{repo}/-/releases/{release_id}
|
|
@@ -2592,9 +2643,9 @@ export interface Client {
|
|
|
2592
2643
|
|
|
2593
2644
|
assetUploadConfirmation: {
|
|
2594
2645
|
/***
|
|
2595
|
-
*
|
|
2646
|
+
* 确认 Release asset 上传完成。Confirm release asset upload.
|
|
2596
2647
|
*
|
|
2597
|
-
*
|
|
2648
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2598
2649
|
* repo-code:rw
|
|
2599
2650
|
*
|
|
2600
2651
|
* /{repo}/-/releases/{release_id}/asset-upload-confirmation/{token}/{asset_path}
|
|
@@ -2604,9 +2655,9 @@ export interface Client {
|
|
|
2604
2655
|
|
|
2605
2656
|
assetUploadUrl: {
|
|
2606
2657
|
/***
|
|
2607
|
-
*
|
|
2658
|
+
* 新增一个 Release asset。Create a release asset.
|
|
2608
2659
|
*
|
|
2609
|
-
*
|
|
2660
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2610
2661
|
* repo-code:rw
|
|
2611
2662
|
*
|
|
2612
2663
|
* /{repo}/-/releases/{release_id}/asset-upload-url
|
|
@@ -2616,9 +2667,9 @@ export interface Client {
|
|
|
2616
2667
|
|
|
2617
2668
|
assets: {
|
|
2618
2669
|
/***
|
|
2619
|
-
*
|
|
2670
|
+
* 删除指定的 release asset。Delete the specified release asset.
|
|
2620
2671
|
*
|
|
2621
|
-
*
|
|
2672
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2622
2673
|
* repo-code:rw
|
|
2623
2674
|
*
|
|
2624
2675
|
* /{repo}/-/releases/{release_id}/assets/{asset_id}
|
|
@@ -2626,9 +2677,9 @@ export interface Client {
|
|
|
2626
2677
|
delete: Releases_DeleteReleaseAsset;
|
|
2627
2678
|
|
|
2628
2679
|
/***
|
|
2629
|
-
*
|
|
2680
|
+
* 查询指定的 release asset。Get the specified release asset.
|
|
2630
2681
|
*
|
|
2631
|
-
*
|
|
2682
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2632
2683
|
* repo-code:r
|
|
2633
2684
|
*
|
|
2634
2685
|
* /{repo}/-/releases/{release_id}/assets/{asset_id}
|
|
@@ -2640,9 +2691,9 @@ export interface Client {
|
|
|
2640
2691
|
settings: {
|
|
2641
2692
|
branchProtections: {
|
|
2642
2693
|
/***
|
|
2643
|
-
*
|
|
2694
|
+
* 查询仓库保护分支规则列表。List branch protection rules.
|
|
2644
2695
|
*
|
|
2645
|
-
*
|
|
2696
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2646
2697
|
* repo-manage:r
|
|
2647
2698
|
*
|
|
2648
2699
|
* /{repo}/-/settings/branch-protections
|
|
@@ -2650,9 +2701,9 @@ export interface Client {
|
|
|
2650
2701
|
list: GitSettings_ListBranchProtections;
|
|
2651
2702
|
|
|
2652
2703
|
/***
|
|
2653
|
-
*
|
|
2704
|
+
* 新增仓库保护分支规则。Create branch protection rule.
|
|
2654
2705
|
*
|
|
2655
|
-
*
|
|
2706
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2656
2707
|
* repo-manage:rw
|
|
2657
2708
|
*
|
|
2658
2709
|
* /{repo}/-/settings/branch-protections
|
|
@@ -2660,9 +2711,9 @@ export interface Client {
|
|
|
2660
2711
|
post: GitSettings_PostBranchProtection;
|
|
2661
2712
|
|
|
2662
2713
|
/***
|
|
2663
|
-
*
|
|
2714
|
+
* 删除仓库保护分支规则。 Delete branch protection rule.
|
|
2664
2715
|
*
|
|
2665
|
-
*
|
|
2716
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2666
2717
|
* repo-manage:rw
|
|
2667
2718
|
*
|
|
2668
2719
|
* /{repo}/-/settings/branch-protections/{id}
|
|
@@ -2670,9 +2721,9 @@ export interface Client {
|
|
|
2670
2721
|
delete: GitSettings_DeleteBranchProtection;
|
|
2671
2722
|
|
|
2672
2723
|
/***
|
|
2673
|
-
*
|
|
2724
|
+
* 查询仓库保护分支规则。Get branch protection rule.
|
|
2674
2725
|
*
|
|
2675
|
-
*
|
|
2726
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2676
2727
|
* repo-manage:r
|
|
2677
2728
|
*
|
|
2678
2729
|
* /{repo}/-/settings/branch-protections/{id}
|
|
@@ -2680,9 +2731,9 @@ export interface Client {
|
|
|
2680
2731
|
get: GitSettings_GetBranchProtection;
|
|
2681
2732
|
|
|
2682
2733
|
/***
|
|
2683
|
-
*
|
|
2734
|
+
* 更新仓库保护分支规则。Update branch protection rule.
|
|
2684
2735
|
*
|
|
2685
|
-
*
|
|
2736
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2686
2737
|
* repo-manage:rw
|
|
2687
2738
|
*
|
|
2688
2739
|
* /{repo}/-/settings/branch-protections/{id}
|
|
@@ -2692,9 +2743,9 @@ export interface Client {
|
|
|
2692
2743
|
|
|
2693
2744
|
cloudNativeBuild: {
|
|
2694
2745
|
/***
|
|
2695
|
-
*
|
|
2746
|
+
* 查询仓库云原生构建设置。List pipeline settings.
|
|
2696
2747
|
*
|
|
2697
|
-
*
|
|
2748
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2698
2749
|
* repo-manage:r
|
|
2699
2750
|
*
|
|
2700
2751
|
* /{repo}/-/settings/cloud-native-build
|
|
@@ -2702,9 +2753,9 @@ export interface Client {
|
|
|
2702
2753
|
get: GitSettings_GetPipelineSettings;
|
|
2703
2754
|
|
|
2704
2755
|
/***
|
|
2705
|
-
*
|
|
2756
|
+
* 更新仓库云原生构建设置。Update pipeline settings.
|
|
2706
2757
|
*
|
|
2707
|
-
*
|
|
2758
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2708
2759
|
* repo-manage:rw
|
|
2709
2760
|
*
|
|
2710
2761
|
* /{repo}/-/settings/cloud-native-build
|
|
@@ -2714,9 +2765,9 @@ export interface Client {
|
|
|
2714
2765
|
|
|
2715
2766
|
pullRequest: {
|
|
2716
2767
|
/***
|
|
2717
|
-
*
|
|
2768
|
+
* 查询仓库合并请求设置。List pull request settings.
|
|
2718
2769
|
*
|
|
2719
|
-
*
|
|
2770
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2720
2771
|
* repo-manage:r
|
|
2721
2772
|
*
|
|
2722
2773
|
* /{repo}/-/settings/pull-request
|
|
@@ -2724,9 +2775,9 @@ export interface Client {
|
|
|
2724
2775
|
get: GitSettings_GetPullRequestSettings;
|
|
2725
2776
|
|
|
2726
2777
|
/***
|
|
2727
|
-
*
|
|
2778
|
+
* 设置仓库推送设置。Set pull request settings.
|
|
2728
2779
|
*
|
|
2729
|
-
*
|
|
2780
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2730
2781
|
* repo-manage:rw
|
|
2731
2782
|
*
|
|
2732
2783
|
* /{repo}/-/settings/pull-request
|
|
@@ -2736,9 +2787,9 @@ export interface Client {
|
|
|
2736
2787
|
|
|
2737
2788
|
pushLimit: {
|
|
2738
2789
|
/***
|
|
2739
|
-
*
|
|
2790
|
+
* 查询仓库推送设置。List push limit settings.
|
|
2740
2791
|
*
|
|
2741
|
-
*
|
|
2792
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2742
2793
|
* repo-manage:r
|
|
2743
2794
|
*
|
|
2744
2795
|
* /{repo}/-/settings/push-limit
|
|
@@ -2746,9 +2797,9 @@ export interface Client {
|
|
|
2746
2797
|
get: GitSettings_GetPushLimitSettings;
|
|
2747
2798
|
|
|
2748
2799
|
/***
|
|
2749
|
-
*
|
|
2800
|
+
* 设置仓库推送设置。Set push limit settings.
|
|
2750
2801
|
*
|
|
2751
|
-
*
|
|
2802
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2752
2803
|
* repo-manage:rw
|
|
2753
2804
|
*
|
|
2754
2805
|
* /{repo}/-/settings/push-limit
|
|
@@ -2759,9 +2810,9 @@ export interface Client {
|
|
|
2759
2810
|
|
|
2760
2811
|
stars: {
|
|
2761
2812
|
/***
|
|
2762
|
-
* 获取指定仓库的star
|
|
2813
|
+
* 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
|
|
2763
2814
|
*
|
|
2764
|
-
*
|
|
2815
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2765
2816
|
* repo-basic-info:r
|
|
2766
2817
|
*
|
|
2767
2818
|
* /{repo}/-/stars
|
|
@@ -2771,9 +2822,9 @@ export interface Client {
|
|
|
2771
2822
|
|
|
2772
2823
|
topActivityUsers: {
|
|
2773
2824
|
/***
|
|
2774
|
-
* 获取 top
|
|
2825
|
+
* 获取 top 贡献用户。List the top contributing users
|
|
2775
2826
|
*
|
|
2776
|
-
*
|
|
2827
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2777
2828
|
* repo-base-info:r
|
|
2778
2829
|
*
|
|
2779
2830
|
* /{repo}/-/top-activity-users
|
|
@@ -2784,9 +2835,9 @@ export interface Client {
|
|
|
2784
2835
|
upload: {
|
|
2785
2836
|
files: {
|
|
2786
2837
|
/***
|
|
2787
|
-
* 发起一个上传 files
|
|
2838
|
+
* 发起一个上传 files 的请求,返回上传 cos 的 url 和 form 内容。Initiate a request to upload files,returns COS upload URL and form data.
|
|
2788
2839
|
*
|
|
2789
|
-
*
|
|
2840
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2790
2841
|
* repo-contents:rw
|
|
2791
2842
|
*
|
|
2792
2843
|
* /{repo}/-/upload/files
|
|
@@ -2796,9 +2847,9 @@ export interface Client {
|
|
|
2796
2847
|
|
|
2797
2848
|
imgs: {
|
|
2798
2849
|
/***
|
|
2799
|
-
* 发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form
|
|
2850
|
+
* 发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容。发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容.
|
|
2800
2851
|
*
|
|
2801
|
-
*
|
|
2852
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2802
2853
|
* repo-contents:rw
|
|
2803
2854
|
*
|
|
2804
2855
|
* /{repo}/-/upload/imgs
|
|
@@ -2808,9 +2859,9 @@ export interface Client {
|
|
|
2808
2859
|
|
|
2809
2860
|
releases: {
|
|
2810
2861
|
/***
|
|
2811
|
-
* 发起一个上传 release 附件的请求,返回上传 cos 的 url 和 form
|
|
2862
|
+
* 发起一个上传 release 附件的请求,返回上传 cos 的 url 和 form 内容。Initiate a request to upload release attachments, returns COS upload URL and form data.
|
|
2812
2863
|
*
|
|
2813
|
-
*
|
|
2864
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2814
2865
|
* repo-contents:rw
|
|
2815
2866
|
*
|
|
2816
2867
|
* /{repo}/-/upload/releases/{tagName}
|
|
@@ -2822,9 +2873,9 @@ export interface Client {
|
|
|
2822
2873
|
workspace: {
|
|
2823
2874
|
detail: {
|
|
2824
2875
|
/***
|
|
2825
|
-
* 根据流水线sn
|
|
2876
|
+
* 根据流水线sn查询云原生开发访问地址。Query cloud-native development access address by pipeline SN.
|
|
2826
2877
|
*
|
|
2827
|
-
*
|
|
2878
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2828
2879
|
* repo-cnb-detail:r
|
|
2829
2880
|
*
|
|
2830
2881
|
* /{repo}/-/workspace/detail/{sn}
|
|
@@ -2837,9 +2888,9 @@ export interface Client {
|
|
|
2837
2888
|
slug: {
|
|
2838
2889
|
packages: {
|
|
2839
2890
|
/***
|
|
2840
|
-
* List all packages
|
|
2891
|
+
* 查询制品列表。 List all packages.
|
|
2841
2892
|
*
|
|
2842
|
-
*
|
|
2893
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2843
2894
|
* registry-package:r
|
|
2844
2895
|
*
|
|
2845
2896
|
* /{slug}/-/packages
|
|
@@ -2847,9 +2898,9 @@ export interface Client {
|
|
|
2847
2898
|
list: Artifactory_ListPackages;
|
|
2848
2899
|
|
|
2849
2900
|
/***
|
|
2850
|
-
* Head all packages
|
|
2901
|
+
* 查询制品数量。 Head all packages.
|
|
2851
2902
|
*
|
|
2852
|
-
*
|
|
2903
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2853
2904
|
* registry-package:r
|
|
2854
2905
|
*
|
|
2855
2906
|
* /{slug}/-/packages
|
|
@@ -2859,9 +2910,9 @@ export interface Client {
|
|
|
2859
2910
|
type: {
|
|
2860
2911
|
quota: {
|
|
2861
2912
|
/***
|
|
2862
|
-
* Get quota of specific registry
|
|
2913
|
+
* 查询制品配额。 Get quota of specific registry.
|
|
2863
2914
|
*
|
|
2864
|
-
*
|
|
2915
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2865
2916
|
* registry-package:r
|
|
2866
2917
|
*
|
|
2867
2918
|
* /{slug}/-/packages/{type}/-/quota
|
|
@@ -2871,9 +2922,9 @@ export interface Client {
|
|
|
2871
2922
|
|
|
2872
2923
|
quotas: {
|
|
2873
2924
|
/***
|
|
2874
|
-
* Get quotas of packages under one registry
|
|
2925
|
+
* 查询全部制品配额。 Get quotas of packages under one registry.
|
|
2875
2926
|
*
|
|
2876
|
-
*
|
|
2927
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2877
2928
|
* registry-package:r
|
|
2878
2929
|
*
|
|
2879
2930
|
* /{slug}/-/packages/{type}/-/quotas
|
|
@@ -2882,9 +2933,9 @@ export interface Client {
|
|
|
2882
2933
|
|
|
2883
2934
|
download: {
|
|
2884
2935
|
/***
|
|
2885
|
-
* Download registry quota details
|
|
2936
|
+
* 下载制品配额信息。 Download registry quota details.
|
|
2886
2937
|
*
|
|
2887
|
-
*
|
|
2938
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2888
2939
|
* registry-package:r
|
|
2889
2940
|
*
|
|
2890
2941
|
* /{slug}/-/packages/{type}/-/quotas/download
|
|
@@ -2895,9 +2946,9 @@ export interface Client {
|
|
|
2895
2946
|
};
|
|
2896
2947
|
|
|
2897
2948
|
/***
|
|
2898
|
-
* Get the
|
|
2949
|
+
* 获取某一制品的详细信息。 Get the package detail.
|
|
2899
2950
|
*
|
|
2900
|
-
*
|
|
2951
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2901
2952
|
* registry-package:r
|
|
2902
2953
|
*
|
|
2903
2954
|
* /{slug}/-/packages/{type}/{name}
|
|
@@ -2907,9 +2958,9 @@ export interface Client {
|
|
|
2907
2958
|
name: {
|
|
2908
2959
|
tag: {
|
|
2909
2960
|
/***
|
|
2910
|
-
* Delete the specific tag under specific package
|
|
2961
|
+
* 删除制品标签。 Delete the specific tag under specific package
|
|
2911
2962
|
*
|
|
2912
|
-
*
|
|
2963
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2913
2964
|
* registry-package-delete:rw
|
|
2914
2965
|
*
|
|
2915
2966
|
* /{slug}/-/packages/{type}/{name}/-/tag/{tag}
|
|
@@ -2917,9 +2968,9 @@ export interface Client {
|
|
|
2917
2968
|
delete: Artifactory_DeletePackageTag;
|
|
2918
2969
|
|
|
2919
2970
|
/***
|
|
2920
|
-
* Get the specific tag under specific package
|
|
2971
|
+
* 获取制品标签详情。 Get the specific tag under specific package.
|
|
2921
2972
|
*
|
|
2922
|
-
*
|
|
2973
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2923
2974
|
* registry-package:r
|
|
2924
2975
|
*
|
|
2925
2976
|
* /{slug}/-/packages/{type}/{name}/-/tag/{tag}
|
|
@@ -2931,9 +2982,9 @@ export interface Client {
|
|
|
2931
2982
|
pkgname: {
|
|
2932
2983
|
tags: {
|
|
2933
2984
|
/***
|
|
2934
|
-
* List all tags under specific package
|
|
2985
|
+
* 查询制品标签列表。 List all tags under specific package.
|
|
2935
2986
|
*
|
|
2936
|
-
*
|
|
2987
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2937
2988
|
* registry-package:r
|
|
2938
2989
|
*
|
|
2939
2990
|
* /{slug}/-/packages/{type}/{pkgname}/-/tags
|
|
@@ -2992,6 +3043,7 @@ export interface Client {
|
|
|
2992
3043
|
GetImgs: Assets_GetImgs;
|
|
2993
3044
|
PutImgs: Assets_PutImgs;
|
|
2994
3045
|
GetReleasesAsset: Assets_GetReleasesAsset;
|
|
3046
|
+
GetLatestReleasesAsset: Assets_GetLatestReleasesAsset;
|
|
2995
3047
|
UploadFiles: Assets_UploadFiles;
|
|
2996
3048
|
UploadImgs: Assets_UploadImgs;
|
|
2997
3049
|
UploadReleases: Assets_UploadReleases;
|
|
@@ -3089,6 +3141,7 @@ export interface Client {
|
|
|
3089
3141
|
GetCommit: Git_GetCommit;
|
|
3090
3142
|
GetCompareCommits: Git_GetCompareCommits;
|
|
3091
3143
|
GetContent: Git_GetContent;
|
|
3144
|
+
ListDeferredCommits: Git_ListDeferredCommits;
|
|
3092
3145
|
GetHead: Git_GetHead;
|
|
3093
3146
|
DeleteTagAnnotation: Git_DeleteTagAnnotation;
|
|
3094
3147
|
GetTagAnnotations: Git_GetTagAnnotations;
|
|
@@ -3142,6 +3195,7 @@ export interface Client {
|
|
|
3142
3195
|
Releases: {
|
|
3143
3196
|
ListReleases: Releases_ListReleases;
|
|
3144
3197
|
PostRelease: Releases_PostRelease;
|
|
3198
|
+
GetLatestRelease: Releases_GetLatestRelease;
|
|
3145
3199
|
GetReleaseByTag: Releases_GetReleaseByTag;
|
|
3146
3200
|
DeleteRelease: Releases_DeleteRelease;
|
|
3147
3201
|
GetReleaseByID: Releases_GetReleaseByID;
|