node-cnb 1.7.1 → 1.9.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 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,8 +31,10 @@
28
31
  {
29
32
  "description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
30
33
  "operationId": "GetUserInfo",
34
+ "tags": [
35
+ "Users"
36
+ ],
31
37
  "summary": "获取指定用户的详情信息",
32
- "parameters": [],
33
38
  "responses": {
34
39
  "200": {
35
40
  "description": "OK",
@@ -46,6 +51,9 @@
46
51
  {
47
52
  "description": "访问令牌调用此接口需包含以下权限 \naccount-profile:rw",
48
53
  "operationId": "UpdateUserInfo",
54
+ "tags": [
55
+ "Users"
56
+ ],
49
57
  "summary": "更新指定用户的详情信息, 可更新内容为: 昵称, 个人签名, 微信公众号名称, 微信公众号二维码链接, 个人网站, 个人地址, 公司名称",
50
58
  "parameters": [
51
59
  {
@@ -71,6 +79,9 @@
71
79
  {
72
80
  "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
73
81
  "operationId": "AutoCompleteSource",
82
+ "tags": [
83
+ "Users"
84
+ ],
74
85
  "summary": "查询当前用户用户拥有指定权限的所有资源列表",
75
86
  "parameters": [
76
87
  {
@@ -136,6 +147,9 @@
136
147
  {
137
148
  "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
138
149
  "operationId": "ListTopGroups",
150
+ "tags": [
151
+ "Organizations"
152
+ ],
139
153
  "summary": "获取当前用户拥有权限的顶层组织列表",
140
154
  "parameters": [
141
155
  {
@@ -192,6 +206,9 @@
192
206
  {
193
207
  "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
194
208
  "operationId": "ListGroups",
209
+ "tags": [
210
+ "Organizations"
211
+ ],
195
212
  "summary": "查询当前用户在指定组织下拥有指定权限的子组织列表",
196
213
  "parameters": [
197
214
  {
@@ -242,6 +259,9 @@
242
259
  {
243
260
  "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
244
261
  "operationId": "GetRepos",
262
+ "tags": [
263
+ "Repositories"
264
+ ],
245
265
  "summary": "获取当前用户拥有指定权限及其以上权限的仓库",
246
266
  "parameters": [
247
267
  {
@@ -293,7 +313,8 @@
293
313
  "enum": [
294
314
  "created_at",
295
315
  "last_updated_at",
296
- "stars"
316
+ "stars",
317
+ "slug_path"
297
318
  ],
298
319
  "in": "query",
299
320
  "name": "order_by",
@@ -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
  {
@@ -679,7 +724,8 @@
679
724
  "enum": [
680
725
  "created_at",
681
726
  "last_updated_at",
682
- "stars"
727
+ "stars",
728
+ "slug_path"
683
729
  ],
684
730
  "in": "query",
685
731
  "name": "order_by",
@@ -705,6 +751,9 @@
705
751
  {
706
752
  "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
707
753
  "operationId": "GetUserStaredRepos",
754
+ "tags": [
755
+ "Starring"
756
+ ],
708
757
  "summary": "获取指定用户的 star 仓库列表",
709
758
  "parameters": [
710
759
  {
@@ -774,6 +823,9 @@
774
823
  {
775
824
  "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:rw",
776
825
  "operationId": "DeleteWorkspace",
826
+ "tags": [
827
+ "Workspace"
828
+ ],
777
829
  "summary": "删除我的云原生开发环境",
778
830
  "parameters": [
779
831
  {
@@ -802,6 +854,9 @@
802
854
  {
803
855
  "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
804
856
  "operationId": "ListWorkspaces",
857
+ "tags": [
858
+ "Workspace"
859
+ ],
805
860
  "summary": "获取我的云原生开发环境列表",
806
861
  "parameters": [
807
862
  {
@@ -863,6 +918,9 @@
863
918
  {
864
919
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-delete:rw",
865
920
  "operationId": "DeleteOrganization",
921
+ "tags": [
922
+ "Organizations"
923
+ ],
866
924
  "summary": "删除指定组织",
867
925
  "parameters": [
868
926
  {
@@ -892,6 +950,9 @@
892
950
  {
893
951
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
894
952
  "operationId": "GetGroup",
953
+ "tags": [
954
+ "Organizations"
955
+ ],
895
956
  "summary": "获取指定组织信息",
896
957
  "parameters": [
897
958
  {
@@ -918,6 +979,9 @@
918
979
  {
919
980
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
920
981
  "operationId": "UpdateOrganization",
982
+ "tags": [
983
+ "Organizations"
984
+ ],
921
985
  "summary": "更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱",
922
986
  "parameters": [
923
987
  {
@@ -950,6 +1014,9 @@
950
1014
  {
951
1015
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
952
1016
  "operationId": "UpdateGroupAvatar",
1017
+ "tags": [
1018
+ "Organizations"
1019
+ ],
953
1020
  "summary": "更新组织头像 URL 地址",
954
1021
  "parameters": [
955
1022
  {
@@ -981,7 +1048,10 @@
981
1048
  "group.inheritMembers.list": [
982
1049
  {
983
1050
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
984
- "operationId": "ListInheritMembers",
1051
+ "operationId": "ListInheritMembersOfGroup",
1052
+ "tags": [
1053
+ "Collaborators"
1054
+ ],
985
1055
  "summary": "获取指定组织或仓库内的继承成员",
986
1056
  "parameters": [
987
1057
  {
@@ -1041,98 +1111,13 @@
1041
1111
  "method": "get"
1042
1112
  }
1043
1113
  ],
1044
- "group.listMembers.list": [
1045
- {
1046
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1047
- "operationId": "ListAllMembers",
1048
- "summary": "获取指定组织或仓库内的有效成员列表,包含继承成员",
1049
- "parameters": [
1050
- {
1051
- "description": "slug",
1052
- "in": "path",
1053
- "name": "group",
1054
- "required": true,
1055
- "type": "string"
1056
- },
1057
- {
1058
- "default": 1,
1059
- "description": "第几页,从1开始",
1060
- "in": "query",
1061
- "name": "page",
1062
- "type": "integer"
1063
- },
1064
- {
1065
- "default": 10,
1066
- "description": "每页多少条数据",
1067
- "in": "query",
1068
- "name": "page_size",
1069
- "type": "integer"
1070
- },
1071
- {
1072
- "description": "筛选角色",
1073
- "enum": [
1074
- "Guest",
1075
- "Reporter",
1076
- "Developer",
1077
- "Master",
1078
- "Owner"
1079
- ],
1080
- "in": "query",
1081
- "name": "role",
1082
- "type": "string"
1083
- },
1084
- {
1085
- "default": "",
1086
- "description": "过滤成员",
1087
- "in": "query",
1088
- "name": "search",
1089
- "type": "string"
1090
- },
1091
- {
1092
- "default": "",
1093
- "description": "精准匹配用户名,多个用户名用逗号间隔",
1094
- "in": "query",
1095
- "name": "names",
1096
- "type": "string"
1097
- },
1098
- {
1099
- "description": "排序类型,默认created_at",
1100
- "enum": [
1101
- "created_at",
1102
- "stars",
1103
- "follower"
1104
- ],
1105
- "in": "query",
1106
- "name": "order_by",
1107
- "type": "string"
1108
- },
1109
- {
1110
- "default": false,
1111
- "description": "排序顺序",
1112
- "in": "query",
1113
- "name": "desc",
1114
- "type": "boolean"
1115
- }
1116
- ],
1117
- "responses": {
1118
- "200": {
1119
- "description": "OK",
1120
- "schema": {
1121
- "items": {
1122
- "$ref": "#/definitions/dto.UsersWithAccessLevelInSlug"
1123
- },
1124
- "type": "array"
1125
- }
1126
- }
1127
- },
1128
- "path": "/{group}/-/list-members",
1129
- "method": "get"
1130
- }
1131
- ],
1132
1114
  "group.logos.put": [
1133
1115
  {
1134
1116
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1135
1117
  "operationId": "PutLogos",
1118
+ "tags": [
1119
+ "Assets"
1120
+ ],
1136
1121
  "summary": "确认上传的logo",
1137
1122
  "parameters": [
1138
1123
  {
@@ -1164,6 +1149,9 @@
1164
1149
  {
1165
1150
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
1166
1151
  "operationId": "GetLogos",
1152
+ "tags": [
1153
+ "Assets"
1154
+ ],
1167
1155
  "summary": "发起一个获取 logo 的请求,返回内容或者 302 到某个地址",
1168
1156
  "parameters": [
1169
1157
  {
@@ -1193,7 +1181,10 @@
1193
1181
  "group.members.list": [
1194
1182
  {
1195
1183
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1196
- "operationId": "ListMembers",
1184
+ "operationId": "ListMembersOfGroup",
1185
+ "tags": [
1186
+ "Collaborators"
1187
+ ],
1197
1188
  "summary": "获取指定组织或仓库内的所有直接成员",
1198
1189
  "parameters": [
1199
1190
  {
@@ -1256,7 +1247,10 @@
1256
1247
  "group.members.accessLevel.get": [
1257
1248
  {
1258
1249
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1259
- "operationId": "GetMemberAccessLevel",
1250
+ "operationId": "GetMemberAccessLevelOfGroup",
1251
+ "tags": [
1252
+ "Contributors"
1253
+ ],
1260
1254
  "summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息",
1261
1255
  "parameters": [
1262
1256
  {
@@ -1289,7 +1283,10 @@
1289
1283
  "group.members.delete": [
1290
1284
  {
1291
1285
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1292
- "operationId": "DeleteMembers",
1286
+ "operationId": "DeleteMembersOfGroup",
1287
+ "tags": [
1288
+ "Collaborators"
1289
+ ],
1293
1290
  "summary": "删除指定组织或仓库的直接成员, 包含两种场景: 1. 作为直接成员的用户自己退出 2. 由管理者移除指定的直接成员",
1294
1291
  "parameters": [
1295
1292
  {
@@ -1319,7 +1316,10 @@
1319
1316
  "group.members.put": [
1320
1317
  {
1321
1318
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1322
- "operationId": "UpdateMembers",
1319
+ "operationId": "UpdateMembersOfGroup",
1320
+ "tags": [
1321
+ "Collaborators"
1322
+ ],
1323
1323
  "summary": "更新指定组织或仓库内的直接成员权限信息",
1324
1324
  "parameters": [
1325
1325
  {
@@ -1358,7 +1358,10 @@
1358
1358
  "group.members.accessLevel.list": [
1359
1359
  {
1360
1360
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1361
- "operationId": "ListMemberAccessLevel",
1361
+ "operationId": "ListMemberAccessLevelOfGroup",
1362
+ "tags": [
1363
+ "Contributors"
1364
+ ],
1362
1365
  "summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息",
1363
1366
  "parameters": [
1364
1367
  {
@@ -1395,6 +1398,9 @@
1395
1398
  {
1396
1399
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1397
1400
  "operationId": "GetPinnedRepoByGroup",
1401
+ "tags": [
1402
+ "Repositories"
1403
+ ],
1398
1404
  "summary": "获取指定组织的仓库墙列表",
1399
1405
  "parameters": [
1400
1406
  {
@@ -1424,6 +1430,9 @@
1424
1430
  {
1425
1431
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1426
1432
  "operationId": "SetPinnedRepoByGroup",
1433
+ "tags": [
1434
+ "Repositories"
1435
+ ],
1427
1436
  "summary": "更新指定组织仓库墙",
1428
1437
  "parameters": [
1429
1438
  {
@@ -1465,6 +1474,9 @@
1465
1474
  {
1466
1475
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
1467
1476
  "operationId": "GetGroupSubRepos",
1477
+ "tags": [
1478
+ "Repositories"
1479
+ ],
1468
1480
  "summary": "查询组织下访问用户有权限查看到仓库",
1469
1481
  "parameters": [
1470
1482
  {
@@ -1504,7 +1516,8 @@
1504
1516
  "enum": [
1505
1517
  "created_at",
1506
1518
  "last_updated_at",
1507
- "stars"
1519
+ "stars",
1520
+ "slug_path"
1508
1521
  ],
1509
1522
  "in": "query",
1510
1523
  "name": "order_by",
@@ -1554,6 +1567,9 @@
1554
1567
  {
1555
1568
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:rw",
1556
1569
  "operationId": "CreateRepo",
1570
+ "tags": [
1571
+ "Repositories"
1572
+ ],
1557
1573
  "summary": "创建仓库",
1558
1574
  "parameters": [
1559
1575
  {
@@ -1587,6 +1603,9 @@
1587
1603
  {
1588
1604
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1589
1605
  "operationId": "GetGroupSetting",
1606
+ "tags": [
1607
+ "Organizations"
1608
+ ],
1590
1609
  "summary": "获取指定组织的配置详情",
1591
1610
  "parameters": [
1592
1611
  {
@@ -1613,6 +1632,9 @@
1613
1632
  {
1614
1633
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1615
1634
  "operationId": "UpdateGroupSetting",
1635
+ "tags": [
1636
+ "Organizations"
1637
+ ],
1616
1638
  "summary": "更新指定组织的配置, 可更新内容为: 是否对外隐藏组织成员",
1617
1639
  "parameters": [
1618
1640
  {
@@ -1645,6 +1667,9 @@
1645
1667
  {
1646
1668
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
1647
1669
  "operationId": "ListSubgroups",
1670
+ "tags": [
1671
+ "Organizations"
1672
+ ],
1648
1673
  "summary": "获取指定组织下的子组织列表",
1649
1674
  "parameters": [
1650
1675
  {
@@ -1697,6 +1722,9 @@
1697
1722
  {
1698
1723
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1699
1724
  "operationId": "UploadLogos",
1725
+ "tags": [
1726
+ "Assets"
1727
+ ],
1700
1728
  "summary": "发起一个上传 logo 的请求,返回上传 cos 的 url 和 form 内容",
1701
1729
  "parameters": [
1702
1730
  {
@@ -1733,6 +1761,9 @@
1733
1761
  {
1734
1762
  "description": "访问令牌调用此接口需包含以下权限 \nmission-delete:rw",
1735
1763
  "operationId": "DeleteMission",
1764
+ "tags": [
1765
+ "Missions"
1766
+ ],
1736
1767
  "summary": "删除指定任务集",
1737
1768
  "parameters": [
1738
1769
  {
@@ -1762,6 +1793,9 @@
1762
1793
  {
1763
1794
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-delete:rw",
1764
1795
  "operationId": "DeleteRegistry",
1796
+ "tags": [
1797
+ "Artifactory"
1798
+ ],
1765
1799
  "summary": "删除制品仓库",
1766
1800
  "parameters": [
1767
1801
  {
@@ -1791,6 +1825,9 @@
1791
1825
  {
1792
1826
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-delete:rw",
1793
1827
  "operationId": "DeleteRepo",
1828
+ "tags": [
1829
+ "Repositories"
1830
+ ],
1794
1831
  "summary": "删除指定仓库",
1795
1832
  "parameters": [
1796
1833
  {
@@ -1820,6 +1857,9 @@
1820
1857
  {
1821
1858
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-basic-info:r",
1822
1859
  "operationId": "GetRepo",
1860
+ "tags": [
1861
+ "Repositories"
1862
+ ],
1823
1863
  "summary": "获取指定仓库信息",
1824
1864
  "parameters": [
1825
1865
  {
@@ -1846,6 +1886,9 @@
1846
1886
  {
1847
1887
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
1848
1888
  "operationId": "UpdateRepo",
1889
+ "tags": [
1890
+ "Repositories"
1891
+ ],
1849
1892
  "summary": "更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证",
1850
1893
  "parameters": [
1851
1894
  {
@@ -1878,6 +1921,9 @@
1878
1921
  {
1879
1922
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:r",
1880
1923
  "operationId": "GetBuildLogs",
1924
+ "tags": [
1925
+ "Build"
1926
+ ],
1881
1927
  "summary": "查询流水线构建列表",
1882
1928
  "parameters": [
1883
1929
  {
@@ -1976,6 +2022,9 @@
1976
2022
  {
1977
2023
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:rw",
1978
2024
  "operationId": "StartBuild",
2025
+ "tags": [
2026
+ "Build"
2027
+ ],
1979
2028
  "summary": "开始一个构建",
1980
2029
  "parameters": [
1981
2030
  {
@@ -2014,6 +2063,9 @@
2014
2063
  {
2015
2064
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:r",
2016
2065
  "operationId": "GetBuildStatus",
2066
+ "tags": [
2067
+ "Build"
2068
+ ],
2017
2069
  "summary": "查询流水线构建状态",
2018
2070
  "parameters": [
2019
2071
  {
@@ -2047,6 +2099,9 @@
2047
2099
  {
2048
2100
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:rw",
2049
2101
  "operationId": "StopBuild",
2102
+ "tags": [
2103
+ "Build"
2104
+ ],
2050
2105
  "summary": "停止一个构建",
2051
2106
  "parameters": [
2052
2107
  {
@@ -2083,6 +2138,9 @@
2083
2138
  {
2084
2139
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
2085
2140
  "operationId": "GetCommitAssets",
2141
+ "tags": [
2142
+ "Assets"
2143
+ ],
2086
2144
  "summary": "发起一个获取 commits 附件的请求,返回内容或者 302 到某个地址",
2087
2145
  "parameters": [
2088
2146
  {
@@ -2114,6 +2172,9 @@
2114
2172
  {
2115
2173
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2116
2174
  "operationId": "GetRepoContributorTrend",
2175
+ "tags": [
2176
+ "RepoContributor"
2177
+ ],
2117
2178
  "summary": "查询仓库贡献者前 100 名的详细趋势数据",
2118
2179
  "parameters": [
2119
2180
  {
@@ -2166,6 +2227,9 @@
2166
2227
  {
2167
2228
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
2168
2229
  "operationId": "GetFiles",
2230
+ "tags": [
2231
+ "Assets"
2232
+ ],
2169
2233
  "summary": "发起一个获取 files 的请求,返回内容或者 302 到某个地址",
2170
2234
  "parameters": [
2171
2235
  {
@@ -2211,6 +2275,9 @@
2211
2275
  {
2212
2276
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
2213
2277
  "operationId": "PutFiles",
2278
+ "tags": [
2279
+ "Assets"
2280
+ ],
2214
2281
  "summary": "发起一个确认 files 的请求,上传的图片要调用此接口才能生效",
2215
2282
  "parameters": [
2216
2283
  {
@@ -2263,6 +2330,9 @@
2263
2330
  {
2264
2331
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-base-info:r",
2265
2332
  "operationId": "ListForksRepos",
2333
+ "tags": [
2334
+ "Repositories"
2335
+ ],
2266
2336
  "summary": "获取指定仓库的 fork 列表",
2267
2337
  "parameters": [
2268
2338
  {
@@ -2308,6 +2378,9 @@
2308
2378
  {
2309
2379
  "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:rw",
2310
2380
  "operationId": "CreateAFork",
2381
+ "tags": [
2382
+ "Repositories"
2383
+ ],
2311
2384
  "summary": "fork 仓库",
2312
2385
  "parameters": [
2313
2386
  {
@@ -2340,6 +2413,9 @@
2340
2413
  {
2341
2414
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2342
2415
  "operationId": "CreateBlob",
2416
+ "tags": [
2417
+ "Git"
2418
+ ],
2343
2419
  "summary": "创建一个 blob",
2344
2420
  "parameters": [
2345
2421
  {
@@ -2387,6 +2463,9 @@
2387
2463
  {
2388
2464
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2389
2465
  "operationId": "ListBranches",
2466
+ "tags": [
2467
+ "Git"
2468
+ ],
2390
2469
  "summary": "查询分支列表",
2391
2470
  "parameters": [
2392
2471
  {
@@ -2442,6 +2521,9 @@
2442
2521
  {
2443
2522
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2444
2523
  "operationId": "CreateBranch",
2524
+ "tags": [
2525
+ "Git"
2526
+ ],
2445
2527
  "summary": "创建新分支",
2446
2528
  "parameters": [
2447
2529
  {
@@ -2486,6 +2568,9 @@
2486
2568
  {
2487
2569
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2488
2570
  "operationId": "DeleteBranch",
2571
+ "tags": [
2572
+ "Git"
2573
+ ],
2489
2574
  "summary": "删除指定分支",
2490
2575
  "parameters": [
2491
2576
  {
@@ -2528,6 +2613,9 @@
2528
2613
  {
2529
2614
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2530
2615
  "operationId": "GetBranch",
2616
+ "tags": [
2617
+ "Git"
2618
+ ],
2531
2619
  "summary": "查询指定分支",
2532
2620
  "parameters": [
2533
2621
  {
@@ -2572,6 +2660,9 @@
2572
2660
  {
2573
2661
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2574
2662
  "operationId": "GetCommitAnnotationsInBatch",
2663
+ "tags": [
2664
+ "Git"
2665
+ ],
2575
2666
  "summary": "查询指定 commit 的元数据",
2576
2667
  "parameters": [
2577
2668
  {
@@ -2622,6 +2713,9 @@
2622
2713
  {
2623
2714
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2624
2715
  "operationId": "GetCommitAnnotations",
2716
+ "tags": [
2717
+ "Git"
2718
+ ],
2625
2719
  "summary": "查询指定 commit 的元数据",
2626
2720
  "parameters": [
2627
2721
  {
@@ -2670,6 +2764,9 @@
2670
2764
  {
2671
2765
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2672
2766
  "operationId": "PutCommitAnnotations",
2767
+ "tags": [
2768
+ "Git"
2769
+ ],
2673
2770
  "summary": "设定指定 commit 的元数据",
2674
2771
  "parameters": [
2675
2772
  {
@@ -2721,6 +2818,9 @@
2721
2818
  {
2722
2819
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2723
2820
  "operationId": "DeleteCommitAnnotation",
2821
+ "tags": [
2822
+ "Git"
2823
+ ],
2724
2824
  "summary": "删除指定 commit 的元数据",
2725
2825
  "parameters": [
2726
2826
  {
@@ -2770,6 +2870,9 @@
2770
2870
  {
2771
2871
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2772
2872
  "operationId": "GetCommitAssetsBySha",
2873
+ "tags": [
2874
+ "Git"
2875
+ ],
2773
2876
  "summary": "查询指定 commit 的附件",
2774
2877
  "parameters": [
2775
2878
  {
@@ -2818,6 +2921,9 @@
2818
2921
  {
2819
2922
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2820
2923
  "operationId": "PostCommitAssetUploadConfirmation",
2924
+ "tags": [
2925
+ "Git"
2926
+ ],
2821
2927
  "summary": "确认 Commit asset 上传完成",
2822
2928
  "parameters": [
2823
2929
  {
@@ -2874,6 +2980,9 @@
2874
2980
  {
2875
2981
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2876
2982
  "operationId": "PostCommitAssetUploadURL",
2983
+ "tags": [
2984
+ "Git"
2985
+ ],
2877
2986
  "summary": "新增一个 Commit asset",
2878
2987
  "parameters": [
2879
2988
  {
@@ -2928,6 +3037,9 @@
2928
3037
  {
2929
3038
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2930
3039
  "operationId": "DeleteCommitAsset",
3040
+ "tags": [
3041
+ "Git"
3042
+ ],
2931
3043
  "summary": "删除指定 commit 的附件",
2932
3044
  "parameters": [
2933
3045
  {
@@ -2977,6 +3089,9 @@
2977
3089
  {
2978
3090
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2979
3091
  "operationId": "GetCommitStatuses",
3092
+ "tags": [
3093
+ "Git"
3094
+ ],
2980
3095
  "summary": "查询指定 commit 的 check statuses",
2981
3096
  "parameters": [
2982
3097
  {
@@ -3025,6 +3140,9 @@
3025
3140
  {
3026
3141
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3027
3142
  "operationId": "ListCommits",
3143
+ "tags": [
3144
+ "Git"
3145
+ ],
3028
3146
  "summary": "查询 commit 列表",
3029
3147
  "parameters": [
3030
3148
  {
@@ -3110,6 +3228,9 @@
3110
3228
  {
3111
3229
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3112
3230
  "operationId": "GetCommit",
3231
+ "tags": [
3232
+ "Git"
3233
+ ],
3113
3234
  "summary": "查询指定 commit",
3114
3235
  "parameters": [
3115
3236
  {
@@ -3155,6 +3276,9 @@
3155
3276
  {
3156
3277
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3157
3278
  "operationId": "GetCompareCommits",
3279
+ "tags": [
3280
+ "Git"
3281
+ ],
3158
3282
  "summary": "对比 base...head",
3159
3283
  "parameters": [
3160
3284
  {
@@ -3200,6 +3324,9 @@
3200
3324
  {
3201
3325
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3202
3326
  "operationId": "GetContent",
3327
+ "tags": [
3328
+ "Git"
3329
+ ],
3203
3330
  "summary": "查询仓库文件列表或文件",
3204
3331
  "parameters": [
3205
3332
  {
@@ -3251,6 +3378,9 @@
3251
3378
  {
3252
3379
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3253
3380
  "operationId": "GetHead",
3381
+ "tags": [
3382
+ "Git"
3383
+ ],
3254
3384
  "summary": "获取仓库默认分支",
3255
3385
  "parameters": [
3256
3386
  {
@@ -3289,6 +3419,9 @@
3289
3419
  {
3290
3420
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
3291
3421
  "operationId": "DeleteTagAnnotation",
3422
+ "tags": [
3423
+ "Git"
3424
+ ],
3292
3425
  "summary": "删除指定 tag 的元数据",
3293
3426
  "parameters": [
3294
3427
  {
@@ -3331,6 +3464,9 @@
3331
3464
  {
3332
3465
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
3333
3466
  "operationId": "GetTagAnnotations",
3467
+ "tags": [
3468
+ "Git"
3469
+ ],
3334
3470
  "summary": "查询指定 tag 的元数据",
3335
3471
  "parameters": [
3336
3472
  {
@@ -3379,6 +3515,9 @@
3379
3515
  {
3380
3516
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
3381
3517
  "operationId": "PutTagAnnotations",
3518
+ "tags": [
3519
+ "Git"
3520
+ ],
3382
3521
  "summary": "设定指定 tag 的元数据",
3383
3522
  "parameters": [
3384
3523
  {
@@ -3430,6 +3569,9 @@
3430
3569
  {
3431
3570
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
3432
3571
  "operationId": "ListTags",
3572
+ "tags": [
3573
+ "Git"
3574
+ ],
3433
3575
  "summary": "查询标签列表",
3434
3576
  "parameters": [
3435
3577
  {
@@ -3485,6 +3627,9 @@
3485
3627
  {
3486
3628
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
3487
3629
  "operationId": "CreateTag",
3630
+ "tags": [
3631
+ "Git"
3632
+ ],
3488
3633
  "summary": "创建一个 tag",
3489
3634
  "parameters": [
3490
3635
  {
@@ -3532,6 +3677,9 @@
3532
3677
  {
3533
3678
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
3534
3679
  "operationId": "DeleteTag",
3680
+ "tags": [
3681
+ "Git"
3682
+ ],
3535
3683
  "summary": "删除指定标签",
3536
3684
  "parameters": [
3537
3685
  {
@@ -3574,6 +3722,9 @@
3574
3722
  {
3575
3723
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
3576
3724
  "operationId": "GetTag",
3725
+ "tags": [
3726
+ "Git"
3727
+ ],
3577
3728
  "summary": "查询指定 Tag",
3578
3729
  "parameters": [
3579
3730
  {
@@ -3619,6 +3770,9 @@
3619
3770
  {
3620
3771
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
3621
3772
  "operationId": "GetImgs",
3773
+ "tags": [
3774
+ "Assets"
3775
+ ],
3622
3776
  "summary": "发起一个获取 imgs 的请求,返回内容或者 302 到某个地址",
3623
3777
  "parameters": [
3624
3778
  {
@@ -3657,6 +3811,9 @@
3657
3811
  {
3658
3812
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
3659
3813
  "operationId": "PutImgs",
3814
+ "tags": [
3815
+ "Assets"
3816
+ ],
3660
3817
  "summary": "发起一个确认 imgs 的请求,上传的图片要调用此接口才能生效",
3661
3818
  "parameters": [
3662
3819
  {
@@ -3701,7 +3858,10 @@
3701
3858
  "repo.inheritMembers.list": [
3702
3859
  {
3703
3860
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
3704
- "operationId": "ListInheritMembers",
3861
+ "operationId": "ListInheritMembersOfRepo",
3862
+ "tags": [
3863
+ "Collaborators"
3864
+ ],
3705
3865
  "summary": "获取指定组织或仓库内的继承成员",
3706
3866
  "parameters": [
3707
3867
  {
@@ -3765,6 +3925,9 @@
3765
3925
  {
3766
3926
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
3767
3927
  "operationId": "ListIssues",
3928
+ "tags": [
3929
+ "Issues"
3930
+ ],
3768
3931
  "summary": "查询仓库的 Issues",
3769
3932
  "parameters": [
3770
3933
  {
@@ -3874,6 +4037,9 @@
3874
4037
  {
3875
4038
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
3876
4039
  "operationId": "CreateIssue",
4040
+ "tags": [
4041
+ "Issues"
4042
+ ],
3877
4043
  "summary": "创建一个 Issue",
3878
4044
  "parameters": [
3879
4045
  {
@@ -3921,6 +4087,9 @@
3921
4087
  {
3922
4088
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
3923
4089
  "operationId": "GetIssue",
4090
+ "tags": [
4091
+ "Issues"
4092
+ ],
3924
4093
  "summary": "查询指定的 Issues",
3925
4094
  "parameters": [
3926
4095
  {
@@ -3966,6 +4135,9 @@
3966
4135
  {
3967
4136
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
3968
4137
  "operationId": "UpdateIssue",
4138
+ "tags": [
4139
+ "Issues"
4140
+ ],
3969
4141
  "summary": "更新一个 Issue",
3970
4142
  "parameters": [
3971
4143
  {
@@ -4020,6 +4192,9 @@
4020
4192
  {
4021
4193
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4022
4194
  "operationId": "ListIssueComments",
4195
+ "tags": [
4196
+ "Issues"
4197
+ ],
4023
4198
  "summary": "查询仓库的 Issue 评论列表",
4024
4199
  "parameters": [
4025
4200
  {
@@ -4082,6 +4257,9 @@
4082
4257
  {
4083
4258
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4084
4259
  "operationId": "PostIssueComment",
4260
+ "tags": [
4261
+ "Issues"
4262
+ ],
4085
4263
  "summary": "创建一个 Issue Comment",
4086
4264
  "parameters": [
4087
4265
  {
@@ -4136,6 +4314,9 @@
4136
4314
  {
4137
4315
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4138
4316
  "operationId": "GetIssueComment",
4317
+ "tags": [
4318
+ "Issues"
4319
+ ],
4139
4320
  "summary": "获取一个 Issue Comment",
4140
4321
  "parameters": [
4141
4322
  {
@@ -4188,6 +4369,9 @@
4188
4369
  {
4189
4370
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4190
4371
  "operationId": "PatchIssueComment",
4372
+ "tags": [
4373
+ "Issues"
4374
+ ],
4191
4375
  "summary": "修改一个 Issue Comment",
4192
4376
  "parameters": [
4193
4377
  {
@@ -4249,6 +4433,9 @@
4249
4433
  {
4250
4434
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4251
4435
  "operationId": "DeleteIssueLabels",
4436
+ "tags": [
4437
+ "Issues"
4438
+ ],
4252
4439
  "summary": "清空 Issue 标签",
4253
4440
  "parameters": [
4254
4441
  {
@@ -4285,10 +4472,15 @@
4285
4472
  },
4286
4473
  "path": "/{repo}/-/issues/{number}/labels",
4287
4474
  "method": "delete"
4288
- },
4475
+ }
4476
+ ],
4477
+ "repo.issues.labels.list": [
4289
4478
  {
4290
4479
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4291
4480
  "operationId": "ListIssueLabels",
4481
+ "tags": [
4482
+ "Issues"
4483
+ ],
4292
4484
  "summary": "查询 Issue 的标签(label) 列表",
4293
4485
  "parameters": [
4294
4486
  {
@@ -4345,10 +4537,15 @@
4345
4537
  },
4346
4538
  "path": "/{repo}/-/issues/{number}/labels",
4347
4539
  "method": "get"
4348
- },
4540
+ }
4541
+ ],
4542
+ "repo.issues.labels.post": [
4349
4543
  {
4350
4544
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4351
4545
  "operationId": "PostIssueLabels",
4546
+ "tags": [
4547
+ "Issues"
4548
+ ],
4352
4549
  "summary": "新增 Issue 标签",
4353
4550
  "parameters": [
4354
4551
  {
@@ -4397,10 +4594,15 @@
4397
4594
  },
4398
4595
  "path": "/{repo}/-/issues/{number}/labels",
4399
4596
  "method": "post"
4400
- },
4597
+ }
4598
+ ],
4599
+ "repo.issues.labels.put": [
4401
4600
  {
4402
4601
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4403
4602
  "operationId": "PutIssueLabels",
4603
+ "tags": [
4604
+ "Issues"
4605
+ ],
4404
4606
  "summary": "设置 Issue 标签",
4405
4607
  "parameters": [
4406
4608
  {
@@ -4455,6 +4657,9 @@
4455
4657
  {
4456
4658
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4457
4659
  "operationId": "DeleteIssueLabel",
4660
+ "tags": [
4661
+ "Issues"
4662
+ ],
4458
4663
  "summary": "删除 Issue 标签",
4459
4664
  "parameters": [
4460
4665
  {
@@ -4507,6 +4712,9 @@
4507
4712
  {
4508
4713
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4509
4714
  "operationId": "ListLabels",
4715
+ "tags": [
4716
+ "RepoLabels"
4717
+ ],
4510
4718
  "summary": "查询仓库的标签(label) 列表",
4511
4719
  "parameters": [
4512
4720
  {
@@ -4568,6 +4776,9 @@
4568
4776
  {
4569
4777
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4570
4778
  "operationId": "PostLabel",
4779
+ "tags": [
4780
+ "RepoLabels"
4781
+ ],
4571
4782
  "summary": "创建一个 标签",
4572
4783
  "parameters": [
4573
4784
  {
@@ -4615,6 +4826,9 @@
4615
4826
  {
4616
4827
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4617
4828
  "operationId": "DeleteLabel",
4829
+ "tags": [
4830
+ "RepoLabels"
4831
+ ],
4618
4832
  "summary": "删除指定的仓库标签 label",
4619
4833
  "parameters": [
4620
4834
  {
@@ -4657,6 +4871,9 @@
4657
4871
  {
4658
4872
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4659
4873
  "operationId": "PatchLabel",
4874
+ "tags": [
4875
+ "RepoLabels"
4876
+ ],
4660
4877
  "summary": "更新标签信息",
4661
4878
  "parameters": [
4662
4879
  {
@@ -4711,7 +4928,10 @@
4711
4928
  {
4712
4929
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
4713
4930
  "operationId": "ListAllMembers",
4714
- "summary": "获取指定组织或仓库内的有效成员列表,包含继承成员",
4931
+ "tags": [
4932
+ "Collaborators"
4933
+ ],
4934
+ "summary": "获取指定仓库内的有效成员列表,包含继承成员",
4715
4935
  "parameters": [
4716
4936
  {
4717
4937
  "description": "slug",
@@ -4798,7 +5018,10 @@
4798
5018
  "repo.members.list": [
4799
5019
  {
4800
5020
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
4801
- "operationId": "ListMembers",
5021
+ "operationId": "ListMembersOfRepo",
5022
+ "tags": [
5023
+ "Collaborators"
5024
+ ],
4802
5025
  "summary": "获取指定组织或仓库内的所有直接成员",
4803
5026
  "parameters": [
4804
5027
  {
@@ -4861,7 +5084,10 @@
4861
5084
  "repo.members.accessLevel.get": [
4862
5085
  {
4863
5086
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
4864
- "operationId": "GetMemberAccessLevel",
5087
+ "operationId": "GetMemberAccessLevelOfRepo",
5088
+ "tags": [
5089
+ "Contributors"
5090
+ ],
4865
5091
  "summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息",
4866
5092
  "parameters": [
4867
5093
  {
@@ -4894,7 +5120,10 @@
4894
5120
  "repo.members.delete": [
4895
5121
  {
4896
5122
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
4897
- "operationId": "DeleteMembers",
5123
+ "operationId": "DeleteMembersOfRepo",
5124
+ "tags": [
5125
+ "Collaborators"
5126
+ ],
4898
5127
  "summary": "删除指定组织或仓库的直接成员, 包含两种场景: 1. 作为直接成员的用户自己退出 2. 由管理者移除指定的直接成员",
4899
5128
  "parameters": [
4900
5129
  {
@@ -4924,7 +5153,10 @@
4924
5153
  "repo.members.put": [
4925
5154
  {
4926
5155
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
4927
- "operationId": "UpdateMembers",
5156
+ "operationId": "UpdateMembersOfRepo",
5157
+ "tags": [
5158
+ "Collaborators"
5159
+ ],
4928
5160
  "summary": "更新指定组织或仓库内的直接成员权限信息",
4929
5161
  "parameters": [
4930
5162
  {
@@ -4963,7 +5195,10 @@
4963
5195
  "repo.members.accessLevel.list": [
4964
5196
  {
4965
5197
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
4966
- "operationId": "ListMemberAccessLevel",
5198
+ "operationId": "ListMemberAccessLevelOfRepo",
5199
+ "tags": [
5200
+ "Contributors"
5201
+ ],
4967
5202
  "summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息",
4968
5203
  "parameters": [
4969
5204
  {
@@ -5000,6 +5235,9 @@
5000
5235
  {
5001
5236
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
5002
5237
  "operationId": "ListOutsideCollaborators",
5238
+ "tags": [
5239
+ "Collaborators"
5240
+ ],
5003
5241
  "summary": "获取指定仓库内的外部贡献者",
5004
5242
  "parameters": [
5005
5243
  {
@@ -5062,6 +5300,9 @@
5062
5300
  {
5063
5301
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
5064
5302
  "operationId": "DeleteOutsideCollaborators",
5303
+ "tags": [
5304
+ "Collaborators"
5305
+ ],
5065
5306
  "summary": "删除指定仓库的外部贡献者, 包含两种场景: 1. 作为外部贡献者的用户自己退出仓库 2. 由仓库管理者移除指定的外部贡献者",
5066
5307
  "parameters": [
5067
5308
  {
@@ -5092,6 +5333,9 @@
5092
5333
  {
5093
5334
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
5094
5335
  "operationId": "UpdateOutsideCollaborators",
5336
+ "tags": [
5337
+ "Collaborators"
5338
+ ],
5095
5339
  "summary": "更新指定仓库的外部贡献者权限信息",
5096
5340
  "parameters": [
5097
5341
  {
@@ -5134,6 +5378,9 @@
5134
5378
  {
5135
5379
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
5136
5380
  "operationId": "ListPullsByNumbers",
5381
+ "tags": [
5382
+ "Pulls"
5383
+ ],
5137
5384
  "summary": "[openapi] 根据numbers查询 Pull 列表",
5138
5385
  "parameters": [
5139
5386
  {
@@ -5182,6 +5429,9 @@
5182
5429
  {
5183
5430
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
5184
5431
  "operationId": "ListPulls",
5432
+ "tags": [
5433
+ "Pulls"
5434
+ ],
5185
5435
  "summary": "[openapi] 查询 Pull 列表",
5186
5436
  "parameters": [
5187
5437
  {
@@ -5229,6 +5479,12 @@
5229
5479
  "in": "query",
5230
5480
  "name": "assignees",
5231
5481
  "type": "string"
5482
+ },
5483
+ {
5484
+ "description": "pull base ref, example: refs/heads/master",
5485
+ "in": "query",
5486
+ "name": "base_ref",
5487
+ "type": "string"
5232
5488
  }
5233
5489
  ],
5234
5490
  "responses": {
@@ -5262,6 +5518,9 @@
5262
5518
  {
5263
5519
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
5264
5520
  "operationId": "PostPull",
5521
+ "tags": [
5522
+ "Pulls"
5523
+ ],
5265
5524
  "summary": "[openapi] 新增一个 Pull",
5266
5525
  "parameters": [
5267
5526
  {
@@ -5309,6 +5568,9 @@
5309
5568
  {
5310
5569
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
5311
5570
  "operationId": "GetPull",
5571
+ "tags": [
5572
+ "Pulls"
5573
+ ],
5312
5574
  "summary": "[openapi] 查询指定 Pull",
5313
5575
  "parameters": [
5314
5576
  {
@@ -5354,6 +5616,9 @@
5354
5616
  {
5355
5617
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
5356
5618
  "operationId": "PatchPull",
5619
+ "tags": [
5620
+ "Pulls"
5621
+ ],
5357
5622
  "summary": "[openapi] 更新一个 Pull Request",
5358
5623
  "parameters": [
5359
5624
  {
@@ -5408,6 +5673,9 @@
5408
5673
  {
5409
5674
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
5410
5675
  "operationId": "ListPullComments",
5676
+ "tags": [
5677
+ "Pulls"
5678
+ ],
5411
5679
  "summary": "[openapi] 查询 Pull Comments 列表",
5412
5680
  "parameters": [
5413
5681
  {
@@ -5470,6 +5738,9 @@
5470
5738
  {
5471
5739
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
5472
5740
  "operationId": "PostPullComment",
5741
+ "tags": [
5742
+ "Pulls"
5743
+ ],
5473
5744
  "summary": "[openapi] 新增一个 Pull Comment",
5474
5745
  "parameters": [
5475
5746
  {
@@ -5521,6 +5792,9 @@
5521
5792
  {
5522
5793
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
5523
5794
  "operationId": "DeletePullLabels",
5795
+ "tags": [
5796
+ "Pulls"
5797
+ ],
5524
5798
  "summary": "清空 Pull 标签",
5525
5799
  "parameters": [
5526
5800
  {
@@ -5563,6 +5837,9 @@
5563
5837
  {
5564
5838
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
5565
5839
  "operationId": "ListPullLabels",
5840
+ "tags": [
5841
+ "Pulls"
5842
+ ],
5566
5843
  "summary": "查询 Pull 的标签(label) 列表",
5567
5844
  "parameters": [
5568
5845
  {
@@ -5625,6 +5902,9 @@
5625
5902
  {
5626
5903
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
5627
5904
  "operationId": "PostPullLabels",
5905
+ "tags": [
5906
+ "Pulls"
5907
+ ],
5628
5908
  "summary": "新增 Pull 标签",
5629
5909
  "parameters": [
5630
5910
  {
@@ -5679,6 +5959,9 @@
5679
5959
  {
5680
5960
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
5681
5961
  "operationId": "PutPullLabels",
5962
+ "tags": [
5963
+ "Pulls"
5964
+ ],
5682
5965
  "summary": "设置 Pull 标签",
5683
5966
  "parameters": [
5684
5967
  {
@@ -5733,6 +6016,9 @@
5733
6016
  {
5734
6017
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
5735
6018
  "operationId": "DeletePullLabel",
6019
+ "tags": [
6020
+ "Pulls"
6021
+ ],
5736
6022
  "summary": "删除 Pull 标签",
5737
6023
  "parameters": [
5738
6024
  {
@@ -5785,6 +6071,9 @@
5785
6071
  {
5786
6072
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
5787
6073
  "operationId": "MergePull",
6074
+ "tags": [
6075
+ "Pulls"
6076
+ ],
5788
6077
  "summary": "[openapi] 合并一个 Pull Request",
5789
6078
  "parameters": [
5790
6079
  {
@@ -5839,6 +6128,9 @@
5839
6128
  {
5840
6129
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
5841
6130
  "operationId": "PostPullReview",
6131
+ "tags": [
6132
+ "Pulls"
6133
+ ],
5842
6134
  "summary": "新增一次 pull request 评审",
5843
6135
  "parameters": [
5844
6136
  {
@@ -5896,6 +6188,9 @@
5896
6188
  {
5897
6189
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
5898
6190
  "operationId": "ListReleases",
6191
+ "tags": [
6192
+ "Releases"
6193
+ ],
5899
6194
  "summary": "[openapi] 查询 release 列表",
5900
6195
  "parameters": [
5901
6196
  {
@@ -5951,6 +6246,9 @@
5951
6246
  {
5952
6247
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
5953
6248
  "operationId": "PostRelease",
6249
+ "tags": [
6250
+ "Releases"
6251
+ ],
5954
6252
  "summary": "[openapi] 新增一个 Release",
5955
6253
  "parameters": [
5956
6254
  {
@@ -5998,6 +6296,9 @@
5998
6296
  {
5999
6297
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
6000
6298
  "operationId": "GetReleasesAsset",
6299
+ "tags": [
6300
+ "Assets"
6301
+ ],
6001
6302
  "summary": "发起一个获取 release 附件的请求,返回内容或者 302 到某个地址",
6002
6303
  "parameters": [
6003
6304
  {
@@ -6029,6 +6330,9 @@
6029
6330
  {
6030
6331
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
6031
6332
  "operationId": "GetReleaseByTag",
6333
+ "tags": [
6334
+ "Releases"
6335
+ ],
6032
6336
  "summary": "[openapi] 通过 tag 查询指定 release",
6033
6337
  "parameters": [
6034
6338
  {
@@ -6074,6 +6378,9 @@
6074
6378
  {
6075
6379
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6076
6380
  "operationId": "DeleteRelease",
6381
+ "tags": [
6382
+ "Releases"
6383
+ ],
6077
6384
  "summary": "[openapi] 删除指定的 release",
6078
6385
  "parameters": [
6079
6386
  {
@@ -6116,6 +6423,9 @@
6116
6423
  {
6117
6424
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
6118
6425
  "operationId": "GetReleaseByID",
6426
+ "tags": [
6427
+ "Releases"
6428
+ ],
6119
6429
  "summary": "[openapi] 根据 id\t查询指定 release",
6120
6430
  "parameters": [
6121
6431
  {
@@ -6161,6 +6471,9 @@
6161
6471
  {
6162
6472
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6163
6473
  "operationId": "PatchRelease",
6474
+ "tags": [
6475
+ "Releases"
6476
+ ],
6164
6477
  "summary": "[openapi] 更新 release",
6165
6478
  "parameters": [
6166
6479
  {
@@ -6212,6 +6525,9 @@
6212
6525
  {
6213
6526
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6214
6527
  "operationId": "PostReleaseAssetUploadConfirmation",
6528
+ "tags": [
6529
+ "Releases"
6530
+ ],
6215
6531
  "summary": "[openapi] 确认 Release asset 上传完成",
6216
6532
  "parameters": [
6217
6533
  {
@@ -6268,6 +6584,9 @@
6268
6584
  {
6269
6585
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6270
6586
  "operationId": "PostReleaseAssetUploadURL",
6587
+ "tags": [
6588
+ "Releases"
6589
+ ],
6271
6590
  "summary": "[openapi] 新增一个 Release asset",
6272
6591
  "parameters": [
6273
6592
  {
@@ -6322,6 +6641,9 @@
6322
6641
  {
6323
6642
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6324
6643
  "operationId": "DeleteReleaseAsset",
6644
+ "tags": [
6645
+ "Releases"
6646
+ ],
6325
6647
  "summary": "[openapi] 删除指定的 release asset",
6326
6648
  "parameters": [
6327
6649
  {
@@ -6371,6 +6693,9 @@
6371
6693
  {
6372
6694
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
6373
6695
  "operationId": "GetReleaseAsset",
6696
+ "tags": [
6697
+ "Releases"
6698
+ ],
6374
6699
  "summary": "[openapi] 查询指定的 release asset",
6375
6700
  "parameters": [
6376
6701
  {
@@ -6423,6 +6748,9 @@
6423
6748
  {
6424
6749
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
6425
6750
  "operationId": "ListBranchProtections",
6751
+ "tags": [
6752
+ "GitSettings"
6753
+ ],
6426
6754
  "summary": "查询仓库保护分支规则列表(openapi)",
6427
6755
  "parameters": [
6428
6756
  {
@@ -6464,6 +6792,9 @@
6464
6792
  {
6465
6793
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
6466
6794
  "operationId": "PostBranchProtection",
6795
+ "tags": [
6796
+ "GitSettings"
6797
+ ],
6467
6798
  "summary": "新增仓库保护分支规则(openapi)",
6468
6799
  "parameters": [
6469
6800
  {
@@ -6508,6 +6839,9 @@
6508
6839
  {
6509
6840
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
6510
6841
  "operationId": "DeleteBranchProtection",
6842
+ "tags": [
6843
+ "GitSettings"
6844
+ ],
6511
6845
  "summary": "删除仓库保护分支规则(openapi)",
6512
6846
  "parameters": [
6513
6847
  {
@@ -6550,6 +6884,9 @@
6550
6884
  {
6551
6885
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
6552
6886
  "operationId": "GetBranchProtection",
6887
+ "tags": [
6888
+ "GitSettings"
6889
+ ],
6553
6890
  "summary": "查询仓库保护分支规则(openapi)",
6554
6891
  "parameters": [
6555
6892
  {
@@ -6595,6 +6932,9 @@
6595
6932
  {
6596
6933
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
6597
6934
  "operationId": "PatchBranchProtection",
6935
+ "tags": [
6936
+ "GitSettings"
6937
+ ],
6598
6938
  "summary": "更新仓库保护分支规则(openapi)",
6599
6939
  "parameters": [
6600
6940
  {
@@ -6646,6 +6986,9 @@
6646
6986
  {
6647
6987
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
6648
6988
  "operationId": "GetPipelineSettings",
6989
+ "tags": [
6990
+ "GitSettings"
6991
+ ],
6649
6992
  "summary": "查询仓库云原生构建设置(openapi)",
6650
6993
  "parameters": [
6651
6994
  {
@@ -6684,6 +7027,9 @@
6684
7027
  {
6685
7028
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
6686
7029
  "operationId": "PutPipelineSettings",
7030
+ "tags": [
7031
+ "GitSettings"
7032
+ ],
6687
7033
  "summary": "更新仓库云原生构建设置(openapi)",
6688
7034
  "parameters": [
6689
7035
  {
@@ -6728,6 +7074,9 @@
6728
7074
  {
6729
7075
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
6730
7076
  "operationId": "GetPullRequestSettings",
7077
+ "tags": [
7078
+ "GitSettings"
7079
+ ],
6731
7080
  "summary": "查询仓库合并请求设置(openapi)",
6732
7081
  "parameters": [
6733
7082
  {
@@ -6766,6 +7115,9 @@
6766
7115
  {
6767
7116
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
6768
7117
  "operationId": "PutPullRequestSettings",
7118
+ "tags": [
7119
+ "GitSettings"
7120
+ ],
6769
7121
  "summary": "设置仓库推送设置(openapi)",
6770
7122
  "parameters": [
6771
7123
  {
@@ -6810,6 +7162,9 @@
6810
7162
  {
6811
7163
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
6812
7164
  "operationId": "GetPushLimitSettings",
7165
+ "tags": [
7166
+ "GitSettings"
7167
+ ],
6813
7168
  "summary": "查询仓库推送设置(openapi)",
6814
7169
  "parameters": [
6815
7170
  {
@@ -6848,6 +7203,9 @@
6848
7203
  {
6849
7204
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
6850
7205
  "operationId": "PutPushLimitSettings",
7206
+ "tags": [
7207
+ "GitSettings"
7208
+ ],
6851
7209
  "summary": "设置仓库推送设置(openapi)",
6852
7210
  "parameters": [
6853
7211
  {
@@ -6892,6 +7250,9 @@
6892
7250
  {
6893
7251
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-basic-info:r",
6894
7252
  "operationId": "ListStarUsers",
7253
+ "tags": [
7254
+ "Starring"
7255
+ ],
6895
7256
  "summary": "获取指定仓库的star用户列表",
6896
7257
  "parameters": [
6897
7258
  {
@@ -6945,6 +7306,9 @@
6945
7306
  {
6946
7307
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-base-info:r",
6947
7308
  "operationId": "TopContributors",
7309
+ "tags": [
7310
+ "Collaborators"
7311
+ ],
6948
7312
  "summary": "获取 top 贡献用户",
6949
7313
  "parameters": [
6950
7314
  {
@@ -6981,6 +7345,9 @@
6981
7345
  {
6982
7346
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
6983
7347
  "operationId": "UploadFiles",
7348
+ "tags": [
7349
+ "Assets"
7350
+ ],
6984
7351
  "summary": "发起一个上传 files(issue,pr 及其评论中文档,压缩包等)的请求,返回上传 cos 的 url 和 form 内容",
6985
7352
  "parameters": [
6986
7353
  {
@@ -7017,6 +7384,9 @@
7017
7384
  {
7018
7385
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
7019
7386
  "operationId": "UploadImgs",
7387
+ "tags": [
7388
+ "Assets"
7389
+ ],
7020
7390
  "summary": "发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容",
7021
7391
  "parameters": [
7022
7392
  {
@@ -7053,6 +7423,9 @@
7053
7423
  {
7054
7424
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
7055
7425
  "operationId": "UploadReleases",
7426
+ "tags": [
7427
+ "Assets"
7428
+ ],
7056
7429
  "summary": "发起一个上传 release 附件的请求,返回上传 cos 的 url 和 form 内容",
7057
7430
  "parameters": [
7058
7431
  {
@@ -7096,6 +7469,9 @@
7096
7469
  {
7097
7470
  "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-detail:r",
7098
7471
  "operationId": "GetWorkspaceDetail",
7472
+ "tags": [
7473
+ "Workspace"
7474
+ ],
7099
7475
  "summary": "根据流水线sn查询云原生开发访问地址",
7100
7476
  "parameters": [
7101
7477
  {
@@ -7129,6 +7505,9 @@
7129
7505
  {
7130
7506
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7131
7507
  "operationId": "ListPackages",
7508
+ "tags": [
7509
+ "Artifactory"
7510
+ ],
7132
7511
  "summary": "List all packages",
7133
7512
  "parameters": [
7134
7513
  {
@@ -7211,6 +7590,9 @@
7211
7590
  {
7212
7591
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7213
7592
  "operationId": "HeadPackages",
7593
+ "tags": [
7594
+ "Artifactory"
7595
+ ],
7214
7596
  "summary": "Head all packages",
7215
7597
  "parameters": [
7216
7598
  {
@@ -7281,6 +7663,9 @@
7281
7663
  {
7282
7664
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7283
7665
  "operationId": "GetQuotaByProjectName",
7666
+ "tags": [
7667
+ "Artifactory"
7668
+ ],
7284
7669
  "summary": "Get quota of specific registry",
7285
7670
  "parameters": [
7286
7671
  {
@@ -7327,6 +7712,9 @@
7327
7712
  {
7328
7713
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7329
7714
  "operationId": "GetQuotasByProjectName",
7715
+ "tags": [
7716
+ "Artifactory"
7717
+ ],
7330
7718
  "summary": "Get quotas of packages under one registry",
7331
7719
  "parameters": [
7332
7720
  {
@@ -7400,6 +7788,9 @@
7400
7788
  {
7401
7789
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7402
7790
  "operationId": "DownloadQuotasByProjectName",
7791
+ "tags": [
7792
+ "Artifactory"
7793
+ ],
7403
7794
  "summary": "Download registry quota details",
7404
7795
  "parameters": [
7405
7796
  {
@@ -7473,6 +7864,9 @@
7473
7864
  {
7474
7865
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7475
7866
  "operationId": "GetPackage",
7867
+ "tags": [
7868
+ "Artifactory"
7869
+ ],
7476
7870
  "summary": "Get the specific package",
7477
7871
  "parameters": [
7478
7872
  {
@@ -7520,6 +7914,9 @@
7520
7914
  {
7521
7915
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-package-delete:rw",
7522
7916
  "operationId": "DeletePackageTag",
7917
+ "tags": [
7918
+ "Artifactory"
7919
+ ],
7523
7920
  "summary": "Delete the specific tag under specific package",
7524
7921
  "parameters": [
7525
7922
  {
@@ -7571,6 +7968,9 @@
7571
7968
  {
7572
7969
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7573
7970
  "operationId": "GetPackageTagDetail",
7971
+ "tags": [
7972
+ "Artifactory"
7973
+ ],
7574
7974
  "summary": "Get the specific tag under specific package",
7575
7975
  "parameters": [
7576
7976
  {
@@ -7631,6 +8031,9 @@
7631
8031
  {
7632
8032
  "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7633
8033
  "operationId": "ListPackageTags",
8034
+ "tags": [
8035
+ "Artifactory"
8036
+ ],
7634
8037
  "summary": "List all tags under specific package",
7635
8038
  "parameters": [
7636
8039
  {