node-cnb 1.7.1 → 1.8.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/paths.json +489 -3
- package/package.json +1 -1
- package/pathMethodMap.json +4 -6
- package/src/client.d.ts +45 -0
package/dist/paths.json
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
{
|
|
4
4
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
5
5
|
"operationId": "CreateOrganization",
|
|
6
|
+
"tags": [
|
|
7
|
+
"Organizations"
|
|
8
|
+
],
|
|
6
9
|
"summary": "创建新组织",
|
|
7
10
|
"parameters": [
|
|
8
11
|
{
|
|
@@ -28,6 +31,9 @@
|
|
|
28
31
|
{
|
|
29
32
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
|
|
30
33
|
"operationId": "GetUserInfo",
|
|
34
|
+
"tags": [
|
|
35
|
+
"Users"
|
|
36
|
+
],
|
|
31
37
|
"summary": "获取指定用户的详情信息",
|
|
32
38
|
"parameters": [],
|
|
33
39
|
"responses": {
|
|
@@ -46,6 +52,9 @@
|
|
|
46
52
|
{
|
|
47
53
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-profile:rw",
|
|
48
54
|
"operationId": "UpdateUserInfo",
|
|
55
|
+
"tags": [
|
|
56
|
+
"Users"
|
|
57
|
+
],
|
|
49
58
|
"summary": "更新指定用户的详情信息, 可更新内容为: 昵称, 个人签名, 微信公众号名称, 微信公众号二维码链接, 个人网站, 个人地址, 公司名称",
|
|
50
59
|
"parameters": [
|
|
51
60
|
{
|
|
@@ -71,6 +80,9 @@
|
|
|
71
80
|
{
|
|
72
81
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
73
82
|
"operationId": "AutoCompleteSource",
|
|
83
|
+
"tags": [
|
|
84
|
+
"Users"
|
|
85
|
+
],
|
|
74
86
|
"summary": "查询当前用户用户拥有指定权限的所有资源列表",
|
|
75
87
|
"parameters": [
|
|
76
88
|
{
|
|
@@ -136,6 +148,9 @@
|
|
|
136
148
|
{
|
|
137
149
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
138
150
|
"operationId": "ListTopGroups",
|
|
151
|
+
"tags": [
|
|
152
|
+
"Organizations"
|
|
153
|
+
],
|
|
139
154
|
"summary": "获取当前用户拥有权限的顶层组织列表",
|
|
140
155
|
"parameters": [
|
|
141
156
|
{
|
|
@@ -192,6 +207,9 @@
|
|
|
192
207
|
{
|
|
193
208
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
194
209
|
"operationId": "ListGroups",
|
|
210
|
+
"tags": [
|
|
211
|
+
"Organizations"
|
|
212
|
+
],
|
|
195
213
|
"summary": "查询当前用户在指定组织下拥有指定权限的子组织列表",
|
|
196
214
|
"parameters": [
|
|
197
215
|
{
|
|
@@ -242,6 +260,9 @@
|
|
|
242
260
|
{
|
|
243
261
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
244
262
|
"operationId": "GetRepos",
|
|
263
|
+
"tags": [
|
|
264
|
+
"Repositories"
|
|
265
|
+
],
|
|
245
266
|
"summary": "获取当前用户拥有指定权限及其以上权限的仓库",
|
|
246
267
|
"parameters": [
|
|
247
268
|
{
|
|
@@ -326,6 +347,9 @@
|
|
|
326
347
|
{
|
|
327
348
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
328
349
|
"operationId": "GetUserAllStaredRepos",
|
|
350
|
+
"tags": [
|
|
351
|
+
"Repositories"
|
|
352
|
+
],
|
|
329
353
|
"summary": "获取当前用户 star 的仓库列表",
|
|
330
354
|
"parameters": [
|
|
331
355
|
{
|
|
@@ -387,6 +411,9 @@
|
|
|
387
411
|
{
|
|
388
412
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
|
|
389
413
|
"operationId": "GetUserInfoByName",
|
|
414
|
+
"tags": [
|
|
415
|
+
"Users"
|
|
416
|
+
],
|
|
390
417
|
"summary": "获取指定用户的详情信息",
|
|
391
418
|
"parameters": [
|
|
392
419
|
{
|
|
@@ -414,6 +441,9 @@
|
|
|
414
441
|
{
|
|
415
442
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
|
|
416
443
|
"operationId": "GetUserAvatar",
|
|
444
|
+
"tags": [
|
|
445
|
+
"Assets"
|
|
446
|
+
],
|
|
417
447
|
"summary": "获取指定用户的用户头像",
|
|
418
448
|
"parameters": [
|
|
419
449
|
{
|
|
@@ -441,6 +471,9 @@
|
|
|
441
471
|
{
|
|
442
472
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
443
473
|
"operationId": "GetFollowersByUserID",
|
|
474
|
+
"tags": [
|
|
475
|
+
"Followers"
|
|
476
|
+
],
|
|
444
477
|
"summary": "获取指定用户的粉丝列表",
|
|
445
478
|
"parameters": [
|
|
446
479
|
{
|
|
@@ -485,6 +518,9 @@
|
|
|
485
518
|
{
|
|
486
519
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
487
520
|
"operationId": "GetFollowingByUserID",
|
|
521
|
+
"tags": [
|
|
522
|
+
"Followers"
|
|
523
|
+
],
|
|
488
524
|
"summary": "获取指定用户的关注人列表",
|
|
489
525
|
"parameters": [
|
|
490
526
|
{
|
|
@@ -529,6 +565,9 @@
|
|
|
529
565
|
{
|
|
530
566
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
531
567
|
"operationId": "GetGroupsByUserID",
|
|
568
|
+
"tags": [
|
|
569
|
+
"Organizations"
|
|
570
|
+
],
|
|
532
571
|
"summary": "获取指定用户拥有权限的顶层组织列表",
|
|
533
572
|
"parameters": [
|
|
534
573
|
{
|
|
@@ -594,6 +633,9 @@
|
|
|
594
633
|
{
|
|
595
634
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
596
635
|
"operationId": "GetPinnedRepoByID",
|
|
636
|
+
"tags": [
|
|
637
|
+
"Repositories"
|
|
638
|
+
],
|
|
597
639
|
"summary": "获取指定用户的用户仓库墙",
|
|
598
640
|
"parameters": [
|
|
599
641
|
{
|
|
@@ -624,6 +666,9 @@
|
|
|
624
666
|
{
|
|
625
667
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
626
668
|
"operationId": "GetReposByUserName",
|
|
669
|
+
"tags": [
|
|
670
|
+
"Repositories"
|
|
671
|
+
],
|
|
627
672
|
"summary": "获取指定用户有指定以上权限并且客人态可见的仓库",
|
|
628
673
|
"parameters": [
|
|
629
674
|
{
|
|
@@ -705,6 +750,9 @@
|
|
|
705
750
|
{
|
|
706
751
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
707
752
|
"operationId": "GetUserStaredRepos",
|
|
753
|
+
"tags": [
|
|
754
|
+
"Starring"
|
|
755
|
+
],
|
|
708
756
|
"summary": "获取指定用户的 star 仓库列表",
|
|
709
757
|
"parameters": [
|
|
710
758
|
{
|
|
@@ -774,6 +822,9 @@
|
|
|
774
822
|
{
|
|
775
823
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:rw",
|
|
776
824
|
"operationId": "DeleteWorkspace",
|
|
825
|
+
"tags": [
|
|
826
|
+
"Workspace"
|
|
827
|
+
],
|
|
777
828
|
"summary": "删除我的云原生开发环境",
|
|
778
829
|
"parameters": [
|
|
779
830
|
{
|
|
@@ -802,6 +853,9 @@
|
|
|
802
853
|
{
|
|
803
854
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
804
855
|
"operationId": "ListWorkspaces",
|
|
856
|
+
"tags": [
|
|
857
|
+
"Workspace"
|
|
858
|
+
],
|
|
805
859
|
"summary": "获取我的云原生开发环境列表",
|
|
806
860
|
"parameters": [
|
|
807
861
|
{
|
|
@@ -863,6 +917,9 @@
|
|
|
863
917
|
{
|
|
864
918
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-delete:rw",
|
|
865
919
|
"operationId": "DeleteOrganization",
|
|
920
|
+
"tags": [
|
|
921
|
+
"Organizations"
|
|
922
|
+
],
|
|
866
923
|
"summary": "删除指定组织",
|
|
867
924
|
"parameters": [
|
|
868
925
|
{
|
|
@@ -892,6 +949,9 @@
|
|
|
892
949
|
{
|
|
893
950
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
|
|
894
951
|
"operationId": "GetGroup",
|
|
952
|
+
"tags": [
|
|
953
|
+
"Organizations"
|
|
954
|
+
],
|
|
895
955
|
"summary": "获取指定组织信息",
|
|
896
956
|
"parameters": [
|
|
897
957
|
{
|
|
@@ -918,6 +978,9 @@
|
|
|
918
978
|
{
|
|
919
979
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
920
980
|
"operationId": "UpdateOrganization",
|
|
981
|
+
"tags": [
|
|
982
|
+
"Organizations"
|
|
983
|
+
],
|
|
921
984
|
"summary": "更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱",
|
|
922
985
|
"parameters": [
|
|
923
986
|
{
|
|
@@ -950,6 +1013,9 @@
|
|
|
950
1013
|
{
|
|
951
1014
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
952
1015
|
"operationId": "UpdateGroupAvatar",
|
|
1016
|
+
"tags": [
|
|
1017
|
+
"Organizations"
|
|
1018
|
+
],
|
|
953
1019
|
"summary": "更新组织头像 URL 地址",
|
|
954
1020
|
"parameters": [
|
|
955
1021
|
{
|
|
@@ -982,6 +1048,9 @@
|
|
|
982
1048
|
{
|
|
983
1049
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
984
1050
|
"operationId": "ListInheritMembers",
|
|
1051
|
+
"tags": [
|
|
1052
|
+
"Collaborators"
|
|
1053
|
+
],
|
|
985
1054
|
"summary": "获取指定组织或仓库内的继承成员",
|
|
986
1055
|
"parameters": [
|
|
987
1056
|
{
|
|
@@ -1045,6 +1114,9 @@
|
|
|
1045
1114
|
{
|
|
1046
1115
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1047
1116
|
"operationId": "ListAllMembers",
|
|
1117
|
+
"tags": [
|
|
1118
|
+
"Collaborators"
|
|
1119
|
+
],
|
|
1048
1120
|
"summary": "获取指定组织或仓库内的有效成员列表,包含继承成员",
|
|
1049
1121
|
"parameters": [
|
|
1050
1122
|
{
|
|
@@ -1133,6 +1205,9 @@
|
|
|
1133
1205
|
{
|
|
1134
1206
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1135
1207
|
"operationId": "PutLogos",
|
|
1208
|
+
"tags": [
|
|
1209
|
+
"Assets"
|
|
1210
|
+
],
|
|
1136
1211
|
"summary": "确认上传的logo",
|
|
1137
1212
|
"parameters": [
|
|
1138
1213
|
{
|
|
@@ -1164,6 +1239,9 @@
|
|
|
1164
1239
|
{
|
|
1165
1240
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
|
|
1166
1241
|
"operationId": "GetLogos",
|
|
1242
|
+
"tags": [
|
|
1243
|
+
"Assets"
|
|
1244
|
+
],
|
|
1167
1245
|
"summary": "发起一个获取 logo 的请求,返回内容或者 302 到某个地址",
|
|
1168
1246
|
"parameters": [
|
|
1169
1247
|
{
|
|
@@ -1194,6 +1272,9 @@
|
|
|
1194
1272
|
{
|
|
1195
1273
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1196
1274
|
"operationId": "ListMembers",
|
|
1275
|
+
"tags": [
|
|
1276
|
+
"Collaborators"
|
|
1277
|
+
],
|
|
1197
1278
|
"summary": "获取指定组织或仓库内的所有直接成员",
|
|
1198
1279
|
"parameters": [
|
|
1199
1280
|
{
|
|
@@ -1257,6 +1338,9 @@
|
|
|
1257
1338
|
{
|
|
1258
1339
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1259
1340
|
"operationId": "GetMemberAccessLevel",
|
|
1341
|
+
"tags": [
|
|
1342
|
+
"Contributors"
|
|
1343
|
+
],
|
|
1260
1344
|
"summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息",
|
|
1261
1345
|
"parameters": [
|
|
1262
1346
|
{
|
|
@@ -1290,6 +1374,9 @@
|
|
|
1290
1374
|
{
|
|
1291
1375
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1292
1376
|
"operationId": "DeleteMembers",
|
|
1377
|
+
"tags": [
|
|
1378
|
+
"Collaborators"
|
|
1379
|
+
],
|
|
1293
1380
|
"summary": "删除指定组织或仓库的直接成员, 包含两种场景: 1. 作为直接成员的用户自己退出 2. 由管理者移除指定的直接成员",
|
|
1294
1381
|
"parameters": [
|
|
1295
1382
|
{
|
|
@@ -1320,6 +1407,9 @@
|
|
|
1320
1407
|
{
|
|
1321
1408
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1322
1409
|
"operationId": "UpdateMembers",
|
|
1410
|
+
"tags": [
|
|
1411
|
+
"Collaborators"
|
|
1412
|
+
],
|
|
1323
1413
|
"summary": "更新指定组织或仓库内的直接成员权限信息",
|
|
1324
1414
|
"parameters": [
|
|
1325
1415
|
{
|
|
@@ -1359,6 +1449,9 @@
|
|
|
1359
1449
|
{
|
|
1360
1450
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1361
1451
|
"operationId": "ListMemberAccessLevel",
|
|
1452
|
+
"tags": [
|
|
1453
|
+
"Contributors"
|
|
1454
|
+
],
|
|
1362
1455
|
"summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息",
|
|
1363
1456
|
"parameters": [
|
|
1364
1457
|
{
|
|
@@ -1395,6 +1488,9 @@
|
|
|
1395
1488
|
{
|
|
1396
1489
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1397
1490
|
"operationId": "GetPinnedRepoByGroup",
|
|
1491
|
+
"tags": [
|
|
1492
|
+
"Repositories"
|
|
1493
|
+
],
|
|
1398
1494
|
"summary": "获取指定组织的仓库墙列表",
|
|
1399
1495
|
"parameters": [
|
|
1400
1496
|
{
|
|
@@ -1424,6 +1520,9 @@
|
|
|
1424
1520
|
{
|
|
1425
1521
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1426
1522
|
"operationId": "SetPinnedRepoByGroup",
|
|
1523
|
+
"tags": [
|
|
1524
|
+
"Repositories"
|
|
1525
|
+
],
|
|
1427
1526
|
"summary": "更新指定组织仓库墙",
|
|
1428
1527
|
"parameters": [
|
|
1429
1528
|
{
|
|
@@ -1465,6 +1564,9 @@
|
|
|
1465
1564
|
{
|
|
1466
1565
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
|
|
1467
1566
|
"operationId": "GetGroupSubRepos",
|
|
1567
|
+
"tags": [
|
|
1568
|
+
"Repositories"
|
|
1569
|
+
],
|
|
1468
1570
|
"summary": "查询组织下访问用户有权限查看到仓库",
|
|
1469
1571
|
"parameters": [
|
|
1470
1572
|
{
|
|
@@ -1554,6 +1656,9 @@
|
|
|
1554
1656
|
{
|
|
1555
1657
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:rw",
|
|
1556
1658
|
"operationId": "CreateRepo",
|
|
1659
|
+
"tags": [
|
|
1660
|
+
"Repositories"
|
|
1661
|
+
],
|
|
1557
1662
|
"summary": "创建仓库",
|
|
1558
1663
|
"parameters": [
|
|
1559
1664
|
{
|
|
@@ -1587,6 +1692,9 @@
|
|
|
1587
1692
|
{
|
|
1588
1693
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1589
1694
|
"operationId": "GetGroupSetting",
|
|
1695
|
+
"tags": [
|
|
1696
|
+
"Organizations"
|
|
1697
|
+
],
|
|
1590
1698
|
"summary": "获取指定组织的配置详情",
|
|
1591
1699
|
"parameters": [
|
|
1592
1700
|
{
|
|
@@ -1613,6 +1721,9 @@
|
|
|
1613
1721
|
{
|
|
1614
1722
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1615
1723
|
"operationId": "UpdateGroupSetting",
|
|
1724
|
+
"tags": [
|
|
1725
|
+
"Organizations"
|
|
1726
|
+
],
|
|
1616
1727
|
"summary": "更新指定组织的配置, 可更新内容为: 是否对外隐藏组织成员",
|
|
1617
1728
|
"parameters": [
|
|
1618
1729
|
{
|
|
@@ -1645,6 +1756,9 @@
|
|
|
1645
1756
|
{
|
|
1646
1757
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
|
|
1647
1758
|
"operationId": "ListSubgroups",
|
|
1759
|
+
"tags": [
|
|
1760
|
+
"Organizations"
|
|
1761
|
+
],
|
|
1648
1762
|
"summary": "获取指定组织下的子组织列表",
|
|
1649
1763
|
"parameters": [
|
|
1650
1764
|
{
|
|
@@ -1697,6 +1811,9 @@
|
|
|
1697
1811
|
{
|
|
1698
1812
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1699
1813
|
"operationId": "UploadLogos",
|
|
1814
|
+
"tags": [
|
|
1815
|
+
"Assets"
|
|
1816
|
+
],
|
|
1700
1817
|
"summary": "发起一个上传 logo 的请求,返回上传 cos 的 url 和 form 内容",
|
|
1701
1818
|
"parameters": [
|
|
1702
1819
|
{
|
|
@@ -1733,6 +1850,9 @@
|
|
|
1733
1850
|
{
|
|
1734
1851
|
"description": "访问令牌调用此接口需包含以下权限 \nmission-delete:rw",
|
|
1735
1852
|
"operationId": "DeleteMission",
|
|
1853
|
+
"tags": [
|
|
1854
|
+
"Missions"
|
|
1855
|
+
],
|
|
1736
1856
|
"summary": "删除指定任务集",
|
|
1737
1857
|
"parameters": [
|
|
1738
1858
|
{
|
|
@@ -1762,6 +1882,9 @@
|
|
|
1762
1882
|
{
|
|
1763
1883
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-delete:rw",
|
|
1764
1884
|
"operationId": "DeleteRegistry",
|
|
1885
|
+
"tags": [
|
|
1886
|
+
"Artifactory"
|
|
1887
|
+
],
|
|
1765
1888
|
"summary": "删除制品仓库",
|
|
1766
1889
|
"parameters": [
|
|
1767
1890
|
{
|
|
@@ -1791,6 +1914,9 @@
|
|
|
1791
1914
|
{
|
|
1792
1915
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-delete:rw",
|
|
1793
1916
|
"operationId": "DeleteRepo",
|
|
1917
|
+
"tags": [
|
|
1918
|
+
"Repositories"
|
|
1919
|
+
],
|
|
1794
1920
|
"summary": "删除指定仓库",
|
|
1795
1921
|
"parameters": [
|
|
1796
1922
|
{
|
|
@@ -1820,6 +1946,9 @@
|
|
|
1820
1946
|
{
|
|
1821
1947
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-basic-info:r",
|
|
1822
1948
|
"operationId": "GetRepo",
|
|
1949
|
+
"tags": [
|
|
1950
|
+
"Repositories"
|
|
1951
|
+
],
|
|
1823
1952
|
"summary": "获取指定仓库信息",
|
|
1824
1953
|
"parameters": [
|
|
1825
1954
|
{
|
|
@@ -1846,6 +1975,9 @@
|
|
|
1846
1975
|
{
|
|
1847
1976
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
1848
1977
|
"operationId": "UpdateRepo",
|
|
1978
|
+
"tags": [
|
|
1979
|
+
"Repositories"
|
|
1980
|
+
],
|
|
1849
1981
|
"summary": "更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证",
|
|
1850
1982
|
"parameters": [
|
|
1851
1983
|
{
|
|
@@ -1878,6 +2010,9 @@
|
|
|
1878
2010
|
{
|
|
1879
2011
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:r",
|
|
1880
2012
|
"operationId": "GetBuildLogs",
|
|
2013
|
+
"tags": [
|
|
2014
|
+
"Build"
|
|
2015
|
+
],
|
|
1881
2016
|
"summary": "查询流水线构建列表",
|
|
1882
2017
|
"parameters": [
|
|
1883
2018
|
{
|
|
@@ -1976,6 +2111,9 @@
|
|
|
1976
2111
|
{
|
|
1977
2112
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:rw",
|
|
1978
2113
|
"operationId": "StartBuild",
|
|
2114
|
+
"tags": [
|
|
2115
|
+
"Build"
|
|
2116
|
+
],
|
|
1979
2117
|
"summary": "开始一个构建",
|
|
1980
2118
|
"parameters": [
|
|
1981
2119
|
{
|
|
@@ -2014,6 +2152,9 @@
|
|
|
2014
2152
|
{
|
|
2015
2153
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:r",
|
|
2016
2154
|
"operationId": "GetBuildStatus",
|
|
2155
|
+
"tags": [
|
|
2156
|
+
"Build"
|
|
2157
|
+
],
|
|
2017
2158
|
"summary": "查询流水线构建状态",
|
|
2018
2159
|
"parameters": [
|
|
2019
2160
|
{
|
|
@@ -2047,6 +2188,9 @@
|
|
|
2047
2188
|
{
|
|
2048
2189
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:rw",
|
|
2049
2190
|
"operationId": "StopBuild",
|
|
2191
|
+
"tags": [
|
|
2192
|
+
"Build"
|
|
2193
|
+
],
|
|
2050
2194
|
"summary": "停止一个构建",
|
|
2051
2195
|
"parameters": [
|
|
2052
2196
|
{
|
|
@@ -2083,6 +2227,9 @@
|
|
|
2083
2227
|
{
|
|
2084
2228
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
2085
2229
|
"operationId": "GetCommitAssets",
|
|
2230
|
+
"tags": [
|
|
2231
|
+
"Assets"
|
|
2232
|
+
],
|
|
2086
2233
|
"summary": "发起一个获取 commits 附件的请求,返回内容或者 302 到某个地址",
|
|
2087
2234
|
"parameters": [
|
|
2088
2235
|
{
|
|
@@ -2114,6 +2261,9 @@
|
|
|
2114
2261
|
{
|
|
2115
2262
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
2116
2263
|
"operationId": "GetRepoContributorTrend",
|
|
2264
|
+
"tags": [
|
|
2265
|
+
"RepoContributor"
|
|
2266
|
+
],
|
|
2117
2267
|
"summary": "查询仓库贡献者前 100 名的详细趋势数据",
|
|
2118
2268
|
"parameters": [
|
|
2119
2269
|
{
|
|
@@ -2166,6 +2316,9 @@
|
|
|
2166
2316
|
{
|
|
2167
2317
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
2168
2318
|
"operationId": "GetFiles",
|
|
2319
|
+
"tags": [
|
|
2320
|
+
"Assets"
|
|
2321
|
+
],
|
|
2169
2322
|
"summary": "发起一个获取 files 的请求,返回内容或者 302 到某个地址",
|
|
2170
2323
|
"parameters": [
|
|
2171
2324
|
{
|
|
@@ -2211,6 +2364,9 @@
|
|
|
2211
2364
|
{
|
|
2212
2365
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
2213
2366
|
"operationId": "PutFiles",
|
|
2367
|
+
"tags": [
|
|
2368
|
+
"Assets"
|
|
2369
|
+
],
|
|
2214
2370
|
"summary": "发起一个确认 files 的请求,上传的图片要调用此接口才能生效",
|
|
2215
2371
|
"parameters": [
|
|
2216
2372
|
{
|
|
@@ -2263,6 +2419,9 @@
|
|
|
2263
2419
|
{
|
|
2264
2420
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-base-info:r",
|
|
2265
2421
|
"operationId": "ListForksRepos",
|
|
2422
|
+
"tags": [
|
|
2423
|
+
"Repositories"
|
|
2424
|
+
],
|
|
2266
2425
|
"summary": "获取指定仓库的 fork 列表",
|
|
2267
2426
|
"parameters": [
|
|
2268
2427
|
{
|
|
@@ -2308,6 +2467,9 @@
|
|
|
2308
2467
|
{
|
|
2309
2468
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:rw",
|
|
2310
2469
|
"operationId": "CreateAFork",
|
|
2470
|
+
"tags": [
|
|
2471
|
+
"Repositories"
|
|
2472
|
+
],
|
|
2311
2473
|
"summary": "fork 仓库",
|
|
2312
2474
|
"parameters": [
|
|
2313
2475
|
{
|
|
@@ -2340,6 +2502,9 @@
|
|
|
2340
2502
|
{
|
|
2341
2503
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
2342
2504
|
"operationId": "CreateBlob",
|
|
2505
|
+
"tags": [
|
|
2506
|
+
"Git"
|
|
2507
|
+
],
|
|
2343
2508
|
"summary": "创建一个 blob",
|
|
2344
2509
|
"parameters": [
|
|
2345
2510
|
{
|
|
@@ -2387,6 +2552,9 @@
|
|
|
2387
2552
|
{
|
|
2388
2553
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
2389
2554
|
"operationId": "ListBranches",
|
|
2555
|
+
"tags": [
|
|
2556
|
+
"Git"
|
|
2557
|
+
],
|
|
2390
2558
|
"summary": "查询分支列表",
|
|
2391
2559
|
"parameters": [
|
|
2392
2560
|
{
|
|
@@ -2442,6 +2610,9 @@
|
|
|
2442
2610
|
{
|
|
2443
2611
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
2444
2612
|
"operationId": "CreateBranch",
|
|
2613
|
+
"tags": [
|
|
2614
|
+
"Git"
|
|
2615
|
+
],
|
|
2445
2616
|
"summary": "创建新分支",
|
|
2446
2617
|
"parameters": [
|
|
2447
2618
|
{
|
|
@@ -2486,6 +2657,9 @@
|
|
|
2486
2657
|
{
|
|
2487
2658
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
2488
2659
|
"operationId": "DeleteBranch",
|
|
2660
|
+
"tags": [
|
|
2661
|
+
"Git"
|
|
2662
|
+
],
|
|
2489
2663
|
"summary": "删除指定分支",
|
|
2490
2664
|
"parameters": [
|
|
2491
2665
|
{
|
|
@@ -2528,6 +2702,9 @@
|
|
|
2528
2702
|
{
|
|
2529
2703
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
2530
2704
|
"operationId": "GetBranch",
|
|
2705
|
+
"tags": [
|
|
2706
|
+
"Git"
|
|
2707
|
+
],
|
|
2531
2708
|
"summary": "查询指定分支",
|
|
2532
2709
|
"parameters": [
|
|
2533
2710
|
{
|
|
@@ -2572,6 +2749,9 @@
|
|
|
2572
2749
|
{
|
|
2573
2750
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
2574
2751
|
"operationId": "GetCommitAnnotationsInBatch",
|
|
2752
|
+
"tags": [
|
|
2753
|
+
"Git"
|
|
2754
|
+
],
|
|
2575
2755
|
"summary": "查询指定 commit 的元数据",
|
|
2576
2756
|
"parameters": [
|
|
2577
2757
|
{
|
|
@@ -2622,6 +2802,9 @@
|
|
|
2622
2802
|
{
|
|
2623
2803
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
2624
2804
|
"operationId": "GetCommitAnnotations",
|
|
2805
|
+
"tags": [
|
|
2806
|
+
"Git"
|
|
2807
|
+
],
|
|
2625
2808
|
"summary": "查询指定 commit 的元数据",
|
|
2626
2809
|
"parameters": [
|
|
2627
2810
|
{
|
|
@@ -2670,6 +2853,9 @@
|
|
|
2670
2853
|
{
|
|
2671
2854
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
2672
2855
|
"operationId": "PutCommitAnnotations",
|
|
2856
|
+
"tags": [
|
|
2857
|
+
"Git"
|
|
2858
|
+
],
|
|
2673
2859
|
"summary": "设定指定 commit 的元数据",
|
|
2674
2860
|
"parameters": [
|
|
2675
2861
|
{
|
|
@@ -2721,6 +2907,9 @@
|
|
|
2721
2907
|
{
|
|
2722
2908
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
2723
2909
|
"operationId": "DeleteCommitAnnotation",
|
|
2910
|
+
"tags": [
|
|
2911
|
+
"Git"
|
|
2912
|
+
],
|
|
2724
2913
|
"summary": "删除指定 commit 的元数据",
|
|
2725
2914
|
"parameters": [
|
|
2726
2915
|
{
|
|
@@ -2770,6 +2959,9 @@
|
|
|
2770
2959
|
{
|
|
2771
2960
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
2772
2961
|
"operationId": "GetCommitAssetsBySha",
|
|
2962
|
+
"tags": [
|
|
2963
|
+
"Git"
|
|
2964
|
+
],
|
|
2773
2965
|
"summary": "查询指定 commit 的附件",
|
|
2774
2966
|
"parameters": [
|
|
2775
2967
|
{
|
|
@@ -2818,6 +3010,9 @@
|
|
|
2818
3010
|
{
|
|
2819
3011
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
2820
3012
|
"operationId": "PostCommitAssetUploadConfirmation",
|
|
3013
|
+
"tags": [
|
|
3014
|
+
"Git"
|
|
3015
|
+
],
|
|
2821
3016
|
"summary": "确认 Commit asset 上传完成",
|
|
2822
3017
|
"parameters": [
|
|
2823
3018
|
{
|
|
@@ -2874,6 +3069,9 @@
|
|
|
2874
3069
|
{
|
|
2875
3070
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
2876
3071
|
"operationId": "PostCommitAssetUploadURL",
|
|
3072
|
+
"tags": [
|
|
3073
|
+
"Git"
|
|
3074
|
+
],
|
|
2877
3075
|
"summary": "新增一个 Commit asset",
|
|
2878
3076
|
"parameters": [
|
|
2879
3077
|
{
|
|
@@ -2928,6 +3126,9 @@
|
|
|
2928
3126
|
{
|
|
2929
3127
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
2930
3128
|
"operationId": "DeleteCommitAsset",
|
|
3129
|
+
"tags": [
|
|
3130
|
+
"Git"
|
|
3131
|
+
],
|
|
2931
3132
|
"summary": "删除指定 commit 的附件",
|
|
2932
3133
|
"parameters": [
|
|
2933
3134
|
{
|
|
@@ -2977,6 +3178,9 @@
|
|
|
2977
3178
|
{
|
|
2978
3179
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
2979
3180
|
"operationId": "GetCommitStatuses",
|
|
3181
|
+
"tags": [
|
|
3182
|
+
"Git"
|
|
3183
|
+
],
|
|
2980
3184
|
"summary": "查询指定 commit 的 check statuses",
|
|
2981
3185
|
"parameters": [
|
|
2982
3186
|
{
|
|
@@ -3025,6 +3229,9 @@
|
|
|
3025
3229
|
{
|
|
3026
3230
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3027
3231
|
"operationId": "ListCommits",
|
|
3232
|
+
"tags": [
|
|
3233
|
+
"Git"
|
|
3234
|
+
],
|
|
3028
3235
|
"summary": "查询 commit 列表",
|
|
3029
3236
|
"parameters": [
|
|
3030
3237
|
{
|
|
@@ -3110,6 +3317,9 @@
|
|
|
3110
3317
|
{
|
|
3111
3318
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3112
3319
|
"operationId": "GetCommit",
|
|
3320
|
+
"tags": [
|
|
3321
|
+
"Git"
|
|
3322
|
+
],
|
|
3113
3323
|
"summary": "查询指定 commit",
|
|
3114
3324
|
"parameters": [
|
|
3115
3325
|
{
|
|
@@ -3155,6 +3365,9 @@
|
|
|
3155
3365
|
{
|
|
3156
3366
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3157
3367
|
"operationId": "GetCompareCommits",
|
|
3368
|
+
"tags": [
|
|
3369
|
+
"Git"
|
|
3370
|
+
],
|
|
3158
3371
|
"summary": "对比 base...head",
|
|
3159
3372
|
"parameters": [
|
|
3160
3373
|
{
|
|
@@ -3200,6 +3413,9 @@
|
|
|
3200
3413
|
{
|
|
3201
3414
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3202
3415
|
"operationId": "GetContent",
|
|
3416
|
+
"tags": [
|
|
3417
|
+
"Git"
|
|
3418
|
+
],
|
|
3203
3419
|
"summary": "查询仓库文件列表或文件",
|
|
3204
3420
|
"parameters": [
|
|
3205
3421
|
{
|
|
@@ -3251,6 +3467,9 @@
|
|
|
3251
3467
|
{
|
|
3252
3468
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3253
3469
|
"operationId": "GetHead",
|
|
3470
|
+
"tags": [
|
|
3471
|
+
"Git"
|
|
3472
|
+
],
|
|
3254
3473
|
"summary": "获取仓库默认分支",
|
|
3255
3474
|
"parameters": [
|
|
3256
3475
|
{
|
|
@@ -3289,6 +3508,9 @@
|
|
|
3289
3508
|
{
|
|
3290
3509
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
3291
3510
|
"operationId": "DeleteTagAnnotation",
|
|
3511
|
+
"tags": [
|
|
3512
|
+
"Git"
|
|
3513
|
+
],
|
|
3292
3514
|
"summary": "删除指定 tag 的元数据",
|
|
3293
3515
|
"parameters": [
|
|
3294
3516
|
{
|
|
@@ -3331,6 +3553,9 @@
|
|
|
3331
3553
|
{
|
|
3332
3554
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
3333
3555
|
"operationId": "GetTagAnnotations",
|
|
3556
|
+
"tags": [
|
|
3557
|
+
"Git"
|
|
3558
|
+
],
|
|
3334
3559
|
"summary": "查询指定 tag 的元数据",
|
|
3335
3560
|
"parameters": [
|
|
3336
3561
|
{
|
|
@@ -3379,6 +3604,9 @@
|
|
|
3379
3604
|
{
|
|
3380
3605
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
3381
3606
|
"operationId": "PutTagAnnotations",
|
|
3607
|
+
"tags": [
|
|
3608
|
+
"Git"
|
|
3609
|
+
],
|
|
3382
3610
|
"summary": "设定指定 tag 的元数据",
|
|
3383
3611
|
"parameters": [
|
|
3384
3612
|
{
|
|
@@ -3430,6 +3658,9 @@
|
|
|
3430
3658
|
{
|
|
3431
3659
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
3432
3660
|
"operationId": "ListTags",
|
|
3661
|
+
"tags": [
|
|
3662
|
+
"Git"
|
|
3663
|
+
],
|
|
3433
3664
|
"summary": "查询标签列表",
|
|
3434
3665
|
"parameters": [
|
|
3435
3666
|
{
|
|
@@ -3485,6 +3716,9 @@
|
|
|
3485
3716
|
{
|
|
3486
3717
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
3487
3718
|
"operationId": "CreateTag",
|
|
3719
|
+
"tags": [
|
|
3720
|
+
"Git"
|
|
3721
|
+
],
|
|
3488
3722
|
"summary": "创建一个 tag",
|
|
3489
3723
|
"parameters": [
|
|
3490
3724
|
{
|
|
@@ -3532,6 +3766,9 @@
|
|
|
3532
3766
|
{
|
|
3533
3767
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
3534
3768
|
"operationId": "DeleteTag",
|
|
3769
|
+
"tags": [
|
|
3770
|
+
"Git"
|
|
3771
|
+
],
|
|
3535
3772
|
"summary": "删除指定标签",
|
|
3536
3773
|
"parameters": [
|
|
3537
3774
|
{
|
|
@@ -3574,6 +3811,9 @@
|
|
|
3574
3811
|
{
|
|
3575
3812
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
3576
3813
|
"operationId": "GetTag",
|
|
3814
|
+
"tags": [
|
|
3815
|
+
"Git"
|
|
3816
|
+
],
|
|
3577
3817
|
"summary": "查询指定 Tag",
|
|
3578
3818
|
"parameters": [
|
|
3579
3819
|
{
|
|
@@ -3619,6 +3859,9 @@
|
|
|
3619
3859
|
{
|
|
3620
3860
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
3621
3861
|
"operationId": "GetImgs",
|
|
3862
|
+
"tags": [
|
|
3863
|
+
"Assets"
|
|
3864
|
+
],
|
|
3622
3865
|
"summary": "发起一个获取 imgs 的请求,返回内容或者 302 到某个地址",
|
|
3623
3866
|
"parameters": [
|
|
3624
3867
|
{
|
|
@@ -3657,6 +3900,9 @@
|
|
|
3657
3900
|
{
|
|
3658
3901
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
3659
3902
|
"operationId": "PutImgs",
|
|
3903
|
+
"tags": [
|
|
3904
|
+
"Assets"
|
|
3905
|
+
],
|
|
3660
3906
|
"summary": "发起一个确认 imgs 的请求,上传的图片要调用此接口才能生效",
|
|
3661
3907
|
"parameters": [
|
|
3662
3908
|
{
|
|
@@ -3702,6 +3948,9 @@
|
|
|
3702
3948
|
{
|
|
3703
3949
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
3704
3950
|
"operationId": "ListInheritMembers",
|
|
3951
|
+
"tags": [
|
|
3952
|
+
"Collaborators"
|
|
3953
|
+
],
|
|
3705
3954
|
"summary": "获取指定组织或仓库内的继承成员",
|
|
3706
3955
|
"parameters": [
|
|
3707
3956
|
{
|
|
@@ -3765,6 +4014,9 @@
|
|
|
3765
4014
|
{
|
|
3766
4015
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
3767
4016
|
"operationId": "ListIssues",
|
|
4017
|
+
"tags": [
|
|
4018
|
+
"Issues"
|
|
4019
|
+
],
|
|
3768
4020
|
"summary": "查询仓库的 Issues",
|
|
3769
4021
|
"parameters": [
|
|
3770
4022
|
{
|
|
@@ -3874,6 +4126,9 @@
|
|
|
3874
4126
|
{
|
|
3875
4127
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
3876
4128
|
"operationId": "CreateIssue",
|
|
4129
|
+
"tags": [
|
|
4130
|
+
"Issues"
|
|
4131
|
+
],
|
|
3877
4132
|
"summary": "创建一个 Issue",
|
|
3878
4133
|
"parameters": [
|
|
3879
4134
|
{
|
|
@@ -3921,6 +4176,9 @@
|
|
|
3921
4176
|
{
|
|
3922
4177
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
3923
4178
|
"operationId": "GetIssue",
|
|
4179
|
+
"tags": [
|
|
4180
|
+
"Issues"
|
|
4181
|
+
],
|
|
3924
4182
|
"summary": "查询指定的 Issues",
|
|
3925
4183
|
"parameters": [
|
|
3926
4184
|
{
|
|
@@ -3966,6 +4224,9 @@
|
|
|
3966
4224
|
{
|
|
3967
4225
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
3968
4226
|
"operationId": "UpdateIssue",
|
|
4227
|
+
"tags": [
|
|
4228
|
+
"Issues"
|
|
4229
|
+
],
|
|
3969
4230
|
"summary": "更新一个 Issue",
|
|
3970
4231
|
"parameters": [
|
|
3971
4232
|
{
|
|
@@ -4020,6 +4281,9 @@
|
|
|
4020
4281
|
{
|
|
4021
4282
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
4022
4283
|
"operationId": "ListIssueComments",
|
|
4284
|
+
"tags": [
|
|
4285
|
+
"Issues"
|
|
4286
|
+
],
|
|
4023
4287
|
"summary": "查询仓库的 Issue 评论列表",
|
|
4024
4288
|
"parameters": [
|
|
4025
4289
|
{
|
|
@@ -4082,6 +4346,9 @@
|
|
|
4082
4346
|
{
|
|
4083
4347
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4084
4348
|
"operationId": "PostIssueComment",
|
|
4349
|
+
"tags": [
|
|
4350
|
+
"Issues"
|
|
4351
|
+
],
|
|
4085
4352
|
"summary": "创建一个 Issue Comment",
|
|
4086
4353
|
"parameters": [
|
|
4087
4354
|
{
|
|
@@ -4136,6 +4403,9 @@
|
|
|
4136
4403
|
{
|
|
4137
4404
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
4138
4405
|
"operationId": "GetIssueComment",
|
|
4406
|
+
"tags": [
|
|
4407
|
+
"Issues"
|
|
4408
|
+
],
|
|
4139
4409
|
"summary": "获取一个 Issue Comment",
|
|
4140
4410
|
"parameters": [
|
|
4141
4411
|
{
|
|
@@ -4188,6 +4458,9 @@
|
|
|
4188
4458
|
{
|
|
4189
4459
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4190
4460
|
"operationId": "PatchIssueComment",
|
|
4461
|
+
"tags": [
|
|
4462
|
+
"Issues"
|
|
4463
|
+
],
|
|
4191
4464
|
"summary": "修改一个 Issue Comment",
|
|
4192
4465
|
"parameters": [
|
|
4193
4466
|
{
|
|
@@ -4249,6 +4522,9 @@
|
|
|
4249
4522
|
{
|
|
4250
4523
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4251
4524
|
"operationId": "DeleteIssueLabels",
|
|
4525
|
+
"tags": [
|
|
4526
|
+
"Issues"
|
|
4527
|
+
],
|
|
4252
4528
|
"summary": "清空 Issue 标签",
|
|
4253
4529
|
"parameters": [
|
|
4254
4530
|
{
|
|
@@ -4285,10 +4561,15 @@
|
|
|
4285
4561
|
},
|
|
4286
4562
|
"path": "/{repo}/-/issues/{number}/labels",
|
|
4287
4563
|
"method": "delete"
|
|
4288
|
-
}
|
|
4564
|
+
}
|
|
4565
|
+
],
|
|
4566
|
+
"repo.issues.labels.list": [
|
|
4289
4567
|
{
|
|
4290
4568
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
4291
4569
|
"operationId": "ListIssueLabels",
|
|
4570
|
+
"tags": [
|
|
4571
|
+
"Issues"
|
|
4572
|
+
],
|
|
4292
4573
|
"summary": "查询 Issue 的标签(label) 列表",
|
|
4293
4574
|
"parameters": [
|
|
4294
4575
|
{
|
|
@@ -4345,10 +4626,15 @@
|
|
|
4345
4626
|
},
|
|
4346
4627
|
"path": "/{repo}/-/issues/{number}/labels",
|
|
4347
4628
|
"method": "get"
|
|
4348
|
-
}
|
|
4629
|
+
}
|
|
4630
|
+
],
|
|
4631
|
+
"repo.issues.labels.post": [
|
|
4349
4632
|
{
|
|
4350
4633
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4351
4634
|
"operationId": "PostIssueLabels",
|
|
4635
|
+
"tags": [
|
|
4636
|
+
"Issues"
|
|
4637
|
+
],
|
|
4352
4638
|
"summary": "新增 Issue 标签",
|
|
4353
4639
|
"parameters": [
|
|
4354
4640
|
{
|
|
@@ -4397,10 +4683,15 @@
|
|
|
4397
4683
|
},
|
|
4398
4684
|
"path": "/{repo}/-/issues/{number}/labels",
|
|
4399
4685
|
"method": "post"
|
|
4400
|
-
}
|
|
4686
|
+
}
|
|
4687
|
+
],
|
|
4688
|
+
"repo.issues.labels.put": [
|
|
4401
4689
|
{
|
|
4402
4690
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4403
4691
|
"operationId": "PutIssueLabels",
|
|
4692
|
+
"tags": [
|
|
4693
|
+
"Issues"
|
|
4694
|
+
],
|
|
4404
4695
|
"summary": "设置 Issue 标签",
|
|
4405
4696
|
"parameters": [
|
|
4406
4697
|
{
|
|
@@ -4455,6 +4746,9 @@
|
|
|
4455
4746
|
{
|
|
4456
4747
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4457
4748
|
"operationId": "DeleteIssueLabel",
|
|
4749
|
+
"tags": [
|
|
4750
|
+
"Issues"
|
|
4751
|
+
],
|
|
4458
4752
|
"summary": "删除 Issue 标签",
|
|
4459
4753
|
"parameters": [
|
|
4460
4754
|
{
|
|
@@ -4507,6 +4801,9 @@
|
|
|
4507
4801
|
{
|
|
4508
4802
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
4509
4803
|
"operationId": "ListLabels",
|
|
4804
|
+
"tags": [
|
|
4805
|
+
"RepoLabels"
|
|
4806
|
+
],
|
|
4510
4807
|
"summary": "查询仓库的标签(label) 列表",
|
|
4511
4808
|
"parameters": [
|
|
4512
4809
|
{
|
|
@@ -4568,6 +4865,9 @@
|
|
|
4568
4865
|
{
|
|
4569
4866
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4570
4867
|
"operationId": "PostLabel",
|
|
4868
|
+
"tags": [
|
|
4869
|
+
"RepoLabels"
|
|
4870
|
+
],
|
|
4571
4871
|
"summary": "创建一个 标签",
|
|
4572
4872
|
"parameters": [
|
|
4573
4873
|
{
|
|
@@ -4615,6 +4915,9 @@
|
|
|
4615
4915
|
{
|
|
4616
4916
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4617
4917
|
"operationId": "DeleteLabel",
|
|
4918
|
+
"tags": [
|
|
4919
|
+
"RepoLabels"
|
|
4920
|
+
],
|
|
4618
4921
|
"summary": "删除指定的仓库标签 label",
|
|
4619
4922
|
"parameters": [
|
|
4620
4923
|
{
|
|
@@ -4657,6 +4960,9 @@
|
|
|
4657
4960
|
{
|
|
4658
4961
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4659
4962
|
"operationId": "PatchLabel",
|
|
4963
|
+
"tags": [
|
|
4964
|
+
"RepoLabels"
|
|
4965
|
+
],
|
|
4660
4966
|
"summary": "更新标签信息",
|
|
4661
4967
|
"parameters": [
|
|
4662
4968
|
{
|
|
@@ -4711,6 +5017,9 @@
|
|
|
4711
5017
|
{
|
|
4712
5018
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
4713
5019
|
"operationId": "ListAllMembers",
|
|
5020
|
+
"tags": [
|
|
5021
|
+
"Collaborators"
|
|
5022
|
+
],
|
|
4714
5023
|
"summary": "获取指定组织或仓库内的有效成员列表,包含继承成员",
|
|
4715
5024
|
"parameters": [
|
|
4716
5025
|
{
|
|
@@ -4799,6 +5108,9 @@
|
|
|
4799
5108
|
{
|
|
4800
5109
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
4801
5110
|
"operationId": "ListMembers",
|
|
5111
|
+
"tags": [
|
|
5112
|
+
"Collaborators"
|
|
5113
|
+
],
|
|
4802
5114
|
"summary": "获取指定组织或仓库内的所有直接成员",
|
|
4803
5115
|
"parameters": [
|
|
4804
5116
|
{
|
|
@@ -4862,6 +5174,9 @@
|
|
|
4862
5174
|
{
|
|
4863
5175
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
4864
5176
|
"operationId": "GetMemberAccessLevel",
|
|
5177
|
+
"tags": [
|
|
5178
|
+
"Contributors"
|
|
5179
|
+
],
|
|
4865
5180
|
"summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息",
|
|
4866
5181
|
"parameters": [
|
|
4867
5182
|
{
|
|
@@ -4895,6 +5210,9 @@
|
|
|
4895
5210
|
{
|
|
4896
5211
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
4897
5212
|
"operationId": "DeleteMembers",
|
|
5213
|
+
"tags": [
|
|
5214
|
+
"Collaborators"
|
|
5215
|
+
],
|
|
4898
5216
|
"summary": "删除指定组织或仓库的直接成员, 包含两种场景: 1. 作为直接成员的用户自己退出 2. 由管理者移除指定的直接成员",
|
|
4899
5217
|
"parameters": [
|
|
4900
5218
|
{
|
|
@@ -4925,6 +5243,9 @@
|
|
|
4925
5243
|
{
|
|
4926
5244
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
4927
5245
|
"operationId": "UpdateMembers",
|
|
5246
|
+
"tags": [
|
|
5247
|
+
"Collaborators"
|
|
5248
|
+
],
|
|
4928
5249
|
"summary": "更新指定组织或仓库内的直接成员权限信息",
|
|
4929
5250
|
"parameters": [
|
|
4930
5251
|
{
|
|
@@ -4964,6 +5285,9 @@
|
|
|
4964
5285
|
{
|
|
4965
5286
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
4966
5287
|
"operationId": "ListMemberAccessLevel",
|
|
5288
|
+
"tags": [
|
|
5289
|
+
"Contributors"
|
|
5290
|
+
],
|
|
4967
5291
|
"summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息",
|
|
4968
5292
|
"parameters": [
|
|
4969
5293
|
{
|
|
@@ -5000,6 +5324,9 @@
|
|
|
5000
5324
|
{
|
|
5001
5325
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
5002
5326
|
"operationId": "ListOutsideCollaborators",
|
|
5327
|
+
"tags": [
|
|
5328
|
+
"Collaborators"
|
|
5329
|
+
],
|
|
5003
5330
|
"summary": "获取指定仓库内的外部贡献者",
|
|
5004
5331
|
"parameters": [
|
|
5005
5332
|
{
|
|
@@ -5062,6 +5389,9 @@
|
|
|
5062
5389
|
{
|
|
5063
5390
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
5064
5391
|
"operationId": "DeleteOutsideCollaborators",
|
|
5392
|
+
"tags": [
|
|
5393
|
+
"Collaborators"
|
|
5394
|
+
],
|
|
5065
5395
|
"summary": "删除指定仓库的外部贡献者, 包含两种场景: 1. 作为外部贡献者的用户自己退出仓库 2. 由仓库管理者移除指定的外部贡献者",
|
|
5066
5396
|
"parameters": [
|
|
5067
5397
|
{
|
|
@@ -5092,6 +5422,9 @@
|
|
|
5092
5422
|
{
|
|
5093
5423
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
5094
5424
|
"operationId": "UpdateOutsideCollaborators",
|
|
5425
|
+
"tags": [
|
|
5426
|
+
"Collaborators"
|
|
5427
|
+
],
|
|
5095
5428
|
"summary": "更新指定仓库的外部贡献者权限信息",
|
|
5096
5429
|
"parameters": [
|
|
5097
5430
|
{
|
|
@@ -5134,6 +5467,9 @@
|
|
|
5134
5467
|
{
|
|
5135
5468
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
|
|
5136
5469
|
"operationId": "ListPullsByNumbers",
|
|
5470
|
+
"tags": [
|
|
5471
|
+
"Pulls"
|
|
5472
|
+
],
|
|
5137
5473
|
"summary": "[openapi] 根据numbers查询 Pull 列表",
|
|
5138
5474
|
"parameters": [
|
|
5139
5475
|
{
|
|
@@ -5182,6 +5518,9 @@
|
|
|
5182
5518
|
{
|
|
5183
5519
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
|
|
5184
5520
|
"operationId": "ListPulls",
|
|
5521
|
+
"tags": [
|
|
5522
|
+
"Pulls"
|
|
5523
|
+
],
|
|
5185
5524
|
"summary": "[openapi] 查询 Pull 列表",
|
|
5186
5525
|
"parameters": [
|
|
5187
5526
|
{
|
|
@@ -5262,6 +5601,9 @@
|
|
|
5262
5601
|
{
|
|
5263
5602
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
|
|
5264
5603
|
"operationId": "PostPull",
|
|
5604
|
+
"tags": [
|
|
5605
|
+
"Pulls"
|
|
5606
|
+
],
|
|
5265
5607
|
"summary": "[openapi] 新增一个 Pull",
|
|
5266
5608
|
"parameters": [
|
|
5267
5609
|
{
|
|
@@ -5309,6 +5651,9 @@
|
|
|
5309
5651
|
{
|
|
5310
5652
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
|
|
5311
5653
|
"operationId": "GetPull",
|
|
5654
|
+
"tags": [
|
|
5655
|
+
"Pulls"
|
|
5656
|
+
],
|
|
5312
5657
|
"summary": "[openapi] 查询指定 Pull",
|
|
5313
5658
|
"parameters": [
|
|
5314
5659
|
{
|
|
@@ -5354,6 +5699,9 @@
|
|
|
5354
5699
|
{
|
|
5355
5700
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
|
|
5356
5701
|
"operationId": "PatchPull",
|
|
5702
|
+
"tags": [
|
|
5703
|
+
"Pulls"
|
|
5704
|
+
],
|
|
5357
5705
|
"summary": "[openapi] 更新一个 Pull Request",
|
|
5358
5706
|
"parameters": [
|
|
5359
5707
|
{
|
|
@@ -5408,6 +5756,9 @@
|
|
|
5408
5756
|
{
|
|
5409
5757
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
5410
5758
|
"operationId": "ListPullComments",
|
|
5759
|
+
"tags": [
|
|
5760
|
+
"Pulls"
|
|
5761
|
+
],
|
|
5411
5762
|
"summary": "[openapi] 查询 Pull Comments 列表",
|
|
5412
5763
|
"parameters": [
|
|
5413
5764
|
{
|
|
@@ -5470,6 +5821,9 @@
|
|
|
5470
5821
|
{
|
|
5471
5822
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5472
5823
|
"operationId": "PostPullComment",
|
|
5824
|
+
"tags": [
|
|
5825
|
+
"Pulls"
|
|
5826
|
+
],
|
|
5473
5827
|
"summary": "[openapi] 新增一个 Pull Comment",
|
|
5474
5828
|
"parameters": [
|
|
5475
5829
|
{
|
|
@@ -5521,6 +5875,9 @@
|
|
|
5521
5875
|
{
|
|
5522
5876
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5523
5877
|
"operationId": "DeletePullLabels",
|
|
5878
|
+
"tags": [
|
|
5879
|
+
"Pulls"
|
|
5880
|
+
],
|
|
5524
5881
|
"summary": "清空 Pull 标签",
|
|
5525
5882
|
"parameters": [
|
|
5526
5883
|
{
|
|
@@ -5563,6 +5920,9 @@
|
|
|
5563
5920
|
{
|
|
5564
5921
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
5565
5922
|
"operationId": "ListPullLabels",
|
|
5923
|
+
"tags": [
|
|
5924
|
+
"Pulls"
|
|
5925
|
+
],
|
|
5566
5926
|
"summary": "查询 Pull 的标签(label) 列表",
|
|
5567
5927
|
"parameters": [
|
|
5568
5928
|
{
|
|
@@ -5625,6 +5985,9 @@
|
|
|
5625
5985
|
{
|
|
5626
5986
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5627
5987
|
"operationId": "PostPullLabels",
|
|
5988
|
+
"tags": [
|
|
5989
|
+
"Pulls"
|
|
5990
|
+
],
|
|
5628
5991
|
"summary": "新增 Pull 标签",
|
|
5629
5992
|
"parameters": [
|
|
5630
5993
|
{
|
|
@@ -5679,6 +6042,9 @@
|
|
|
5679
6042
|
{
|
|
5680
6043
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5681
6044
|
"operationId": "PutPullLabels",
|
|
6045
|
+
"tags": [
|
|
6046
|
+
"Pulls"
|
|
6047
|
+
],
|
|
5682
6048
|
"summary": "设置 Pull 标签",
|
|
5683
6049
|
"parameters": [
|
|
5684
6050
|
{
|
|
@@ -5733,6 +6099,9 @@
|
|
|
5733
6099
|
{
|
|
5734
6100
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5735
6101
|
"operationId": "DeletePullLabel",
|
|
6102
|
+
"tags": [
|
|
6103
|
+
"Pulls"
|
|
6104
|
+
],
|
|
5736
6105
|
"summary": "删除 Pull 标签",
|
|
5737
6106
|
"parameters": [
|
|
5738
6107
|
{
|
|
@@ -5785,6 +6154,9 @@
|
|
|
5785
6154
|
{
|
|
5786
6155
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
|
|
5787
6156
|
"operationId": "MergePull",
|
|
6157
|
+
"tags": [
|
|
6158
|
+
"Pulls"
|
|
6159
|
+
],
|
|
5788
6160
|
"summary": "[openapi] 合并一个 Pull Request",
|
|
5789
6161
|
"parameters": [
|
|
5790
6162
|
{
|
|
@@ -5839,6 +6211,9 @@
|
|
|
5839
6211
|
{
|
|
5840
6212
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5841
6213
|
"operationId": "PostPullReview",
|
|
6214
|
+
"tags": [
|
|
6215
|
+
"Pulls"
|
|
6216
|
+
],
|
|
5842
6217
|
"summary": "新增一次 pull request 评审",
|
|
5843
6218
|
"parameters": [
|
|
5844
6219
|
{
|
|
@@ -5896,6 +6271,9 @@
|
|
|
5896
6271
|
{
|
|
5897
6272
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
5898
6273
|
"operationId": "ListReleases",
|
|
6274
|
+
"tags": [
|
|
6275
|
+
"Releases"
|
|
6276
|
+
],
|
|
5899
6277
|
"summary": "[openapi] 查询 release 列表",
|
|
5900
6278
|
"parameters": [
|
|
5901
6279
|
{
|
|
@@ -5951,6 +6329,9 @@
|
|
|
5951
6329
|
{
|
|
5952
6330
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
5953
6331
|
"operationId": "PostRelease",
|
|
6332
|
+
"tags": [
|
|
6333
|
+
"Releases"
|
|
6334
|
+
],
|
|
5954
6335
|
"summary": "[openapi] 新增一个 Release",
|
|
5955
6336
|
"parameters": [
|
|
5956
6337
|
{
|
|
@@ -5998,6 +6379,9 @@
|
|
|
5998
6379
|
{
|
|
5999
6380
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
6000
6381
|
"operationId": "GetReleasesAsset",
|
|
6382
|
+
"tags": [
|
|
6383
|
+
"Assets"
|
|
6384
|
+
],
|
|
6001
6385
|
"summary": "发起一个获取 release 附件的请求,返回内容或者 302 到某个地址",
|
|
6002
6386
|
"parameters": [
|
|
6003
6387
|
{
|
|
@@ -6029,6 +6413,9 @@
|
|
|
6029
6413
|
{
|
|
6030
6414
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
6031
6415
|
"operationId": "GetReleaseByTag",
|
|
6416
|
+
"tags": [
|
|
6417
|
+
"Releases"
|
|
6418
|
+
],
|
|
6032
6419
|
"summary": "[openapi] 通过 tag 查询指定 release",
|
|
6033
6420
|
"parameters": [
|
|
6034
6421
|
{
|
|
@@ -6074,6 +6461,9 @@
|
|
|
6074
6461
|
{
|
|
6075
6462
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
6076
6463
|
"operationId": "DeleteRelease",
|
|
6464
|
+
"tags": [
|
|
6465
|
+
"Releases"
|
|
6466
|
+
],
|
|
6077
6467
|
"summary": "[openapi] 删除指定的 release",
|
|
6078
6468
|
"parameters": [
|
|
6079
6469
|
{
|
|
@@ -6116,6 +6506,9 @@
|
|
|
6116
6506
|
{
|
|
6117
6507
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
6118
6508
|
"operationId": "GetReleaseByID",
|
|
6509
|
+
"tags": [
|
|
6510
|
+
"Releases"
|
|
6511
|
+
],
|
|
6119
6512
|
"summary": "[openapi] 根据 id\t查询指定 release",
|
|
6120
6513
|
"parameters": [
|
|
6121
6514
|
{
|
|
@@ -6161,6 +6554,9 @@
|
|
|
6161
6554
|
{
|
|
6162
6555
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
6163
6556
|
"operationId": "PatchRelease",
|
|
6557
|
+
"tags": [
|
|
6558
|
+
"Releases"
|
|
6559
|
+
],
|
|
6164
6560
|
"summary": "[openapi] 更新 release",
|
|
6165
6561
|
"parameters": [
|
|
6166
6562
|
{
|
|
@@ -6212,6 +6608,9 @@
|
|
|
6212
6608
|
{
|
|
6213
6609
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
6214
6610
|
"operationId": "PostReleaseAssetUploadConfirmation",
|
|
6611
|
+
"tags": [
|
|
6612
|
+
"Releases"
|
|
6613
|
+
],
|
|
6215
6614
|
"summary": "[openapi] 确认 Release asset 上传完成",
|
|
6216
6615
|
"parameters": [
|
|
6217
6616
|
{
|
|
@@ -6268,6 +6667,9 @@
|
|
|
6268
6667
|
{
|
|
6269
6668
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
6270
6669
|
"operationId": "PostReleaseAssetUploadURL",
|
|
6670
|
+
"tags": [
|
|
6671
|
+
"Releases"
|
|
6672
|
+
],
|
|
6271
6673
|
"summary": "[openapi] 新增一个 Release asset",
|
|
6272
6674
|
"parameters": [
|
|
6273
6675
|
{
|
|
@@ -6322,6 +6724,9 @@
|
|
|
6322
6724
|
{
|
|
6323
6725
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
6324
6726
|
"operationId": "DeleteReleaseAsset",
|
|
6727
|
+
"tags": [
|
|
6728
|
+
"Releases"
|
|
6729
|
+
],
|
|
6325
6730
|
"summary": "[openapi] 删除指定的 release asset",
|
|
6326
6731
|
"parameters": [
|
|
6327
6732
|
{
|
|
@@ -6371,6 +6776,9 @@
|
|
|
6371
6776
|
{
|
|
6372
6777
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
6373
6778
|
"operationId": "GetReleaseAsset",
|
|
6779
|
+
"tags": [
|
|
6780
|
+
"Releases"
|
|
6781
|
+
],
|
|
6374
6782
|
"summary": "[openapi] 查询指定的 release asset",
|
|
6375
6783
|
"parameters": [
|
|
6376
6784
|
{
|
|
@@ -6423,6 +6831,9 @@
|
|
|
6423
6831
|
{
|
|
6424
6832
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
6425
6833
|
"operationId": "ListBranchProtections",
|
|
6834
|
+
"tags": [
|
|
6835
|
+
"GitSettings"
|
|
6836
|
+
],
|
|
6426
6837
|
"summary": "查询仓库保护分支规则列表(openapi)",
|
|
6427
6838
|
"parameters": [
|
|
6428
6839
|
{
|
|
@@ -6464,6 +6875,9 @@
|
|
|
6464
6875
|
{
|
|
6465
6876
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6466
6877
|
"operationId": "PostBranchProtection",
|
|
6878
|
+
"tags": [
|
|
6879
|
+
"GitSettings"
|
|
6880
|
+
],
|
|
6467
6881
|
"summary": "新增仓库保护分支规则(openapi)",
|
|
6468
6882
|
"parameters": [
|
|
6469
6883
|
{
|
|
@@ -6508,6 +6922,9 @@
|
|
|
6508
6922
|
{
|
|
6509
6923
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6510
6924
|
"operationId": "DeleteBranchProtection",
|
|
6925
|
+
"tags": [
|
|
6926
|
+
"GitSettings"
|
|
6927
|
+
],
|
|
6511
6928
|
"summary": "删除仓库保护分支规则(openapi)",
|
|
6512
6929
|
"parameters": [
|
|
6513
6930
|
{
|
|
@@ -6550,6 +6967,9 @@
|
|
|
6550
6967
|
{
|
|
6551
6968
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
6552
6969
|
"operationId": "GetBranchProtection",
|
|
6970
|
+
"tags": [
|
|
6971
|
+
"GitSettings"
|
|
6972
|
+
],
|
|
6553
6973
|
"summary": "查询仓库保护分支规则(openapi)",
|
|
6554
6974
|
"parameters": [
|
|
6555
6975
|
{
|
|
@@ -6595,6 +7015,9 @@
|
|
|
6595
7015
|
{
|
|
6596
7016
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6597
7017
|
"operationId": "PatchBranchProtection",
|
|
7018
|
+
"tags": [
|
|
7019
|
+
"GitSettings"
|
|
7020
|
+
],
|
|
6598
7021
|
"summary": "更新仓库保护分支规则(openapi)",
|
|
6599
7022
|
"parameters": [
|
|
6600
7023
|
{
|
|
@@ -6646,6 +7069,9 @@
|
|
|
6646
7069
|
{
|
|
6647
7070
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
6648
7071
|
"operationId": "GetPipelineSettings",
|
|
7072
|
+
"tags": [
|
|
7073
|
+
"GitSettings"
|
|
7074
|
+
],
|
|
6649
7075
|
"summary": "查询仓库云原生构建设置(openapi)",
|
|
6650
7076
|
"parameters": [
|
|
6651
7077
|
{
|
|
@@ -6684,6 +7110,9 @@
|
|
|
6684
7110
|
{
|
|
6685
7111
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6686
7112
|
"operationId": "PutPipelineSettings",
|
|
7113
|
+
"tags": [
|
|
7114
|
+
"GitSettings"
|
|
7115
|
+
],
|
|
6687
7116
|
"summary": "更新仓库云原生构建设置(openapi)",
|
|
6688
7117
|
"parameters": [
|
|
6689
7118
|
{
|
|
@@ -6728,6 +7157,9 @@
|
|
|
6728
7157
|
{
|
|
6729
7158
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
6730
7159
|
"operationId": "GetPullRequestSettings",
|
|
7160
|
+
"tags": [
|
|
7161
|
+
"GitSettings"
|
|
7162
|
+
],
|
|
6731
7163
|
"summary": "查询仓库合并请求设置(openapi)",
|
|
6732
7164
|
"parameters": [
|
|
6733
7165
|
{
|
|
@@ -6766,6 +7198,9 @@
|
|
|
6766
7198
|
{
|
|
6767
7199
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6768
7200
|
"operationId": "PutPullRequestSettings",
|
|
7201
|
+
"tags": [
|
|
7202
|
+
"GitSettings"
|
|
7203
|
+
],
|
|
6769
7204
|
"summary": "设置仓库推送设置(openapi)",
|
|
6770
7205
|
"parameters": [
|
|
6771
7206
|
{
|
|
@@ -6810,6 +7245,9 @@
|
|
|
6810
7245
|
{
|
|
6811
7246
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
6812
7247
|
"operationId": "GetPushLimitSettings",
|
|
7248
|
+
"tags": [
|
|
7249
|
+
"GitSettings"
|
|
7250
|
+
],
|
|
6813
7251
|
"summary": "查询仓库推送设置(openapi)",
|
|
6814
7252
|
"parameters": [
|
|
6815
7253
|
{
|
|
@@ -6848,6 +7286,9 @@
|
|
|
6848
7286
|
{
|
|
6849
7287
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6850
7288
|
"operationId": "PutPushLimitSettings",
|
|
7289
|
+
"tags": [
|
|
7290
|
+
"GitSettings"
|
|
7291
|
+
],
|
|
6851
7292
|
"summary": "设置仓库推送设置(openapi)",
|
|
6852
7293
|
"parameters": [
|
|
6853
7294
|
{
|
|
@@ -6892,6 +7333,9 @@
|
|
|
6892
7333
|
{
|
|
6893
7334
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-basic-info:r",
|
|
6894
7335
|
"operationId": "ListStarUsers",
|
|
7336
|
+
"tags": [
|
|
7337
|
+
"Starring"
|
|
7338
|
+
],
|
|
6895
7339
|
"summary": "获取指定仓库的star用户列表",
|
|
6896
7340
|
"parameters": [
|
|
6897
7341
|
{
|
|
@@ -6945,6 +7389,9 @@
|
|
|
6945
7389
|
{
|
|
6946
7390
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-base-info:r",
|
|
6947
7391
|
"operationId": "TopContributors",
|
|
7392
|
+
"tags": [
|
|
7393
|
+
"Collaborators"
|
|
7394
|
+
],
|
|
6948
7395
|
"summary": "获取 top 贡献用户",
|
|
6949
7396
|
"parameters": [
|
|
6950
7397
|
{
|
|
@@ -6981,6 +7428,9 @@
|
|
|
6981
7428
|
{
|
|
6982
7429
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
6983
7430
|
"operationId": "UploadFiles",
|
|
7431
|
+
"tags": [
|
|
7432
|
+
"Assets"
|
|
7433
|
+
],
|
|
6984
7434
|
"summary": "发起一个上传 files(issue,pr 及其评论中文档,压缩包等)的请求,返回上传 cos 的 url 和 form 内容",
|
|
6985
7435
|
"parameters": [
|
|
6986
7436
|
{
|
|
@@ -7017,6 +7467,9 @@
|
|
|
7017
7467
|
{
|
|
7018
7468
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
7019
7469
|
"operationId": "UploadImgs",
|
|
7470
|
+
"tags": [
|
|
7471
|
+
"Assets"
|
|
7472
|
+
],
|
|
7020
7473
|
"summary": "发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容",
|
|
7021
7474
|
"parameters": [
|
|
7022
7475
|
{
|
|
@@ -7053,6 +7506,9 @@
|
|
|
7053
7506
|
{
|
|
7054
7507
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
7055
7508
|
"operationId": "UploadReleases",
|
|
7509
|
+
"tags": [
|
|
7510
|
+
"Assets"
|
|
7511
|
+
],
|
|
7056
7512
|
"summary": "发起一个上传 release 附件的请求,返回上传 cos 的 url 和 form 内容",
|
|
7057
7513
|
"parameters": [
|
|
7058
7514
|
{
|
|
@@ -7096,6 +7552,9 @@
|
|
|
7096
7552
|
{
|
|
7097
7553
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-detail:r",
|
|
7098
7554
|
"operationId": "GetWorkspaceDetail",
|
|
7555
|
+
"tags": [
|
|
7556
|
+
"Workspace"
|
|
7557
|
+
],
|
|
7099
7558
|
"summary": "根据流水线sn查询云原生开发访问地址",
|
|
7100
7559
|
"parameters": [
|
|
7101
7560
|
{
|
|
@@ -7129,6 +7588,9 @@
|
|
|
7129
7588
|
{
|
|
7130
7589
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
|
|
7131
7590
|
"operationId": "ListPackages",
|
|
7591
|
+
"tags": [
|
|
7592
|
+
"Artifactory"
|
|
7593
|
+
],
|
|
7132
7594
|
"summary": "List all packages",
|
|
7133
7595
|
"parameters": [
|
|
7134
7596
|
{
|
|
@@ -7211,6 +7673,9 @@
|
|
|
7211
7673
|
{
|
|
7212
7674
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
|
|
7213
7675
|
"operationId": "HeadPackages",
|
|
7676
|
+
"tags": [
|
|
7677
|
+
"Artifactory"
|
|
7678
|
+
],
|
|
7214
7679
|
"summary": "Head all packages",
|
|
7215
7680
|
"parameters": [
|
|
7216
7681
|
{
|
|
@@ -7281,6 +7746,9 @@
|
|
|
7281
7746
|
{
|
|
7282
7747
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
|
|
7283
7748
|
"operationId": "GetQuotaByProjectName",
|
|
7749
|
+
"tags": [
|
|
7750
|
+
"Artifactory"
|
|
7751
|
+
],
|
|
7284
7752
|
"summary": "Get quota of specific registry",
|
|
7285
7753
|
"parameters": [
|
|
7286
7754
|
{
|
|
@@ -7327,6 +7795,9 @@
|
|
|
7327
7795
|
{
|
|
7328
7796
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
|
|
7329
7797
|
"operationId": "GetQuotasByProjectName",
|
|
7798
|
+
"tags": [
|
|
7799
|
+
"Artifactory"
|
|
7800
|
+
],
|
|
7330
7801
|
"summary": "Get quotas of packages under one registry",
|
|
7331
7802
|
"parameters": [
|
|
7332
7803
|
{
|
|
@@ -7400,6 +7871,9 @@
|
|
|
7400
7871
|
{
|
|
7401
7872
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
|
|
7402
7873
|
"operationId": "DownloadQuotasByProjectName",
|
|
7874
|
+
"tags": [
|
|
7875
|
+
"Artifactory"
|
|
7876
|
+
],
|
|
7403
7877
|
"summary": "Download registry quota details",
|
|
7404
7878
|
"parameters": [
|
|
7405
7879
|
{
|
|
@@ -7473,6 +7947,9 @@
|
|
|
7473
7947
|
{
|
|
7474
7948
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
|
|
7475
7949
|
"operationId": "GetPackage",
|
|
7950
|
+
"tags": [
|
|
7951
|
+
"Artifactory"
|
|
7952
|
+
],
|
|
7476
7953
|
"summary": "Get the specific package",
|
|
7477
7954
|
"parameters": [
|
|
7478
7955
|
{
|
|
@@ -7520,6 +7997,9 @@
|
|
|
7520
7997
|
{
|
|
7521
7998
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-package-delete:rw",
|
|
7522
7999
|
"operationId": "DeletePackageTag",
|
|
8000
|
+
"tags": [
|
|
8001
|
+
"Artifactory"
|
|
8002
|
+
],
|
|
7523
8003
|
"summary": "Delete the specific tag under specific package",
|
|
7524
8004
|
"parameters": [
|
|
7525
8005
|
{
|
|
@@ -7571,6 +8051,9 @@
|
|
|
7571
8051
|
{
|
|
7572
8052
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
|
|
7573
8053
|
"operationId": "GetPackageTagDetail",
|
|
8054
|
+
"tags": [
|
|
8055
|
+
"Artifactory"
|
|
8056
|
+
],
|
|
7574
8057
|
"summary": "Get the specific tag under specific package",
|
|
7575
8058
|
"parameters": [
|
|
7576
8059
|
{
|
|
@@ -7631,6 +8114,9 @@
|
|
|
7631
8114
|
{
|
|
7632
8115
|
"description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
|
|
7633
8116
|
"operationId": "ListPackageTags",
|
|
8117
|
+
"tags": [
|
|
8118
|
+
"Artifactory"
|
|
8119
|
+
],
|
|
7634
8120
|
"summary": "List all tags under specific package",
|
|
7635
8121
|
"parameters": [
|
|
7636
8122
|
{
|