node-cnb 1.6.0 → 1.6.1
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 +2 -2057
- package/package.json +1 -1
package/dist/paths.json
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"groups.post": [
|
|
3
3
|
{
|
|
4
|
-
"security": [
|
|
5
|
-
{
|
|
6
|
-
"BearerAuth": []
|
|
7
|
-
}
|
|
8
|
-
],
|
|
9
4
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
10
|
-
"consumes": [
|
|
11
|
-
"application/json"
|
|
12
|
-
],
|
|
13
|
-
"produces": [
|
|
14
|
-
"application/json",
|
|
15
|
-
"application/vnd.cnb.api+json",
|
|
16
|
-
"application/vnd.cnb.web+json"
|
|
17
|
-
],
|
|
18
|
-
"tags": [
|
|
19
|
-
"Organizations"
|
|
20
|
-
],
|
|
21
5
|
"summary": "创建新组织",
|
|
22
6
|
"parameters": [
|
|
23
7
|
{
|
|
@@ -41,23 +25,7 @@
|
|
|
41
25
|
],
|
|
42
26
|
"user.get": [
|
|
43
27
|
{
|
|
44
|
-
"security": [
|
|
45
|
-
{
|
|
46
|
-
"BearerAuth": []
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
28
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
|
|
50
|
-
"consumes": [
|
|
51
|
-
"application/json"
|
|
52
|
-
],
|
|
53
|
-
"produces": [
|
|
54
|
-
"application/json",
|
|
55
|
-
"application/vnd.cnb.api+json",
|
|
56
|
-
"application/vnd.cnb.web+json"
|
|
57
|
-
],
|
|
58
|
-
"tags": [
|
|
59
|
-
"Users"
|
|
60
|
-
],
|
|
61
29
|
"summary": "获取指定用户的详情信息",
|
|
62
30
|
"parameters": [],
|
|
63
31
|
"responses": {
|
|
@@ -74,23 +42,7 @@
|
|
|
74
42
|
],
|
|
75
43
|
"user.post": [
|
|
76
44
|
{
|
|
77
|
-
"security": [
|
|
78
|
-
{
|
|
79
|
-
"BearerAuth": []
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
45
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-profile:rw",
|
|
83
|
-
"consumes": [
|
|
84
|
-
"application/json"
|
|
85
|
-
],
|
|
86
|
-
"produces": [
|
|
87
|
-
"application/json",
|
|
88
|
-
"application/vnd.cnb.api+json",
|
|
89
|
-
"application/vnd.cnb.web+json"
|
|
90
|
-
],
|
|
91
|
-
"tags": [
|
|
92
|
-
"Users"
|
|
93
|
-
],
|
|
94
46
|
"summary": "更新指定用户的详情信息, 可更新内容为: 昵称, 个人签名, 微信公众号名称, 微信公众号二维码链接, 个人网站, 个人地址, 公司名称",
|
|
95
47
|
"parameters": [
|
|
96
48
|
{
|
|
@@ -114,23 +66,7 @@
|
|
|
114
66
|
],
|
|
115
67
|
"user.autocompleteSource.list": [
|
|
116
68
|
{
|
|
117
|
-
"security": [
|
|
118
|
-
{
|
|
119
|
-
"BearerAuth": []
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
69
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
123
|
-
"consumes": [
|
|
124
|
-
"application/json"
|
|
125
|
-
],
|
|
126
|
-
"produces": [
|
|
127
|
-
"application/json",
|
|
128
|
-
"application/vnd.cnb.api+json",
|
|
129
|
-
"application/vnd.cnb.web+json"
|
|
130
|
-
],
|
|
131
|
-
"tags": [
|
|
132
|
-
"Users"
|
|
133
|
-
],
|
|
134
70
|
"summary": "查询当前用户用户拥有指定权限的所有资源列表",
|
|
135
71
|
"parameters": [
|
|
136
72
|
{
|
|
@@ -194,23 +130,7 @@
|
|
|
194
130
|
],
|
|
195
131
|
"user.groups.list": [
|
|
196
132
|
{
|
|
197
|
-
"security": [
|
|
198
|
-
{
|
|
199
|
-
"BearerAuth": []
|
|
200
|
-
}
|
|
201
|
-
],
|
|
202
133
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
203
|
-
"consumes": [
|
|
204
|
-
"application/json"
|
|
205
|
-
],
|
|
206
|
-
"produces": [
|
|
207
|
-
"application/json",
|
|
208
|
-
"application/vnd.cnb.api+json",
|
|
209
|
-
"application/vnd.cnb.web+json"
|
|
210
|
-
],
|
|
211
|
-
"tags": [
|
|
212
|
-
"Organizations"
|
|
213
|
-
],
|
|
214
134
|
"summary": "获取当前用户拥有权限的顶层组织列表",
|
|
215
135
|
"parameters": [
|
|
216
136
|
{
|
|
@@ -265,23 +185,7 @@
|
|
|
265
185
|
],
|
|
266
186
|
"user.groups.listByGroup": [
|
|
267
187
|
{
|
|
268
|
-
"security": [
|
|
269
|
-
{
|
|
270
|
-
"BearerAuth": []
|
|
271
|
-
}
|
|
272
|
-
],
|
|
273
188
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
274
|
-
"consumes": [
|
|
275
|
-
"application/json"
|
|
276
|
-
],
|
|
277
|
-
"produces": [
|
|
278
|
-
"application/json",
|
|
279
|
-
"application/vnd.cnb.api+json",
|
|
280
|
-
"application/vnd.cnb.web+json"
|
|
281
|
-
],
|
|
282
|
-
"tags": [
|
|
283
|
-
"Organizations"
|
|
284
|
-
],
|
|
285
189
|
"summary": "查询当前用户在指定组织下拥有指定权限的子组织列表",
|
|
286
190
|
"parameters": [
|
|
287
191
|
{
|
|
@@ -330,23 +234,7 @@
|
|
|
330
234
|
],
|
|
331
235
|
"user.repos.list": [
|
|
332
236
|
{
|
|
333
|
-
"security": [
|
|
334
|
-
{
|
|
335
|
-
"BearerAuth": []
|
|
336
|
-
}
|
|
337
|
-
],
|
|
338
237
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
339
|
-
"consumes": [
|
|
340
|
-
"application/json"
|
|
341
|
-
],
|
|
342
|
-
"produces": [
|
|
343
|
-
"application/json",
|
|
344
|
-
"application/vnd.cnb.api+json",
|
|
345
|
-
"application/vnd.cnb.web+json"
|
|
346
|
-
],
|
|
347
|
-
"tags": [
|
|
348
|
-
"Repositories"
|
|
349
|
-
],
|
|
350
238
|
"summary": "获取当前用户拥有指定权限及其以上权限的仓库",
|
|
351
239
|
"parameters": [
|
|
352
240
|
{
|
|
@@ -429,23 +317,7 @@
|
|
|
429
317
|
],
|
|
430
318
|
"user.staredRepos.list": [
|
|
431
319
|
{
|
|
432
|
-
"security": [
|
|
433
|
-
{
|
|
434
|
-
"BearerAuth": []
|
|
435
|
-
}
|
|
436
|
-
],
|
|
437
320
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
438
|
-
"consumes": [
|
|
439
|
-
"application/json"
|
|
440
|
-
],
|
|
441
|
-
"produces": [
|
|
442
|
-
"application/json",
|
|
443
|
-
"application/vnd.cnb.api+json",
|
|
444
|
-
"application/vnd.cnb.web+json"
|
|
445
|
-
],
|
|
446
|
-
"tags": [
|
|
447
|
-
"Repositories"
|
|
448
|
-
],
|
|
449
321
|
"summary": "获取当前用户 star 的仓库列表",
|
|
450
322
|
"parameters": [
|
|
451
323
|
{
|
|
@@ -505,23 +377,7 @@
|
|
|
505
377
|
],
|
|
506
378
|
"users.get": [
|
|
507
379
|
{
|
|
508
|
-
"security": [
|
|
509
|
-
{
|
|
510
|
-
"BearerAuth": []
|
|
511
|
-
}
|
|
512
|
-
],
|
|
513
380
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
|
|
514
|
-
"consumes": [
|
|
515
|
-
"application/json"
|
|
516
|
-
],
|
|
517
|
-
"produces": [
|
|
518
|
-
"application/json",
|
|
519
|
-
"application/vnd.cnb.api+json",
|
|
520
|
-
"application/vnd.cnb.web+json"
|
|
521
|
-
],
|
|
522
|
-
"tags": [
|
|
523
|
-
"Users"
|
|
524
|
-
],
|
|
525
381
|
"summary": "获取指定用户的详情信息",
|
|
526
382
|
"parameters": [
|
|
527
383
|
{
|
|
@@ -547,13 +403,7 @@
|
|
|
547
403
|
],
|
|
548
404
|
"users.avatar.get": [
|
|
549
405
|
{
|
|
550
|
-
"security": null,
|
|
551
406
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
|
|
552
|
-
"consumes": null,
|
|
553
|
-
"produces": null,
|
|
554
|
-
"tags": [
|
|
555
|
-
"Assets"
|
|
556
|
-
],
|
|
557
407
|
"summary": "获取指定用户的用户头像",
|
|
558
408
|
"parameters": [
|
|
559
409
|
{
|
|
@@ -579,23 +429,7 @@
|
|
|
579
429
|
],
|
|
580
430
|
"users.followers.list": [
|
|
581
431
|
{
|
|
582
|
-
"security": [
|
|
583
|
-
{
|
|
584
|
-
"BearerAuth": []
|
|
585
|
-
}
|
|
586
|
-
],
|
|
587
432
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
588
|
-
"consumes": [
|
|
589
|
-
"application/json"
|
|
590
|
-
],
|
|
591
|
-
"produces": [
|
|
592
|
-
"application/json",
|
|
593
|
-
"application/vnd.cnb.api+json",
|
|
594
|
-
"application/vnd.cnb.web+json"
|
|
595
|
-
],
|
|
596
|
-
"tags": [
|
|
597
|
-
"Followers"
|
|
598
|
-
],
|
|
599
433
|
"summary": "获取指定用户的粉丝列表",
|
|
600
434
|
"parameters": [
|
|
601
435
|
{
|
|
@@ -638,23 +472,7 @@
|
|
|
638
472
|
],
|
|
639
473
|
"users.following.list": [
|
|
640
474
|
{
|
|
641
|
-
"security": [
|
|
642
|
-
{
|
|
643
|
-
"BearerAuth": []
|
|
644
|
-
}
|
|
645
|
-
],
|
|
646
475
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
647
|
-
"consumes": [
|
|
648
|
-
"application/json"
|
|
649
|
-
],
|
|
650
|
-
"produces": [
|
|
651
|
-
"application/json",
|
|
652
|
-
"application/vnd.cnb.api+json",
|
|
653
|
-
"application/vnd.cnb.web+json"
|
|
654
|
-
],
|
|
655
|
-
"tags": [
|
|
656
|
-
"Followers"
|
|
657
|
-
],
|
|
658
476
|
"summary": "获取指定用户的关注人列表",
|
|
659
477
|
"parameters": [
|
|
660
478
|
{
|
|
@@ -697,23 +515,7 @@
|
|
|
697
515
|
],
|
|
698
516
|
"users.groups.get": [
|
|
699
517
|
{
|
|
700
|
-
"security": [
|
|
701
|
-
{
|
|
702
|
-
"BearerAuth": []
|
|
703
|
-
}
|
|
704
|
-
],
|
|
705
518
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
706
|
-
"consumes": [
|
|
707
|
-
"application/json"
|
|
708
|
-
],
|
|
709
|
-
"produces": [
|
|
710
|
-
"application/json",
|
|
711
|
-
"application/vnd.cnb.api+json",
|
|
712
|
-
"application/vnd.cnb.web+json"
|
|
713
|
-
],
|
|
714
|
-
"tags": [
|
|
715
|
-
"Organizations"
|
|
716
|
-
],
|
|
717
519
|
"summary": "获取指定用户拥有权限的顶层组织列表",
|
|
718
520
|
"parameters": [
|
|
719
521
|
{
|
|
@@ -777,23 +579,7 @@
|
|
|
777
579
|
],
|
|
778
580
|
"users.pinnedRepos.list": [
|
|
779
581
|
{
|
|
780
|
-
"security": [
|
|
781
|
-
{
|
|
782
|
-
"BearerAuth": []
|
|
783
|
-
}
|
|
784
|
-
],
|
|
785
582
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
786
|
-
"consumes": [
|
|
787
|
-
"application/json"
|
|
788
|
-
],
|
|
789
|
-
"produces": [
|
|
790
|
-
"application/json",
|
|
791
|
-
"application/vnd.cnb.api+json",
|
|
792
|
-
"application/vnd.cnb.web+json"
|
|
793
|
-
],
|
|
794
|
-
"tags": [
|
|
795
|
-
"Repositories"
|
|
796
|
-
],
|
|
797
583
|
"summary": "获取指定用户的用户仓库墙",
|
|
798
584
|
"parameters": [
|
|
799
585
|
{
|
|
@@ -822,23 +608,7 @@
|
|
|
822
608
|
],
|
|
823
609
|
"users.repos.list": [
|
|
824
610
|
{
|
|
825
|
-
"security": [
|
|
826
|
-
{
|
|
827
|
-
"BearerAuth": []
|
|
828
|
-
}
|
|
829
|
-
],
|
|
830
611
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
831
|
-
"consumes": [
|
|
832
|
-
"application/json"
|
|
833
|
-
],
|
|
834
|
-
"produces": [
|
|
835
|
-
"application/json",
|
|
836
|
-
"application/vnd.cnb.api+json",
|
|
837
|
-
"application/vnd.cnb.web+json"
|
|
838
|
-
],
|
|
839
|
-
"tags": [
|
|
840
|
-
"Repositories"
|
|
841
|
-
],
|
|
842
612
|
"summary": "获取指定用户有指定以上权限并且客人态可见的仓库",
|
|
843
613
|
"parameters": [
|
|
844
614
|
{
|
|
@@ -918,23 +688,7 @@
|
|
|
918
688
|
],
|
|
919
689
|
"users.staredRepos.list": [
|
|
920
690
|
{
|
|
921
|
-
"security": [
|
|
922
|
-
{
|
|
923
|
-
"BearerAuth": []
|
|
924
|
-
}
|
|
925
|
-
],
|
|
926
691
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
927
|
-
"consumes": [
|
|
928
|
-
"application/json"
|
|
929
|
-
],
|
|
930
|
-
"produces": [
|
|
931
|
-
"application/json",
|
|
932
|
-
"application/vnd.cnb.api+json",
|
|
933
|
-
"application/vnd.cnb.web+json"
|
|
934
|
-
],
|
|
935
|
-
"tags": [
|
|
936
|
-
"Starring"
|
|
937
|
-
],
|
|
938
692
|
"summary": "获取指定用户的 star 仓库列表",
|
|
939
693
|
"parameters": [
|
|
940
694
|
{
|
|
@@ -1002,23 +756,7 @@
|
|
|
1002
756
|
],
|
|
1003
757
|
"workspace.delete.post": [
|
|
1004
758
|
{
|
|
1005
|
-
"security": [
|
|
1006
|
-
{
|
|
1007
|
-
"BearerAuth": []
|
|
1008
|
-
}
|
|
1009
|
-
],
|
|
1010
759
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:rw",
|
|
1011
|
-
"consumes": [
|
|
1012
|
-
"application/json"
|
|
1013
|
-
],
|
|
1014
|
-
"produces": [
|
|
1015
|
-
"application/json",
|
|
1016
|
-
"application/vnd.cnb.api+json",
|
|
1017
|
-
"application/vnd.cnb.web+json"
|
|
1018
|
-
],
|
|
1019
|
-
"tags": [
|
|
1020
|
-
"Workspace"
|
|
1021
|
-
],
|
|
1022
760
|
"summary": "删除我的云原生开发环境",
|
|
1023
761
|
"parameters": [
|
|
1024
762
|
{
|
|
@@ -1045,23 +783,7 @@
|
|
|
1045
783
|
],
|
|
1046
784
|
"workspace.list.get": [
|
|
1047
785
|
{
|
|
1048
|
-
"security": [
|
|
1049
|
-
{
|
|
1050
|
-
"BearerAuth": []
|
|
1051
|
-
}
|
|
1052
|
-
],
|
|
1053
786
|
"description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
|
|
1054
|
-
"consumes": [
|
|
1055
|
-
"application/json"
|
|
1056
|
-
],
|
|
1057
|
-
"produces": [
|
|
1058
|
-
"application/json",
|
|
1059
|
-
"application/vnd.cnb.api+json",
|
|
1060
|
-
"application/vnd.cnb.web+json"
|
|
1061
|
-
],
|
|
1062
|
-
"tags": [
|
|
1063
|
-
"Workspace"
|
|
1064
|
-
],
|
|
1065
787
|
"summary": "获取我的云原生开发环境列表",
|
|
1066
788
|
"parameters": [
|
|
1067
789
|
{
|
|
@@ -1121,23 +843,7 @@
|
|
|
1121
843
|
],
|
|
1122
844
|
"group.get": [
|
|
1123
845
|
{
|
|
1124
|
-
"security": [
|
|
1125
|
-
{
|
|
1126
|
-
"BearerAuth": []
|
|
1127
|
-
}
|
|
1128
|
-
],
|
|
1129
846
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
|
|
1130
|
-
"consumes": [
|
|
1131
|
-
"application/json"
|
|
1132
|
-
],
|
|
1133
|
-
"produces": [
|
|
1134
|
-
"application/json",
|
|
1135
|
-
"application/vnd.cnb.api+json",
|
|
1136
|
-
"application/vnd.cnb.web+json"
|
|
1137
|
-
],
|
|
1138
|
-
"tags": [
|
|
1139
|
-
"Organizations"
|
|
1140
|
-
],
|
|
1141
847
|
"summary": "获取指定组织信息",
|
|
1142
848
|
"parameters": [
|
|
1143
849
|
{
|
|
@@ -1160,23 +866,7 @@
|
|
|
1160
866
|
"method": "get"
|
|
1161
867
|
},
|
|
1162
868
|
{
|
|
1163
|
-
"security": [
|
|
1164
|
-
{
|
|
1165
|
-
"BearerAuth": []
|
|
1166
|
-
}
|
|
1167
|
-
],
|
|
1168
869
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1169
|
-
"consumes": [
|
|
1170
|
-
"application/json"
|
|
1171
|
-
],
|
|
1172
|
-
"produces": [
|
|
1173
|
-
"application/json",
|
|
1174
|
-
"application/vnd.cnb.api+json",
|
|
1175
|
-
"application/vnd.cnb.web+json"
|
|
1176
|
-
],
|
|
1177
|
-
"tags": [
|
|
1178
|
-
"Organizations"
|
|
1179
|
-
],
|
|
1180
870
|
"summary": "更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱",
|
|
1181
871
|
"parameters": [
|
|
1182
872
|
{
|
|
@@ -1207,23 +897,7 @@
|
|
|
1207
897
|
],
|
|
1208
898
|
"group.avatar.put": [
|
|
1209
899
|
{
|
|
1210
|
-
"security": [
|
|
1211
|
-
{
|
|
1212
|
-
"BearerAuth": []
|
|
1213
|
-
}
|
|
1214
|
-
],
|
|
1215
900
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1216
|
-
"consumes": [
|
|
1217
|
-
"application/json"
|
|
1218
|
-
],
|
|
1219
|
-
"produces": [
|
|
1220
|
-
"application/json",
|
|
1221
|
-
"application/vnd.cnb.api+json",
|
|
1222
|
-
"application/vnd.cnb.web+json"
|
|
1223
|
-
],
|
|
1224
|
-
"tags": [
|
|
1225
|
-
"Organizations"
|
|
1226
|
-
],
|
|
1227
901
|
"summary": "更新组织头像 URL 地址",
|
|
1228
902
|
"parameters": [
|
|
1229
903
|
{
|
|
@@ -1254,23 +928,7 @@
|
|
|
1254
928
|
],
|
|
1255
929
|
"group.inheritMembers.list": [
|
|
1256
930
|
{
|
|
1257
|
-
"security": [
|
|
1258
|
-
{
|
|
1259
|
-
"BearerAuth": []
|
|
1260
|
-
}
|
|
1261
|
-
],
|
|
1262
931
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1263
|
-
"consumes": [
|
|
1264
|
-
"application/json"
|
|
1265
|
-
],
|
|
1266
|
-
"produces": [
|
|
1267
|
-
"application/json",
|
|
1268
|
-
"application/vnd.cnb.api+json",
|
|
1269
|
-
"application/vnd.cnb.web+json"
|
|
1270
|
-
],
|
|
1271
|
-
"tags": [
|
|
1272
|
-
"Collaborators"
|
|
1273
|
-
],
|
|
1274
932
|
"summary": "获取指定组织或仓库内的继承成员",
|
|
1275
933
|
"parameters": [
|
|
1276
934
|
{
|
|
@@ -1332,23 +990,7 @@
|
|
|
1332
990
|
],
|
|
1333
991
|
"group.listMembers.list": [
|
|
1334
992
|
{
|
|
1335
|
-
"security": [
|
|
1336
|
-
{
|
|
1337
|
-
"BearerAuth": []
|
|
1338
|
-
}
|
|
1339
|
-
],
|
|
1340
993
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1341
|
-
"consumes": [
|
|
1342
|
-
"application/json"
|
|
1343
|
-
],
|
|
1344
|
-
"produces": [
|
|
1345
|
-
"application/json",
|
|
1346
|
-
"application/vnd.cnb.api+json",
|
|
1347
|
-
"application/vnd.cnb.web+json"
|
|
1348
|
-
],
|
|
1349
|
-
"tags": [
|
|
1350
|
-
"Collaborators"
|
|
1351
|
-
],
|
|
1352
994
|
"summary": "获取指定组织或仓库内的有效成员列表,包含继承成员",
|
|
1353
995
|
"parameters": [
|
|
1354
996
|
{
|
|
@@ -1435,17 +1077,7 @@
|
|
|
1435
1077
|
],
|
|
1436
1078
|
"group.logos.put": [
|
|
1437
1079
|
{
|
|
1438
|
-
"security": [
|
|
1439
|
-
{
|
|
1440
|
-
"BearerAuth": []
|
|
1441
|
-
}
|
|
1442
|
-
],
|
|
1443
1080
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1444
|
-
"consumes": null,
|
|
1445
|
-
"produces": null,
|
|
1446
|
-
"tags": [
|
|
1447
|
-
"Assets"
|
|
1448
|
-
],
|
|
1449
1081
|
"summary": "确认上传的logo",
|
|
1450
1082
|
"parameters": [
|
|
1451
1083
|
{
|
|
@@ -1475,17 +1107,7 @@
|
|
|
1475
1107
|
],
|
|
1476
1108
|
"group.logos.get": [
|
|
1477
1109
|
{
|
|
1478
|
-
"security": [
|
|
1479
|
-
{
|
|
1480
|
-
"BearerAuth": []
|
|
1481
|
-
}
|
|
1482
|
-
],
|
|
1483
1110
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
|
|
1484
|
-
"consumes": null,
|
|
1485
|
-
"produces": null,
|
|
1486
|
-
"tags": [
|
|
1487
|
-
"Assets"
|
|
1488
|
-
],
|
|
1489
1111
|
"summary": "发起一个获取 logo 的请求,返回内容或者 302 到某个地址",
|
|
1490
1112
|
"parameters": [
|
|
1491
1113
|
{
|
|
@@ -1514,23 +1136,7 @@
|
|
|
1514
1136
|
],
|
|
1515
1137
|
"group.members.list": [
|
|
1516
1138
|
{
|
|
1517
|
-
"security": [
|
|
1518
|
-
{
|
|
1519
|
-
"BearerAuth": []
|
|
1520
|
-
}
|
|
1521
|
-
],
|
|
1522
1139
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1523
|
-
"consumes": [
|
|
1524
|
-
"application/json"
|
|
1525
|
-
],
|
|
1526
|
-
"produces": [
|
|
1527
|
-
"application/json",
|
|
1528
|
-
"application/vnd.cnb.api+json",
|
|
1529
|
-
"application/vnd.cnb.web+json"
|
|
1530
|
-
],
|
|
1531
|
-
"tags": [
|
|
1532
|
-
"Collaborators"
|
|
1533
|
-
],
|
|
1534
1140
|
"summary": "获取指定组织或仓库内的所有直接成员",
|
|
1535
1141
|
"parameters": [
|
|
1536
1142
|
{
|
|
@@ -1592,23 +1198,7 @@
|
|
|
1592
1198
|
],
|
|
1593
1199
|
"group.members.accessLevel.get": [
|
|
1594
1200
|
{
|
|
1595
|
-
"security": [
|
|
1596
|
-
{
|
|
1597
|
-
"BearerAuth": []
|
|
1598
|
-
}
|
|
1599
|
-
],
|
|
1600
1201
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1601
|
-
"consumes": [
|
|
1602
|
-
"application/json"
|
|
1603
|
-
],
|
|
1604
|
-
"produces": [
|
|
1605
|
-
"application/json",
|
|
1606
|
-
"application/vnd.cnb.api+json",
|
|
1607
|
-
"application/vnd.cnb.web+json"
|
|
1608
|
-
],
|
|
1609
|
-
"tags": [
|
|
1610
|
-
"Contributors"
|
|
1611
|
-
],
|
|
1612
1202
|
"summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息",
|
|
1613
1203
|
"parameters": [
|
|
1614
1204
|
{
|
|
@@ -1640,23 +1230,7 @@
|
|
|
1640
1230
|
],
|
|
1641
1231
|
"group.members.delete": [
|
|
1642
1232
|
{
|
|
1643
|
-
"security": [
|
|
1644
|
-
{
|
|
1645
|
-
"BearerAuth": []
|
|
1646
|
-
}
|
|
1647
|
-
],
|
|
1648
1233
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1649
|
-
"consumes": [
|
|
1650
|
-
"application/json"
|
|
1651
|
-
],
|
|
1652
|
-
"produces": [
|
|
1653
|
-
"application/json",
|
|
1654
|
-
"application/vnd.cnb.api+json",
|
|
1655
|
-
"application/vnd.cnb.web+json"
|
|
1656
|
-
],
|
|
1657
|
-
"tags": [
|
|
1658
|
-
"Collaborators"
|
|
1659
|
-
],
|
|
1660
1234
|
"summary": "删除指定组织或仓库的直接成员, 包含两种场景: 1. 作为直接成员的用户自己退出 2. 由管理者移除指定的直接成员",
|
|
1661
1235
|
"parameters": [
|
|
1662
1236
|
{
|
|
@@ -1685,23 +1259,7 @@
|
|
|
1685
1259
|
],
|
|
1686
1260
|
"group.members.put": [
|
|
1687
1261
|
{
|
|
1688
|
-
"security": [
|
|
1689
|
-
{
|
|
1690
|
-
"BearerAuth": []
|
|
1691
|
-
}
|
|
1692
|
-
],
|
|
1693
1262
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1694
|
-
"consumes": [
|
|
1695
|
-
"application/json"
|
|
1696
|
-
],
|
|
1697
|
-
"produces": [
|
|
1698
|
-
"application/json",
|
|
1699
|
-
"application/vnd.cnb.api+json",
|
|
1700
|
-
"application/vnd.cnb.web+json"
|
|
1701
|
-
],
|
|
1702
|
-
"tags": [
|
|
1703
|
-
"Collaborators"
|
|
1704
|
-
],
|
|
1705
1263
|
"summary": "更新指定组织或仓库内的直接成员权限信息",
|
|
1706
1264
|
"parameters": [
|
|
1707
1265
|
{
|
|
@@ -1739,23 +1297,7 @@
|
|
|
1739
1297
|
],
|
|
1740
1298
|
"group.members.accessLevel.list": [
|
|
1741
1299
|
{
|
|
1742
|
-
"security": [
|
|
1743
|
-
{
|
|
1744
|
-
"BearerAuth": []
|
|
1745
|
-
}
|
|
1746
|
-
],
|
|
1747
1300
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1748
|
-
"consumes": [
|
|
1749
|
-
"application/json"
|
|
1750
|
-
],
|
|
1751
|
-
"produces": [
|
|
1752
|
-
"application/json",
|
|
1753
|
-
"application/vnd.cnb.api+json",
|
|
1754
|
-
"application/vnd.cnb.web+json"
|
|
1755
|
-
],
|
|
1756
|
-
"tags": [
|
|
1757
|
-
"Contributors"
|
|
1758
|
-
],
|
|
1759
1301
|
"summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息",
|
|
1760
1302
|
"parameters": [
|
|
1761
1303
|
{
|
|
@@ -1790,23 +1332,7 @@
|
|
|
1790
1332
|
],
|
|
1791
1333
|
"group.pinnedRepos.list": [
|
|
1792
1334
|
{
|
|
1793
|
-
"security": [
|
|
1794
|
-
{
|
|
1795
|
-
"BearerAuth": []
|
|
1796
|
-
}
|
|
1797
|
-
],
|
|
1798
1335
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
1799
|
-
"consumes": [
|
|
1800
|
-
"application/json"
|
|
1801
|
-
],
|
|
1802
|
-
"produces": [
|
|
1803
|
-
"application/json",
|
|
1804
|
-
"application/vnd.cnb.api+json",
|
|
1805
|
-
"application/vnd.cnb.web+json"
|
|
1806
|
-
],
|
|
1807
|
-
"tags": [
|
|
1808
|
-
"Repositories"
|
|
1809
|
-
],
|
|
1810
1336
|
"summary": "获取指定组织的仓库墙列表",
|
|
1811
1337
|
"parameters": [
|
|
1812
1338
|
{
|
|
@@ -1834,23 +1360,7 @@
|
|
|
1834
1360
|
],
|
|
1835
1361
|
"group.pinnedRepos.put": [
|
|
1836
1362
|
{
|
|
1837
|
-
"security": [
|
|
1838
|
-
{
|
|
1839
|
-
"BearerAuth": []
|
|
1840
|
-
}
|
|
1841
|
-
],
|
|
1842
1363
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
1843
|
-
"consumes": [
|
|
1844
|
-
"application/json"
|
|
1845
|
-
],
|
|
1846
|
-
"produces": [
|
|
1847
|
-
"application/json",
|
|
1848
|
-
"application/vnd.cnb.api+json",
|
|
1849
|
-
"application/vnd.cnb.web+json"
|
|
1850
|
-
],
|
|
1851
|
-
"tags": [
|
|
1852
|
-
"Repositories"
|
|
1853
|
-
],
|
|
1854
1364
|
"summary": "更新指定组织仓库墙",
|
|
1855
1365
|
"parameters": [
|
|
1856
1366
|
{
|
|
@@ -1890,20 +1400,7 @@
|
|
|
1890
1400
|
],
|
|
1891
1401
|
"group.repos.list": [
|
|
1892
1402
|
{
|
|
1893
|
-
"security": [
|
|
1894
|
-
{
|
|
1895
|
-
"BearerAuth": []
|
|
1896
|
-
}
|
|
1897
|
-
],
|
|
1898
1403
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
|
|
1899
|
-
"consumes": null,
|
|
1900
|
-
"produces": [
|
|
1901
|
-
"application/vnd.cnb.api+json",
|
|
1902
|
-
"application/vnd.cnb.web+json"
|
|
1903
|
-
],
|
|
1904
|
-
"tags": [
|
|
1905
|
-
"Repositories"
|
|
1906
|
-
],
|
|
1907
1404
|
"summary": "查询组织下访问用户有权限查看到仓库",
|
|
1908
1405
|
"parameters": [
|
|
1909
1406
|
{
|
|
@@ -1991,23 +1488,7 @@
|
|
|
1991
1488
|
],
|
|
1992
1489
|
"group.repos.post": [
|
|
1993
1490
|
{
|
|
1994
|
-
"security": [
|
|
1995
|
-
{
|
|
1996
|
-
"BearerAuth": []
|
|
1997
|
-
}
|
|
1998
|
-
],
|
|
1999
1491
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:rw",
|
|
2000
|
-
"consumes": [
|
|
2001
|
-
"application/json"
|
|
2002
|
-
],
|
|
2003
|
-
"produces": [
|
|
2004
|
-
"application/json",
|
|
2005
|
-
"application/vnd.cnb.api+json",
|
|
2006
|
-
"application/vnd.cnb.web+json"
|
|
2007
|
-
],
|
|
2008
|
-
"tags": [
|
|
2009
|
-
"Repositories"
|
|
2010
|
-
],
|
|
2011
1492
|
"summary": "创建仓库",
|
|
2012
1493
|
"parameters": [
|
|
2013
1494
|
{
|
|
@@ -2039,19 +1520,7 @@
|
|
|
2039
1520
|
],
|
|
2040
1521
|
"group.settings.get": [
|
|
2041
1522
|
{
|
|
2042
|
-
"security": null,
|
|
2043
1523
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
|
|
2044
|
-
"consumes": [
|
|
2045
|
-
"application/json"
|
|
2046
|
-
],
|
|
2047
|
-
"produces": [
|
|
2048
|
-
"application/json",
|
|
2049
|
-
"application/vnd.cnb.api+json",
|
|
2050
|
-
"application/vnd.cnb.web+json"
|
|
2051
|
-
],
|
|
2052
|
-
"tags": [
|
|
2053
|
-
"Organizations"
|
|
2054
|
-
],
|
|
2055
1524
|
"summary": "获取指定组织的配置详情",
|
|
2056
1525
|
"parameters": [
|
|
2057
1526
|
{
|
|
@@ -2076,23 +1545,7 @@
|
|
|
2076
1545
|
],
|
|
2077
1546
|
"group.settings.put": [
|
|
2078
1547
|
{
|
|
2079
|
-
"security": [
|
|
2080
|
-
{
|
|
2081
|
-
"BearerAuth": []
|
|
2082
|
-
}
|
|
2083
|
-
],
|
|
2084
1548
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
2085
|
-
"consumes": [
|
|
2086
|
-
"application/json"
|
|
2087
|
-
],
|
|
2088
|
-
"produces": [
|
|
2089
|
-
"application/json",
|
|
2090
|
-
"application/vnd.cnb.api+json",
|
|
2091
|
-
"application/vnd.cnb.web+json"
|
|
2092
|
-
],
|
|
2093
|
-
"tags": [
|
|
2094
|
-
"Organizations"
|
|
2095
|
-
],
|
|
2096
1549
|
"summary": "更新指定组织的配置, 可更新内容为: 是否对外隐藏组织成员",
|
|
2097
1550
|
"parameters": [
|
|
2098
1551
|
{
|
|
@@ -2123,20 +1576,7 @@
|
|
|
2123
1576
|
],
|
|
2124
1577
|
"group.subGroups.list": [
|
|
2125
1578
|
{
|
|
2126
|
-
"security": [
|
|
2127
|
-
{
|
|
2128
|
-
"BearerAuth": []
|
|
2129
|
-
}
|
|
2130
|
-
],
|
|
2131
1579
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
|
|
2132
|
-
"consumes": null,
|
|
2133
|
-
"produces": [
|
|
2134
|
-
"application/vnd.cnb.api+json",
|
|
2135
|
-
"application/vnd.cnb.web+json"
|
|
2136
|
-
],
|
|
2137
|
-
"tags": [
|
|
2138
|
-
"Organizations"
|
|
2139
|
-
],
|
|
2140
1580
|
"summary": "获取指定组织下的子组织列表",
|
|
2141
1581
|
"parameters": [
|
|
2142
1582
|
{
|
|
@@ -2187,22 +1627,7 @@
|
|
|
2187
1627
|
],
|
|
2188
1628
|
"group.upload.logos.post": [
|
|
2189
1629
|
{
|
|
2190
|
-
"security": [
|
|
2191
|
-
{
|
|
2192
|
-
"BearerAuth": []
|
|
2193
|
-
}
|
|
2194
|
-
],
|
|
2195
1630
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
|
|
2196
|
-
"consumes": [
|
|
2197
|
-
"application/json"
|
|
2198
|
-
],
|
|
2199
|
-
"produces": [
|
|
2200
|
-
"application/json",
|
|
2201
|
-
"application/vnd.cnb.web+json"
|
|
2202
|
-
],
|
|
2203
|
-
"tags": [
|
|
2204
|
-
"Assets"
|
|
2205
|
-
],
|
|
2206
1631
|
"summary": "发起一个上传 logo 的请求,返回上传 cos 的 url 和 form 内容",
|
|
2207
1632
|
"parameters": [
|
|
2208
1633
|
{
|
|
@@ -2237,20 +1662,7 @@
|
|
|
2237
1662
|
],
|
|
2238
1663
|
"registry.packages.name.tag.delete": [
|
|
2239
1664
|
{
|
|
2240
|
-
"security": [
|
|
2241
|
-
{
|
|
2242
|
-
"BearerAuth": []
|
|
2243
|
-
}
|
|
2244
|
-
],
|
|
2245
1665
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-registry-delete:rw",
|
|
2246
|
-
"consumes": null,
|
|
2247
|
-
"produces": [
|
|
2248
|
-
"application/vnd.cnb.api+json",
|
|
2249
|
-
"application/vnd.cnb.web+json"
|
|
2250
|
-
],
|
|
2251
|
-
"tags": [
|
|
2252
|
-
"Artifactory"
|
|
2253
|
-
],
|
|
2254
1666
|
"summary": "Delete the specific tag",
|
|
2255
1667
|
"parameters": [
|
|
2256
1668
|
{
|
|
@@ -2297,23 +1709,7 @@
|
|
|
2297
1709
|
],
|
|
2298
1710
|
"repo.get": [
|
|
2299
1711
|
{
|
|
2300
|
-
"security": [
|
|
2301
|
-
{
|
|
2302
|
-
"BearerAuth": []
|
|
2303
|
-
}
|
|
2304
|
-
],
|
|
2305
1712
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-basic-info:r",
|
|
2306
|
-
"consumes": [
|
|
2307
|
-
"application/json"
|
|
2308
|
-
],
|
|
2309
|
-
"produces": [
|
|
2310
|
-
"application/json",
|
|
2311
|
-
"application/vnd.cnb.api+json",
|
|
2312
|
-
"application/vnd.cnb.web+json"
|
|
2313
|
-
],
|
|
2314
|
-
"tags": [
|
|
2315
|
-
"Repositories"
|
|
2316
|
-
],
|
|
2317
1713
|
"summary": "获取指定仓库信息",
|
|
2318
1714
|
"parameters": [
|
|
2319
1715
|
{
|
|
@@ -2336,23 +1732,7 @@
|
|
|
2336
1732
|
"method": "get"
|
|
2337
1733
|
},
|
|
2338
1734
|
{
|
|
2339
|
-
"security": [
|
|
2340
|
-
{
|
|
2341
|
-
"BearerAuth": []
|
|
2342
|
-
}
|
|
2343
|
-
],
|
|
2344
1735
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
2345
|
-
"consumes": [
|
|
2346
|
-
"application/json"
|
|
2347
|
-
],
|
|
2348
|
-
"produces": [
|
|
2349
|
-
"application/json",
|
|
2350
|
-
"application/vnd.cnb.api+json",
|
|
2351
|
-
"application/vnd.cnb.web+json"
|
|
2352
|
-
],
|
|
2353
|
-
"tags": [
|
|
2354
|
-
"Repositories"
|
|
2355
|
-
],
|
|
2356
1736
|
"summary": "更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证",
|
|
2357
1737
|
"parameters": [
|
|
2358
1738
|
{
|
|
@@ -2383,23 +1763,7 @@
|
|
|
2383
1763
|
],
|
|
2384
1764
|
"repo.build.logs.get": [
|
|
2385
1765
|
{
|
|
2386
|
-
"security": [
|
|
2387
|
-
{
|
|
2388
|
-
"BearerAuth": []
|
|
2389
|
-
}
|
|
2390
|
-
],
|
|
2391
1766
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:r",
|
|
2392
|
-
"consumes": [
|
|
2393
|
-
"application/json"
|
|
2394
|
-
],
|
|
2395
|
-
"produces": [
|
|
2396
|
-
"application/json",
|
|
2397
|
-
"application/vnd.cnb.api+json",
|
|
2398
|
-
"application/vnd.cnb.web+json"
|
|
2399
|
-
],
|
|
2400
|
-
"tags": [
|
|
2401
|
-
"Build"
|
|
2402
|
-
],
|
|
2403
1767
|
"summary": "查询流水线构建列表",
|
|
2404
1768
|
"parameters": [
|
|
2405
1769
|
{
|
|
@@ -2496,23 +1860,7 @@
|
|
|
2496
1860
|
],
|
|
2497
1861
|
"repo.build.start.post": [
|
|
2498
1862
|
{
|
|
2499
|
-
"security": [
|
|
2500
|
-
{
|
|
2501
|
-
"BearerAuth": []
|
|
2502
|
-
}
|
|
2503
|
-
],
|
|
2504
1863
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:rw",
|
|
2505
|
-
"consumes": [
|
|
2506
|
-
"application/json"
|
|
2507
|
-
],
|
|
2508
|
-
"produces": [
|
|
2509
|
-
"application/json",
|
|
2510
|
-
"application/vnd.cnb.api+json",
|
|
2511
|
-
"application/vnd.cnb.web+json"
|
|
2512
|
-
],
|
|
2513
|
-
"tags": [
|
|
2514
|
-
"Build"
|
|
2515
|
-
],
|
|
2516
1864
|
"summary": "开始一个构建",
|
|
2517
1865
|
"parameters": [
|
|
2518
1866
|
{
|
|
@@ -2549,23 +1897,7 @@
|
|
|
2549
1897
|
],
|
|
2550
1898
|
"repo.build.status.get": [
|
|
2551
1899
|
{
|
|
2552
|
-
"security": [
|
|
2553
|
-
{
|
|
2554
|
-
"BearerAuth": []
|
|
2555
|
-
}
|
|
2556
|
-
],
|
|
2557
1900
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:r",
|
|
2558
|
-
"consumes": [
|
|
2559
|
-
"application/json"
|
|
2560
|
-
],
|
|
2561
|
-
"produces": [
|
|
2562
|
-
"application/json",
|
|
2563
|
-
"application/vnd.cnb.api+json",
|
|
2564
|
-
"application/vnd.cnb.web+json"
|
|
2565
|
-
],
|
|
2566
|
-
"tags": [
|
|
2567
|
-
"Build"
|
|
2568
|
-
],
|
|
2569
1901
|
"summary": "查询流水线构建状态",
|
|
2570
1902
|
"parameters": [
|
|
2571
1903
|
{
|
|
@@ -2597,23 +1929,7 @@
|
|
|
2597
1929
|
],
|
|
2598
1930
|
"repo.build.stop.post": [
|
|
2599
1931
|
{
|
|
2600
|
-
"security": [
|
|
2601
|
-
{
|
|
2602
|
-
"BearerAuth": []
|
|
2603
|
-
}
|
|
2604
|
-
],
|
|
2605
1932
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:rw",
|
|
2606
|
-
"consumes": [
|
|
2607
|
-
"application/json"
|
|
2608
|
-
],
|
|
2609
|
-
"produces": [
|
|
2610
|
-
"application/json",
|
|
2611
|
-
"application/vnd.cnb.api+json",
|
|
2612
|
-
"application/vnd.cnb.web+json"
|
|
2613
|
-
],
|
|
2614
|
-
"tags": [
|
|
2615
|
-
"Build"
|
|
2616
|
-
],
|
|
2617
1933
|
"summary": "停止一个构建",
|
|
2618
1934
|
"parameters": [
|
|
2619
1935
|
{
|
|
@@ -2648,17 +1964,7 @@
|
|
|
2648
1964
|
],
|
|
2649
1965
|
"repo.commitAssets.download.get": [
|
|
2650
1966
|
{
|
|
2651
|
-
"security": [
|
|
2652
|
-
{
|
|
2653
|
-
"BearerAuth": []
|
|
2654
|
-
}
|
|
2655
|
-
],
|
|
2656
1967
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
2657
|
-
"consumes": null,
|
|
2658
|
-
"produces": null,
|
|
2659
|
-
"tags": [
|
|
2660
|
-
"Assets"
|
|
2661
|
-
],
|
|
2662
1968
|
"summary": "发起一个获取 commits 附件的请求,返回内容或者 302 到某个地址",
|
|
2663
1969
|
"parameters": [
|
|
2664
1970
|
{
|
|
@@ -2688,17 +1994,7 @@
|
|
|
2688
1994
|
],
|
|
2689
1995
|
"repo.files.get": [
|
|
2690
1996
|
{
|
|
2691
|
-
"security": [
|
|
2692
|
-
{
|
|
2693
|
-
"BearerAuth": []
|
|
2694
|
-
}
|
|
2695
|
-
],
|
|
2696
1997
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
2697
|
-
"consumes": null,
|
|
2698
|
-
"produces": null,
|
|
2699
|
-
"tags": [
|
|
2700
|
-
"Assets"
|
|
2701
|
-
],
|
|
2702
1998
|
"summary": "发起一个获取 files 的请求,返回内容或者 302 到某个地址",
|
|
2703
1999
|
"parameters": [
|
|
2704
2000
|
{
|
|
@@ -2742,17 +2038,7 @@
|
|
|
2742
2038
|
],
|
|
2743
2039
|
"repo.files.put": [
|
|
2744
2040
|
{
|
|
2745
|
-
"security": [
|
|
2746
|
-
{
|
|
2747
|
-
"BearerAuth": []
|
|
2748
|
-
}
|
|
2749
|
-
],
|
|
2750
2041
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
2751
|
-
"consumes": null,
|
|
2752
|
-
"produces": null,
|
|
2753
|
-
"tags": [
|
|
2754
|
-
"Assets"
|
|
2755
|
-
],
|
|
2756
2042
|
"summary": "发起一个确认 files 的请求,上传的图片要调用此接口才能生效",
|
|
2757
2043
|
"parameters": [
|
|
2758
2044
|
{
|
|
@@ -2803,23 +2089,7 @@
|
|
|
2803
2089
|
],
|
|
2804
2090
|
"repo.forks.list": [
|
|
2805
2091
|
{
|
|
2806
|
-
"security": [
|
|
2807
|
-
{
|
|
2808
|
-
"BearerAuth": []
|
|
2809
|
-
}
|
|
2810
|
-
],
|
|
2811
2092
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-base-info:r",
|
|
2812
|
-
"consumes": [
|
|
2813
|
-
"application/json"
|
|
2814
|
-
],
|
|
2815
|
-
"produces": [
|
|
2816
|
-
"application/json",
|
|
2817
|
-
"application/vnd.cnb.api+json",
|
|
2818
|
-
"application/vnd.cnb.web+json"
|
|
2819
|
-
],
|
|
2820
|
-
"tags": [
|
|
2821
|
-
"Repositories"
|
|
2822
|
-
],
|
|
2823
2093
|
"summary": "获取指定仓库的 fork 列表",
|
|
2824
2094
|
"parameters": [
|
|
2825
2095
|
{
|
|
@@ -2863,23 +2133,7 @@
|
|
|
2863
2133
|
],
|
|
2864
2134
|
"repo.forks.post": [
|
|
2865
2135
|
{
|
|
2866
|
-
"security": [
|
|
2867
|
-
{
|
|
2868
|
-
"BearerAuth": []
|
|
2869
|
-
}
|
|
2870
|
-
],
|
|
2871
2136
|
"description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:rw",
|
|
2872
|
-
"consumes": [
|
|
2873
|
-
"application/json"
|
|
2874
|
-
],
|
|
2875
|
-
"produces": [
|
|
2876
|
-
"application/json",
|
|
2877
|
-
"application/vnd.cnb.api+json",
|
|
2878
|
-
"application/vnd.cnb.web+json"
|
|
2879
|
-
],
|
|
2880
|
-
"tags": [
|
|
2881
|
-
"Repositories"
|
|
2882
|
-
],
|
|
2883
2137
|
"summary": "fork 仓库",
|
|
2884
2138
|
"parameters": [
|
|
2885
2139
|
{
|
|
@@ -2910,20 +2164,7 @@
|
|
|
2910
2164
|
],
|
|
2911
2165
|
"repo.git.branches.list": [
|
|
2912
2166
|
{
|
|
2913
|
-
"security": [
|
|
2914
|
-
{
|
|
2915
|
-
"BearerAuth": []
|
|
2916
|
-
}
|
|
2917
|
-
],
|
|
2918
2167
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
2919
|
-
"consumes": null,
|
|
2920
|
-
"produces": [
|
|
2921
|
-
"application/json",
|
|
2922
|
-
"application/vnd.cnb.api+json"
|
|
2923
|
-
],
|
|
2924
|
-
"tags": [
|
|
2925
|
-
"Git"
|
|
2926
|
-
],
|
|
2927
2168
|
"summary": "查询分支列表",
|
|
2928
2169
|
"parameters": [
|
|
2929
2170
|
{
|
|
@@ -2977,20 +2218,7 @@
|
|
|
2977
2218
|
],
|
|
2978
2219
|
"repo.git.branches.post": [
|
|
2979
2220
|
{
|
|
2980
|
-
"security": [
|
|
2981
|
-
{
|
|
2982
|
-
"BearerAuth": []
|
|
2983
|
-
}
|
|
2984
|
-
],
|
|
2985
2221
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
2986
|
-
"consumes": null,
|
|
2987
|
-
"produces": [
|
|
2988
|
-
"application/json",
|
|
2989
|
-
"application/vnd.cnb.api+json"
|
|
2990
|
-
],
|
|
2991
|
-
"tags": [
|
|
2992
|
-
"Git"
|
|
2993
|
-
],
|
|
2994
2222
|
"summary": "创建新分支",
|
|
2995
2223
|
"parameters": [
|
|
2996
2224
|
{
|
|
@@ -3033,20 +2261,7 @@
|
|
|
3033
2261
|
],
|
|
3034
2262
|
"repo.git.branches.delete": [
|
|
3035
2263
|
{
|
|
3036
|
-
"security": [
|
|
3037
|
-
{
|
|
3038
|
-
"BearerAuth": []
|
|
3039
|
-
}
|
|
3040
|
-
],
|
|
3041
2264
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
3042
|
-
"consumes": null,
|
|
3043
|
-
"produces": [
|
|
3044
|
-
"application/json",
|
|
3045
|
-
"application/vnd.cnb.api+json"
|
|
3046
|
-
],
|
|
3047
|
-
"tags": [
|
|
3048
|
-
"Git"
|
|
3049
|
-
],
|
|
3050
2265
|
"summary": "删除指定分支",
|
|
3051
2266
|
"parameters": [
|
|
3052
2267
|
{
|
|
@@ -3087,20 +2302,7 @@
|
|
|
3087
2302
|
],
|
|
3088
2303
|
"repo.git.branches.get": [
|
|
3089
2304
|
{
|
|
3090
|
-
"security": [
|
|
3091
|
-
{
|
|
3092
|
-
"BearerAuth": []
|
|
3093
|
-
}
|
|
3094
|
-
],
|
|
3095
2305
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3096
|
-
"consumes": null,
|
|
3097
|
-
"produces": [
|
|
3098
|
-
"application/json",
|
|
3099
|
-
"application/vnd.cnb.api+json"
|
|
3100
|
-
],
|
|
3101
|
-
"tags": [
|
|
3102
|
-
"Git"
|
|
3103
|
-
],
|
|
3104
2306
|
"summary": "查询指定分支",
|
|
3105
2307
|
"parameters": [
|
|
3106
2308
|
{
|
|
@@ -3143,22 +2345,7 @@
|
|
|
3143
2345
|
],
|
|
3144
2346
|
"repo.git.commitAnnotationsInBatch.post": [
|
|
3145
2347
|
{
|
|
3146
|
-
"security": [
|
|
3147
|
-
{
|
|
3148
|
-
"BearerAuth": []
|
|
3149
|
-
}
|
|
3150
|
-
],
|
|
3151
2348
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3152
|
-
"consumes": [
|
|
3153
|
-
"application/json"
|
|
3154
|
-
],
|
|
3155
|
-
"produces": [
|
|
3156
|
-
"application/json",
|
|
3157
|
-
"application/vnd.cnb.api+json"
|
|
3158
|
-
],
|
|
3159
|
-
"tags": [
|
|
3160
|
-
"Git"
|
|
3161
|
-
],
|
|
3162
2349
|
"summary": "查询指定 commit 的元数据",
|
|
3163
2350
|
"parameters": [
|
|
3164
2351
|
{
|
|
@@ -3207,20 +2394,7 @@
|
|
|
3207
2394
|
],
|
|
3208
2395
|
"repo.git.commitAnnotations.list": [
|
|
3209
2396
|
{
|
|
3210
|
-
"security": [
|
|
3211
|
-
{
|
|
3212
|
-
"BearerAuth": []
|
|
3213
|
-
}
|
|
3214
|
-
],
|
|
3215
2397
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3216
|
-
"consumes": null,
|
|
3217
|
-
"produces": [
|
|
3218
|
-
"application/json",
|
|
3219
|
-
"application/vnd.cnb.api+json"
|
|
3220
|
-
],
|
|
3221
|
-
"tags": [
|
|
3222
|
-
"Git"
|
|
3223
|
-
],
|
|
3224
2398
|
"summary": "查询指定 commit 的元数据",
|
|
3225
2399
|
"parameters": [
|
|
3226
2400
|
{
|
|
@@ -3267,22 +2441,7 @@
|
|
|
3267
2441
|
],
|
|
3268
2442
|
"repo.git.commitAnnotations.put": [
|
|
3269
2443
|
{
|
|
3270
|
-
"security": [
|
|
3271
|
-
{
|
|
3272
|
-
"BearerAuth": []
|
|
3273
|
-
}
|
|
3274
|
-
],
|
|
3275
2444
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
3276
|
-
"consumes": [
|
|
3277
|
-
"application/json"
|
|
3278
|
-
],
|
|
3279
|
-
"produces": [
|
|
3280
|
-
"application/json",
|
|
3281
|
-
"application/vnd.cnb.api+json"
|
|
3282
|
-
],
|
|
3283
|
-
"tags": [
|
|
3284
|
-
"Git"
|
|
3285
|
-
],
|
|
3286
2445
|
"summary": "设定指定 commit 的元数据",
|
|
3287
2446
|
"parameters": [
|
|
3288
2447
|
{
|
|
@@ -3332,21 +2491,7 @@
|
|
|
3332
2491
|
],
|
|
3333
2492
|
"repo.git.commitAnnotations.delete": [
|
|
3334
2493
|
{
|
|
3335
|
-
"security": [
|
|
3336
|
-
{
|
|
3337
|
-
"BearerAuth": []
|
|
3338
|
-
}
|
|
3339
|
-
],
|
|
3340
2494
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
3341
|
-
"consumes": [
|
|
3342
|
-
"application/json"
|
|
3343
|
-
],
|
|
3344
|
-
"produces": [
|
|
3345
|
-
"application/vnd.cnb.api+json"
|
|
3346
|
-
],
|
|
3347
|
-
"tags": [
|
|
3348
|
-
"Git"
|
|
3349
|
-
],
|
|
3350
2495
|
"summary": "删除指定 commit 的元数据",
|
|
3351
2496
|
"parameters": [
|
|
3352
2497
|
{
|
|
@@ -3394,22 +2539,7 @@
|
|
|
3394
2539
|
],
|
|
3395
2540
|
"repo.git.commitAssets.list": [
|
|
3396
2541
|
{
|
|
3397
|
-
"security": [
|
|
3398
|
-
{
|
|
3399
|
-
"BearerAuth": []
|
|
3400
|
-
}
|
|
3401
|
-
],
|
|
3402
2542
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3403
|
-
"consumes": [
|
|
3404
|
-
"application/json"
|
|
3405
|
-
],
|
|
3406
|
-
"produces": [
|
|
3407
|
-
"application/json",
|
|
3408
|
-
"application/vnd.cnb.api+json"
|
|
3409
|
-
],
|
|
3410
|
-
"tags": [
|
|
3411
|
-
"Git"
|
|
3412
|
-
],
|
|
3413
2543
|
"summary": "查询指定 commit 的附件",
|
|
3414
2544
|
"parameters": [
|
|
3415
2545
|
{
|
|
@@ -3456,22 +2586,7 @@
|
|
|
3456
2586
|
],
|
|
3457
2587
|
"repo.git.commitAssets.assetUploadConfirmation.post": [
|
|
3458
2588
|
{
|
|
3459
|
-
"security": [
|
|
3460
|
-
{
|
|
3461
|
-
"BearerAuth": []
|
|
3462
|
-
}
|
|
3463
|
-
],
|
|
3464
2589
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
3465
|
-
"consumes": [
|
|
3466
|
-
"application/json"
|
|
3467
|
-
],
|
|
3468
|
-
"produces": [
|
|
3469
|
-
"application/json",
|
|
3470
|
-
"application/vnd.cnb.api+json"
|
|
3471
|
-
],
|
|
3472
|
-
"tags": [
|
|
3473
|
-
"Git"
|
|
3474
|
-
],
|
|
3475
2590
|
"summary": "确认 Commit asset 上传完成",
|
|
3476
2591
|
"parameters": [
|
|
3477
2592
|
{
|
|
@@ -3526,22 +2641,7 @@
|
|
|
3526
2641
|
],
|
|
3527
2642
|
"repo.git.commitAssets.assetUploadUrl.post": [
|
|
3528
2643
|
{
|
|
3529
|
-
"security": [
|
|
3530
|
-
{
|
|
3531
|
-
"BearerAuth": []
|
|
3532
|
-
}
|
|
3533
|
-
],
|
|
3534
2644
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
3535
|
-
"consumes": [
|
|
3536
|
-
"application/json"
|
|
3537
|
-
],
|
|
3538
|
-
"produces": [
|
|
3539
|
-
"application/json",
|
|
3540
|
-
"application/vnd.cnb.api+json"
|
|
3541
|
-
],
|
|
3542
|
-
"tags": [
|
|
3543
|
-
"Git"
|
|
3544
|
-
],
|
|
3545
2645
|
"summary": "新增一个 Commit asset",
|
|
3546
2646
|
"parameters": [
|
|
3547
2647
|
{
|
|
@@ -3594,22 +2694,7 @@
|
|
|
3594
2694
|
],
|
|
3595
2695
|
"repo.git.commitAssets.delete": [
|
|
3596
2696
|
{
|
|
3597
|
-
"security": [
|
|
3598
|
-
{
|
|
3599
|
-
"BearerAuth": []
|
|
3600
|
-
}
|
|
3601
|
-
],
|
|
3602
2697
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
3603
|
-
"consumes": [
|
|
3604
|
-
"application/json"
|
|
3605
|
-
],
|
|
3606
|
-
"produces": [
|
|
3607
|
-
"application/json",
|
|
3608
|
-
"application/vnd.cnb.api+json"
|
|
3609
|
-
],
|
|
3610
|
-
"tags": [
|
|
3611
|
-
"Git"
|
|
3612
|
-
],
|
|
3613
2698
|
"summary": "删除指定 commit 的附件",
|
|
3614
2699
|
"parameters": [
|
|
3615
2700
|
{
|
|
@@ -3657,20 +2742,7 @@
|
|
|
3657
2742
|
],
|
|
3658
2743
|
"repo.git.commitStatuses.list": [
|
|
3659
2744
|
{
|
|
3660
|
-
"security": [
|
|
3661
|
-
{
|
|
3662
|
-
"BearerAuth": []
|
|
3663
|
-
}
|
|
3664
|
-
],
|
|
3665
2745
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3666
|
-
"consumes": null,
|
|
3667
|
-
"produces": [
|
|
3668
|
-
"application/json",
|
|
3669
|
-
"application/vnd.cnb.api+json"
|
|
3670
|
-
],
|
|
3671
|
-
"tags": [
|
|
3672
|
-
"Git"
|
|
3673
|
-
],
|
|
3674
2746
|
"summary": "查询指定 commit 的 check statuses",
|
|
3675
2747
|
"parameters": [
|
|
3676
2748
|
{
|
|
@@ -3717,20 +2789,7 @@
|
|
|
3717
2789
|
],
|
|
3718
2790
|
"repo.git.commits.list": [
|
|
3719
2791
|
{
|
|
3720
|
-
"security": [
|
|
3721
|
-
{
|
|
3722
|
-
"BearerAuth": []
|
|
3723
|
-
}
|
|
3724
|
-
],
|
|
3725
2792
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3726
|
-
"consumes": null,
|
|
3727
|
-
"produces": [
|
|
3728
|
-
"application/json",
|
|
3729
|
-
"application/vnd.cnb.api+json"
|
|
3730
|
-
],
|
|
3731
|
-
"tags": [
|
|
3732
|
-
"Git"
|
|
3733
|
-
],
|
|
3734
2793
|
"summary": "查询 commit 列表",
|
|
3735
2794
|
"parameters": [
|
|
3736
2795
|
{
|
|
@@ -3814,20 +2873,7 @@
|
|
|
3814
2873
|
],
|
|
3815
2874
|
"repo.git.commits.get": [
|
|
3816
2875
|
{
|
|
3817
|
-
"security": [
|
|
3818
|
-
{
|
|
3819
|
-
"BearerAuth": []
|
|
3820
|
-
}
|
|
3821
|
-
],
|
|
3822
2876
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3823
|
-
"consumes": null,
|
|
3824
|
-
"produces": [
|
|
3825
|
-
"application/json",
|
|
3826
|
-
"application/vnd.cnb.api+json"
|
|
3827
|
-
],
|
|
3828
|
-
"tags": [
|
|
3829
|
-
"Git"
|
|
3830
|
-
],
|
|
3831
2877
|
"summary": "查询指定 commit",
|
|
3832
2878
|
"parameters": [
|
|
3833
2879
|
{
|
|
@@ -3871,20 +2917,7 @@
|
|
|
3871
2917
|
],
|
|
3872
2918
|
"repo.git.compare.get": [
|
|
3873
2919
|
{
|
|
3874
|
-
"security": [
|
|
3875
|
-
{
|
|
3876
|
-
"BearerAuth": []
|
|
3877
|
-
}
|
|
3878
|
-
],
|
|
3879
2920
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3880
|
-
"consumes": null,
|
|
3881
|
-
"produces": [
|
|
3882
|
-
"application/json",
|
|
3883
|
-
"application/vnd.cnb.api+json"
|
|
3884
|
-
],
|
|
3885
|
-
"tags": [
|
|
3886
|
-
"Git"
|
|
3887
|
-
],
|
|
3888
2921
|
"summary": "对比 base...head",
|
|
3889
2922
|
"parameters": [
|
|
3890
2923
|
{
|
|
@@ -3928,20 +2961,7 @@
|
|
|
3928
2961
|
],
|
|
3929
2962
|
"repo.git.contents.get": [
|
|
3930
2963
|
{
|
|
3931
|
-
"security": [
|
|
3932
|
-
{
|
|
3933
|
-
"BearerAuth": []
|
|
3934
|
-
}
|
|
3935
|
-
],
|
|
3936
2964
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
3937
|
-
"consumes": null,
|
|
3938
|
-
"produces": [
|
|
3939
|
-
"application/json",
|
|
3940
|
-
"application/vnd.cnb.api+json"
|
|
3941
|
-
],
|
|
3942
|
-
"tags": [
|
|
3943
|
-
"Git"
|
|
3944
|
-
],
|
|
3945
2965
|
"summary": "查询仓库文件列表或文件",
|
|
3946
2966
|
"parameters": [
|
|
3947
2967
|
{
|
|
@@ -3991,20 +3011,7 @@
|
|
|
3991
3011
|
],
|
|
3992
3012
|
"repo.git.head.get": [
|
|
3993
3013
|
{
|
|
3994
|
-
"security": [
|
|
3995
|
-
{
|
|
3996
|
-
"BearerAuth": []
|
|
3997
|
-
}
|
|
3998
|
-
],
|
|
3999
3014
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
4000
|
-
"consumes": null,
|
|
4001
|
-
"produces": [
|
|
4002
|
-
"application/json",
|
|
4003
|
-
"application/vnd.cnb.api+json"
|
|
4004
|
-
],
|
|
4005
|
-
"tags": [
|
|
4006
|
-
"Git"
|
|
4007
|
-
],
|
|
4008
3015
|
"summary": "获取仓库默认分支",
|
|
4009
3016
|
"parameters": [
|
|
4010
3017
|
{
|
|
@@ -4041,19 +3048,7 @@
|
|
|
4041
3048
|
],
|
|
4042
3049
|
"repo.git.tagAnnotations.delete": [
|
|
4043
3050
|
{
|
|
4044
|
-
"security": [
|
|
4045
|
-
{
|
|
4046
|
-
"BearerAuth": []
|
|
4047
|
-
}
|
|
4048
|
-
],
|
|
4049
3051
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
4050
|
-
"consumes": null,
|
|
4051
|
-
"produces": [
|
|
4052
|
-
"application/vnd.cnb.api+json"
|
|
4053
|
-
],
|
|
4054
|
-
"tags": [
|
|
4055
|
-
"Git"
|
|
4056
|
-
],
|
|
4057
3052
|
"summary": "删除指定 tag 的元数据",
|
|
4058
3053
|
"parameters": [
|
|
4059
3054
|
{
|
|
@@ -4094,19 +3089,7 @@
|
|
|
4094
3089
|
],
|
|
4095
3090
|
"repo.git.tagAnnotations.list": [
|
|
4096
3091
|
{
|
|
4097
|
-
"security": [
|
|
4098
|
-
{
|
|
4099
|
-
"BearerAuth": []
|
|
4100
|
-
}
|
|
4101
|
-
],
|
|
4102
3092
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
4103
|
-
"consumes": null,
|
|
4104
|
-
"produces": [
|
|
4105
|
-
"application/vnd.cnb.api+json"
|
|
4106
|
-
],
|
|
4107
|
-
"tags": [
|
|
4108
|
-
"Git"
|
|
4109
|
-
],
|
|
4110
3093
|
"summary": "查询指定 tag 的元数据",
|
|
4111
3094
|
"parameters": [
|
|
4112
3095
|
{
|
|
@@ -4153,22 +3136,7 @@
|
|
|
4153
3136
|
],
|
|
4154
3137
|
"repo.git.tagAnnotations.put": [
|
|
4155
3138
|
{
|
|
4156
|
-
"security": [
|
|
4157
|
-
{
|
|
4158
|
-
"BearerAuth": []
|
|
4159
|
-
}
|
|
4160
|
-
],
|
|
4161
3139
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
4162
|
-
"consumes": [
|
|
4163
|
-
"application/json"
|
|
4164
|
-
],
|
|
4165
|
-
"produces": [
|
|
4166
|
-
"application/json",
|
|
4167
|
-
"application/vnd.cnb.api+json"
|
|
4168
|
-
],
|
|
4169
|
-
"tags": [
|
|
4170
|
-
"Git"
|
|
4171
|
-
],
|
|
4172
3140
|
"summary": "设定指定 tag 的元数据",
|
|
4173
3141
|
"parameters": [
|
|
4174
3142
|
{
|
|
@@ -4218,20 +3186,7 @@
|
|
|
4218
3186
|
],
|
|
4219
3187
|
"repo.git.tags.list": [
|
|
4220
3188
|
{
|
|
4221
|
-
"security": [
|
|
4222
|
-
{
|
|
4223
|
-
"BearerAuth": []
|
|
4224
|
-
}
|
|
4225
|
-
],
|
|
4226
3189
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
4227
|
-
"consumes": null,
|
|
4228
|
-
"produces": [
|
|
4229
|
-
"application/json",
|
|
4230
|
-
"application/vnd.cnb.api+json"
|
|
4231
|
-
],
|
|
4232
|
-
"tags": [
|
|
4233
|
-
"Git"
|
|
4234
|
-
],
|
|
4235
3190
|
"summary": "查询标签列表",
|
|
4236
3191
|
"parameters": [
|
|
4237
3192
|
{
|
|
@@ -4285,20 +3240,7 @@
|
|
|
4285
3240
|
],
|
|
4286
3241
|
"repo.git.tags.delete": [
|
|
4287
3242
|
{
|
|
4288
|
-
"security": [
|
|
4289
|
-
{
|
|
4290
|
-
"BearerAuth": []
|
|
4291
|
-
}
|
|
4292
|
-
],
|
|
4293
3243
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
4294
|
-
"consumes": null,
|
|
4295
|
-
"produces": [
|
|
4296
|
-
"application/json",
|
|
4297
|
-
"application/vnd.cnb.api+json"
|
|
4298
|
-
],
|
|
4299
|
-
"tags": [
|
|
4300
|
-
"Git"
|
|
4301
|
-
],
|
|
4302
3244
|
"summary": "删除指定标签",
|
|
4303
3245
|
"parameters": [
|
|
4304
3246
|
{
|
|
@@ -4339,20 +3281,7 @@
|
|
|
4339
3281
|
],
|
|
4340
3282
|
"repo.git.tags.get": [
|
|
4341
3283
|
{
|
|
4342
|
-
"security": [
|
|
4343
|
-
{
|
|
4344
|
-
"BearerAuth": []
|
|
4345
|
-
}
|
|
4346
|
-
],
|
|
4347
3284
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
4348
|
-
"consumes": null,
|
|
4349
|
-
"produces": [
|
|
4350
|
-
"application/json",
|
|
4351
|
-
"application/vnd.cnb.api+json"
|
|
4352
|
-
],
|
|
4353
|
-
"tags": [
|
|
4354
|
-
"Git"
|
|
4355
|
-
],
|
|
4356
3285
|
"summary": "查询指定 Tag",
|
|
4357
3286
|
"parameters": [
|
|
4358
3287
|
{
|
|
@@ -4396,17 +3325,7 @@
|
|
|
4396
3325
|
],
|
|
4397
3326
|
"repo.imgs.get": [
|
|
4398
3327
|
{
|
|
4399
|
-
"security": [
|
|
4400
|
-
{
|
|
4401
|
-
"BearerAuth": []
|
|
4402
|
-
}
|
|
4403
|
-
],
|
|
4404
3328
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
4405
|
-
"consumes": null,
|
|
4406
|
-
"produces": null,
|
|
4407
|
-
"tags": [
|
|
4408
|
-
"Assets"
|
|
4409
|
-
],
|
|
4410
3329
|
"summary": "发起一个获取 imgs 的请求,返回内容或者 302 到某个地址",
|
|
4411
3330
|
"parameters": [
|
|
4412
3331
|
{
|
|
@@ -4443,17 +3362,7 @@
|
|
|
4443
3362
|
],
|
|
4444
3363
|
"repo.imgs.put": [
|
|
4445
3364
|
{
|
|
4446
|
-
"security": [
|
|
4447
|
-
{
|
|
4448
|
-
"BearerAuth": []
|
|
4449
|
-
}
|
|
4450
|
-
],
|
|
4451
3365
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
4452
|
-
"consumes": null,
|
|
4453
|
-
"produces": null,
|
|
4454
|
-
"tags": [
|
|
4455
|
-
"Assets"
|
|
4456
|
-
],
|
|
4457
3366
|
"summary": "发起一个确认 imgs 的请求,上传的图片要调用此接口才能生效",
|
|
4458
3367
|
"parameters": [
|
|
4459
3368
|
{
|
|
@@ -4497,23 +3406,7 @@
|
|
|
4497
3406
|
],
|
|
4498
3407
|
"repo.inheritMembers.list": [
|
|
4499
3408
|
{
|
|
4500
|
-
"security": [
|
|
4501
|
-
{
|
|
4502
|
-
"BearerAuth": []
|
|
4503
|
-
}
|
|
4504
|
-
],
|
|
4505
3409
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
4506
|
-
"consumes": [
|
|
4507
|
-
"application/json"
|
|
4508
|
-
],
|
|
4509
|
-
"produces": [
|
|
4510
|
-
"application/json",
|
|
4511
|
-
"application/vnd.cnb.api+json",
|
|
4512
|
-
"application/vnd.cnb.web+json"
|
|
4513
|
-
],
|
|
4514
|
-
"tags": [
|
|
4515
|
-
"Collaborators"
|
|
4516
|
-
],
|
|
4517
3410
|
"summary": "获取指定组织或仓库内的继承成员",
|
|
4518
3411
|
"parameters": [
|
|
4519
3412
|
{
|
|
@@ -4575,20 +3468,7 @@
|
|
|
4575
3468
|
],
|
|
4576
3469
|
"repo.issues.list": [
|
|
4577
3470
|
{
|
|
4578
|
-
"security": [
|
|
4579
|
-
{
|
|
4580
|
-
"BearerAuth": []
|
|
4581
|
-
}
|
|
4582
|
-
],
|
|
4583
3471
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
4584
|
-
"consumes": null,
|
|
4585
|
-
"produces": [
|
|
4586
|
-
"application/json",
|
|
4587
|
-
"application/vnd.cnb.api+json"
|
|
4588
|
-
],
|
|
4589
|
-
"tags": [
|
|
4590
|
-
"Issues"
|
|
4591
|
-
],
|
|
4592
3472
|
"summary": "查询仓库的 Issues",
|
|
4593
3473
|
"parameters": [
|
|
4594
3474
|
{
|
|
@@ -4694,20 +3574,7 @@
|
|
|
4694
3574
|
"method": "get"
|
|
4695
3575
|
},
|
|
4696
3576
|
{
|
|
4697
|
-
"security": [
|
|
4698
|
-
{
|
|
4699
|
-
"BearerAuth": []
|
|
4700
|
-
}
|
|
4701
|
-
],
|
|
4702
3577
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
4703
|
-
"consumes": null,
|
|
4704
|
-
"produces": [
|
|
4705
|
-
"application/json",
|
|
4706
|
-
"application/vnd.cnb.api+json"
|
|
4707
|
-
],
|
|
4708
|
-
"tags": [
|
|
4709
|
-
"Issues"
|
|
4710
|
-
],
|
|
4711
3578
|
"summary": "查询指定的 Issues",
|
|
4712
3579
|
"parameters": [
|
|
4713
3580
|
{
|
|
@@ -4754,20 +3621,7 @@
|
|
|
4754
3621
|
],
|
|
4755
3622
|
"repo.issues.post": [
|
|
4756
3623
|
{
|
|
4757
|
-
"security": [
|
|
4758
|
-
{
|
|
4759
|
-
"BearerAuth": []
|
|
4760
|
-
}
|
|
4761
|
-
],
|
|
4762
3624
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4763
|
-
"consumes": null,
|
|
4764
|
-
"produces": [
|
|
4765
|
-
"application/json",
|
|
4766
|
-
"application/vnd.cnb.api+json"
|
|
4767
|
-
],
|
|
4768
|
-
"tags": [
|
|
4769
|
-
"Issues"
|
|
4770
|
-
],
|
|
4771
3625
|
"summary": "创建一个 Issue",
|
|
4772
3626
|
"parameters": [
|
|
4773
3627
|
{
|
|
@@ -4813,20 +3667,7 @@
|
|
|
4813
3667
|
],
|
|
4814
3668
|
"repo.issues.patch": [
|
|
4815
3669
|
{
|
|
4816
|
-
"security": [
|
|
4817
|
-
{
|
|
4818
|
-
"BearerAuth": []
|
|
4819
|
-
}
|
|
4820
|
-
],
|
|
4821
3670
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4822
|
-
"consumes": null,
|
|
4823
|
-
"produces": [
|
|
4824
|
-
"application/json",
|
|
4825
|
-
"application/vnd.cnb.api+json"
|
|
4826
|
-
],
|
|
4827
|
-
"tags": [
|
|
4828
|
-
"Issues"
|
|
4829
|
-
],
|
|
4830
3671
|
"summary": "更新一个 Issue",
|
|
4831
3672
|
"parameters": [
|
|
4832
3673
|
{
|
|
@@ -4879,20 +3720,7 @@
|
|
|
4879
3720
|
],
|
|
4880
3721
|
"repo.issues.comments.list": [
|
|
4881
3722
|
{
|
|
4882
|
-
"security": [
|
|
4883
|
-
{
|
|
4884
|
-
"BearerAuth": []
|
|
4885
|
-
}
|
|
4886
|
-
],
|
|
4887
3723
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
4888
|
-
"consumes": null,
|
|
4889
|
-
"produces": [
|
|
4890
|
-
"application/json",
|
|
4891
|
-
"application/vnd.cnb.api+json"
|
|
4892
|
-
],
|
|
4893
|
-
"tags": [
|
|
4894
|
-
"Issues"
|
|
4895
|
-
],
|
|
4896
3724
|
"summary": "查询仓库的 Issue 评论列表",
|
|
4897
3725
|
"parameters": [
|
|
4898
3726
|
{
|
|
@@ -4953,20 +3781,7 @@
|
|
|
4953
3781
|
],
|
|
4954
3782
|
"repo.issues.comments.post": [
|
|
4955
3783
|
{
|
|
4956
|
-
"security": [
|
|
4957
|
-
{
|
|
4958
|
-
"BearerAuth": []
|
|
4959
|
-
}
|
|
4960
|
-
],
|
|
4961
3784
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
4962
|
-
"consumes": null,
|
|
4963
|
-
"produces": [
|
|
4964
|
-
"application/json",
|
|
4965
|
-
"application/vnd.cnb.api+json"
|
|
4966
|
-
],
|
|
4967
|
-
"tags": [
|
|
4968
|
-
"Issues"
|
|
4969
|
-
],
|
|
4970
3785
|
"summary": "创建一个 Issue Comment",
|
|
4971
3786
|
"parameters": [
|
|
4972
3787
|
{
|
|
@@ -5019,20 +3834,7 @@
|
|
|
5019
3834
|
],
|
|
5020
3835
|
"repo.issues.comments.get": [
|
|
5021
3836
|
{
|
|
5022
|
-
"security": [
|
|
5023
|
-
{
|
|
5024
|
-
"BearerAuth": []
|
|
5025
|
-
}
|
|
5026
|
-
],
|
|
5027
3837
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
5028
|
-
"consumes": null,
|
|
5029
|
-
"produces": [
|
|
5030
|
-
"application/json",
|
|
5031
|
-
"application/vnd.cnb.api+json"
|
|
5032
|
-
],
|
|
5033
|
-
"tags": [
|
|
5034
|
-
"Issues"
|
|
5035
|
-
],
|
|
5036
3838
|
"summary": "获取一个 Issue Comment",
|
|
5037
3839
|
"parameters": [
|
|
5038
3840
|
{
|
|
@@ -5083,20 +3885,7 @@
|
|
|
5083
3885
|
],
|
|
5084
3886
|
"repo.issues.comments.patch": [
|
|
5085
3887
|
{
|
|
5086
|
-
"security": [
|
|
5087
|
-
{
|
|
5088
|
-
"BearerAuth": []
|
|
5089
|
-
}
|
|
5090
|
-
],
|
|
5091
3888
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5092
|
-
"consumes": null,
|
|
5093
|
-
"produces": [
|
|
5094
|
-
"application/json",
|
|
5095
|
-
"application/vnd.cnb.api+json"
|
|
5096
|
-
],
|
|
5097
|
-
"tags": [
|
|
5098
|
-
"Issues"
|
|
5099
|
-
],
|
|
5100
3889
|
"summary": "修改一个 Issue Comment",
|
|
5101
3890
|
"parameters": [
|
|
5102
3891
|
{
|
|
@@ -5156,22 +3945,7 @@
|
|
|
5156
3945
|
],
|
|
5157
3946
|
"repo.issues.labels.delete": [
|
|
5158
3947
|
{
|
|
5159
|
-
"security": [
|
|
5160
|
-
{
|
|
5161
|
-
"BearerAuth": []
|
|
5162
|
-
}
|
|
5163
|
-
],
|
|
5164
3948
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5165
|
-
"consumes": [
|
|
5166
|
-
"application/json"
|
|
5167
|
-
],
|
|
5168
|
-
"produces": [
|
|
5169
|
-
"application/json",
|
|
5170
|
-
"application/vnd.cnb.api+json"
|
|
5171
|
-
],
|
|
5172
|
-
"tags": [
|
|
5173
|
-
"Issues"
|
|
5174
|
-
],
|
|
5175
3949
|
"summary": "清空 Issue 标签",
|
|
5176
3950
|
"parameters": [
|
|
5177
3951
|
{
|
|
@@ -5210,22 +3984,7 @@
|
|
|
5210
3984
|
"method": "delete"
|
|
5211
3985
|
},
|
|
5212
3986
|
{
|
|
5213
|
-
"security": [
|
|
5214
|
-
{
|
|
5215
|
-
"BearerAuth": []
|
|
5216
|
-
}
|
|
5217
|
-
],
|
|
5218
3987
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
5219
|
-
"consumes": [
|
|
5220
|
-
"application/json"
|
|
5221
|
-
],
|
|
5222
|
-
"produces": [
|
|
5223
|
-
"application/json",
|
|
5224
|
-
"application/vnd.cnb.api+json"
|
|
5225
|
-
],
|
|
5226
|
-
"tags": [
|
|
5227
|
-
"Issues"
|
|
5228
|
-
],
|
|
5229
3988
|
"summary": "查询 Issue 的标签(label) 列表",
|
|
5230
3989
|
"parameters": [
|
|
5231
3990
|
{
|
|
@@ -5284,22 +4043,7 @@
|
|
|
5284
4043
|
"method": "get"
|
|
5285
4044
|
},
|
|
5286
4045
|
{
|
|
5287
|
-
"security": [
|
|
5288
|
-
{
|
|
5289
|
-
"BearerAuth": []
|
|
5290
|
-
}
|
|
5291
|
-
],
|
|
5292
4046
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5293
|
-
"consumes": [
|
|
5294
|
-
"application/json"
|
|
5295
|
-
],
|
|
5296
|
-
"produces": [
|
|
5297
|
-
"application/json",
|
|
5298
|
-
"application/vnd.cnb.api+json"
|
|
5299
|
-
],
|
|
5300
|
-
"tags": [
|
|
5301
|
-
"Issues"
|
|
5302
|
-
],
|
|
5303
4047
|
"summary": "新增 Issue 标签",
|
|
5304
4048
|
"parameters": [
|
|
5305
4049
|
{
|
|
@@ -5350,22 +4094,7 @@
|
|
|
5350
4094
|
"method": "post"
|
|
5351
4095
|
},
|
|
5352
4096
|
{
|
|
5353
|
-
"security": [
|
|
5354
|
-
{
|
|
5355
|
-
"BearerAuth": []
|
|
5356
|
-
}
|
|
5357
|
-
],
|
|
5358
4097
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5359
|
-
"consumes": [
|
|
5360
|
-
"application/json"
|
|
5361
|
-
],
|
|
5362
|
-
"produces": [
|
|
5363
|
-
"application/json",
|
|
5364
|
-
"application/vnd.cnb.api+json"
|
|
5365
|
-
],
|
|
5366
|
-
"tags": [
|
|
5367
|
-
"Issues"
|
|
5368
|
-
],
|
|
5369
4098
|
"summary": "设置 Issue 标签",
|
|
5370
4099
|
"parameters": [
|
|
5371
4100
|
{
|
|
@@ -5418,22 +4147,7 @@
|
|
|
5418
4147
|
],
|
|
5419
4148
|
"repo.issues.labels.deleteByName": [
|
|
5420
4149
|
{
|
|
5421
|
-
"security": [
|
|
5422
|
-
{
|
|
5423
|
-
"BearerAuth": []
|
|
5424
|
-
}
|
|
5425
|
-
],
|
|
5426
4150
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5427
|
-
"consumes": [
|
|
5428
|
-
"application/json"
|
|
5429
|
-
],
|
|
5430
|
-
"produces": [
|
|
5431
|
-
"application/json",
|
|
5432
|
-
"application/vnd.cnb.api+json"
|
|
5433
|
-
],
|
|
5434
|
-
"tags": [
|
|
5435
|
-
"Issues"
|
|
5436
|
-
],
|
|
5437
4151
|
"summary": "删除 Issue 标签",
|
|
5438
4152
|
"parameters": [
|
|
5439
4153
|
{
|
|
@@ -5484,20 +4198,7 @@
|
|
|
5484
4198
|
],
|
|
5485
4199
|
"repo.labels.list": [
|
|
5486
4200
|
{
|
|
5487
|
-
"security": [
|
|
5488
|
-
{
|
|
5489
|
-
"BearerAuth": []
|
|
5490
|
-
}
|
|
5491
|
-
],
|
|
5492
4201
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
5493
|
-
"consumes": null,
|
|
5494
|
-
"produces": [
|
|
5495
|
-
"application/json",
|
|
5496
|
-
"application/vnd.cnb.api+json"
|
|
5497
|
-
],
|
|
5498
|
-
"tags": [
|
|
5499
|
-
"RepoLabels"
|
|
5500
|
-
],
|
|
5501
4202
|
"summary": "查询仓库的标签(label) 列表",
|
|
5502
4203
|
"parameters": [
|
|
5503
4204
|
{
|
|
@@ -5557,20 +4258,7 @@
|
|
|
5557
4258
|
],
|
|
5558
4259
|
"repo.labels.post": [
|
|
5559
4260
|
{
|
|
5560
|
-
"security": [
|
|
5561
|
-
{
|
|
5562
|
-
"BearerAuth": []
|
|
5563
|
-
}
|
|
5564
|
-
],
|
|
5565
4261
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5566
|
-
"consumes": null,
|
|
5567
|
-
"produces": [
|
|
5568
|
-
"application/json",
|
|
5569
|
-
"application/vnd.cnb.api+json"
|
|
5570
|
-
],
|
|
5571
|
-
"tags": [
|
|
5572
|
-
"RepoLabels"
|
|
5573
|
-
],
|
|
5574
4262
|
"summary": "创建一个 标签",
|
|
5575
4263
|
"parameters": [
|
|
5576
4264
|
{
|
|
@@ -5616,20 +4304,7 @@
|
|
|
5616
4304
|
],
|
|
5617
4305
|
"repo.labels.delete": [
|
|
5618
4306
|
{
|
|
5619
|
-
"security": [
|
|
5620
|
-
{
|
|
5621
|
-
"BearerAuth": []
|
|
5622
|
-
}
|
|
5623
|
-
],
|
|
5624
4307
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5625
|
-
"consumes": null,
|
|
5626
|
-
"produces": [
|
|
5627
|
-
"application/json",
|
|
5628
|
-
"application/vnd.cnb.api+json"
|
|
5629
|
-
],
|
|
5630
|
-
"tags": [
|
|
5631
|
-
"RepoLabels"
|
|
5632
|
-
],
|
|
5633
4308
|
"summary": "删除指定的仓库标签 label",
|
|
5634
4309
|
"parameters": [
|
|
5635
4310
|
{
|
|
@@ -5670,20 +4345,7 @@
|
|
|
5670
4345
|
],
|
|
5671
4346
|
"repo.labels.patch": [
|
|
5672
4347
|
{
|
|
5673
|
-
"security": [
|
|
5674
|
-
{
|
|
5675
|
-
"BearerAuth": []
|
|
5676
|
-
}
|
|
5677
|
-
],
|
|
5678
4348
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
5679
|
-
"consumes": null,
|
|
5680
|
-
"produces": [
|
|
5681
|
-
"application/json",
|
|
5682
|
-
"application/vnd.cnb.api+json"
|
|
5683
|
-
],
|
|
5684
|
-
"tags": [
|
|
5685
|
-
"RepoLabels"
|
|
5686
|
-
],
|
|
5687
4349
|
"summary": "更新标签信息",
|
|
5688
4350
|
"parameters": [
|
|
5689
4351
|
{
|
|
@@ -5736,23 +4398,7 @@
|
|
|
5736
4398
|
],
|
|
5737
4399
|
"repo.listMembers.list": [
|
|
5738
4400
|
{
|
|
5739
|
-
"security": [
|
|
5740
|
-
{
|
|
5741
|
-
"BearerAuth": []
|
|
5742
|
-
}
|
|
5743
|
-
],
|
|
5744
4401
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
5745
|
-
"consumes": [
|
|
5746
|
-
"application/json"
|
|
5747
|
-
],
|
|
5748
|
-
"produces": [
|
|
5749
|
-
"application/json",
|
|
5750
|
-
"application/vnd.cnb.api+json",
|
|
5751
|
-
"application/vnd.cnb.web+json"
|
|
5752
|
-
],
|
|
5753
|
-
"tags": [
|
|
5754
|
-
"Collaborators"
|
|
5755
|
-
],
|
|
5756
4402
|
"summary": "获取指定组织或仓库内的有效成员列表,包含继承成员",
|
|
5757
4403
|
"parameters": [
|
|
5758
4404
|
{
|
|
@@ -5839,23 +4485,7 @@
|
|
|
5839
4485
|
],
|
|
5840
4486
|
"repo.members.list": [
|
|
5841
4487
|
{
|
|
5842
|
-
"security": [
|
|
5843
|
-
{
|
|
5844
|
-
"BearerAuth": []
|
|
5845
|
-
}
|
|
5846
|
-
],
|
|
5847
4488
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
5848
|
-
"consumes": [
|
|
5849
|
-
"application/json"
|
|
5850
|
-
],
|
|
5851
|
-
"produces": [
|
|
5852
|
-
"application/json",
|
|
5853
|
-
"application/vnd.cnb.api+json",
|
|
5854
|
-
"application/vnd.cnb.web+json"
|
|
5855
|
-
],
|
|
5856
|
-
"tags": [
|
|
5857
|
-
"Collaborators"
|
|
5858
|
-
],
|
|
5859
4489
|
"summary": "获取指定组织或仓库内的所有直接成员",
|
|
5860
4490
|
"parameters": [
|
|
5861
4491
|
{
|
|
@@ -5917,23 +4547,7 @@
|
|
|
5917
4547
|
],
|
|
5918
4548
|
"repo.members.accessLevel.get": [
|
|
5919
4549
|
{
|
|
5920
|
-
"security": [
|
|
5921
|
-
{
|
|
5922
|
-
"BearerAuth": []
|
|
5923
|
-
}
|
|
5924
|
-
],
|
|
5925
4550
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
5926
|
-
"consumes": [
|
|
5927
|
-
"application/json"
|
|
5928
|
-
],
|
|
5929
|
-
"produces": [
|
|
5930
|
-
"application/json",
|
|
5931
|
-
"application/vnd.cnb.api+json",
|
|
5932
|
-
"application/vnd.cnb.web+json"
|
|
5933
|
-
],
|
|
5934
|
-
"tags": [
|
|
5935
|
-
"Contributors"
|
|
5936
|
-
],
|
|
5937
4551
|
"summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息",
|
|
5938
4552
|
"parameters": [
|
|
5939
4553
|
{
|
|
@@ -5965,23 +4579,7 @@
|
|
|
5965
4579
|
],
|
|
5966
4580
|
"repo.members.delete": [
|
|
5967
4581
|
{
|
|
5968
|
-
"security": [
|
|
5969
|
-
{
|
|
5970
|
-
"BearerAuth": []
|
|
5971
|
-
}
|
|
5972
|
-
],
|
|
5973
4582
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
5974
|
-
"consumes": [
|
|
5975
|
-
"application/json"
|
|
5976
|
-
],
|
|
5977
|
-
"produces": [
|
|
5978
|
-
"application/json",
|
|
5979
|
-
"application/vnd.cnb.api+json",
|
|
5980
|
-
"application/vnd.cnb.web+json"
|
|
5981
|
-
],
|
|
5982
|
-
"tags": [
|
|
5983
|
-
"Collaborators"
|
|
5984
|
-
],
|
|
5985
4583
|
"summary": "删除指定组织或仓库的直接成员, 包含两种场景: 1. 作为直接成员的用户自己退出 2. 由管理者移除指定的直接成员",
|
|
5986
4584
|
"parameters": [
|
|
5987
4585
|
{
|
|
@@ -6009,24 +4607,8 @@
|
|
|
6009
4607
|
}
|
|
6010
4608
|
],
|
|
6011
4609
|
"repo.members.put": [
|
|
6012
|
-
{
|
|
6013
|
-
"
|
|
6014
|
-
{
|
|
6015
|
-
"BearerAuth": []
|
|
6016
|
-
}
|
|
6017
|
-
],
|
|
6018
|
-
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6019
|
-
"consumes": [
|
|
6020
|
-
"application/json"
|
|
6021
|
-
],
|
|
6022
|
-
"produces": [
|
|
6023
|
-
"application/json",
|
|
6024
|
-
"application/vnd.cnb.api+json",
|
|
6025
|
-
"application/vnd.cnb.web+json"
|
|
6026
|
-
],
|
|
6027
|
-
"tags": [
|
|
6028
|
-
"Collaborators"
|
|
6029
|
-
],
|
|
4610
|
+
{
|
|
4611
|
+
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6030
4612
|
"summary": "更新指定组织或仓库内的直接成员权限信息",
|
|
6031
4613
|
"parameters": [
|
|
6032
4614
|
{
|
|
@@ -6064,23 +4646,7 @@
|
|
|
6064
4646
|
],
|
|
6065
4647
|
"repo.members.accessLevel.list": [
|
|
6066
4648
|
{
|
|
6067
|
-
"security": [
|
|
6068
|
-
{
|
|
6069
|
-
"BearerAuth": []
|
|
6070
|
-
}
|
|
6071
|
-
],
|
|
6072
4649
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
6073
|
-
"consumes": [
|
|
6074
|
-
"application/json"
|
|
6075
|
-
],
|
|
6076
|
-
"produces": [
|
|
6077
|
-
"application/json",
|
|
6078
|
-
"application/vnd.cnb.api+json",
|
|
6079
|
-
"application/vnd.cnb.web+json"
|
|
6080
|
-
],
|
|
6081
|
-
"tags": [
|
|
6082
|
-
"Contributors"
|
|
6083
|
-
],
|
|
6084
4650
|
"summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息",
|
|
6085
4651
|
"parameters": [
|
|
6086
4652
|
{
|
|
@@ -6115,23 +4681,7 @@
|
|
|
6115
4681
|
],
|
|
6116
4682
|
"repo.outsideCollaborators.list": [
|
|
6117
4683
|
{
|
|
6118
|
-
"security": [
|
|
6119
|
-
{
|
|
6120
|
-
"BearerAuth": []
|
|
6121
|
-
}
|
|
6122
|
-
],
|
|
6123
4684
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
6124
|
-
"consumes": [
|
|
6125
|
-
"application/json"
|
|
6126
|
-
],
|
|
6127
|
-
"produces": [
|
|
6128
|
-
"application/json",
|
|
6129
|
-
"application/vnd.cnb.api+json",
|
|
6130
|
-
"application/vnd.cnb.web+json"
|
|
6131
|
-
],
|
|
6132
|
-
"tags": [
|
|
6133
|
-
"Collaborators"
|
|
6134
|
-
],
|
|
6135
4685
|
"summary": "获取指定仓库内的外部贡献者",
|
|
6136
4686
|
"parameters": [
|
|
6137
4687
|
{
|
|
@@ -6192,23 +4742,7 @@
|
|
|
6192
4742
|
],
|
|
6193
4743
|
"repo.outsideCollaborators.delete": [
|
|
6194
4744
|
{
|
|
6195
|
-
"security": [
|
|
6196
|
-
{
|
|
6197
|
-
"BearerAuth": []
|
|
6198
|
-
}
|
|
6199
|
-
],
|
|
6200
4745
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6201
|
-
"consumes": [
|
|
6202
|
-
"application/json"
|
|
6203
|
-
],
|
|
6204
|
-
"produces": [
|
|
6205
|
-
"application/json",
|
|
6206
|
-
"application/vnd.cnb.api+json",
|
|
6207
|
-
"application/vnd.cnb.web+json"
|
|
6208
|
-
],
|
|
6209
|
-
"tags": [
|
|
6210
|
-
"Collaborators"
|
|
6211
|
-
],
|
|
6212
4746
|
"summary": "删除指定仓库的外部贡献者, 包含两种场景: 1. 作为外部贡献者的用户自己退出仓库 2. 由仓库管理者移除指定的外部贡献者",
|
|
6213
4747
|
"parameters": [
|
|
6214
4748
|
{
|
|
@@ -6237,23 +4771,7 @@
|
|
|
6237
4771
|
],
|
|
6238
4772
|
"repo.outsideCollaborators.put": [
|
|
6239
4773
|
{
|
|
6240
|
-
"security": [
|
|
6241
|
-
{
|
|
6242
|
-
"BearerAuth": []
|
|
6243
|
-
}
|
|
6244
|
-
],
|
|
6245
4774
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
6246
|
-
"consumes": [
|
|
6247
|
-
"application/json"
|
|
6248
|
-
],
|
|
6249
|
-
"produces": [
|
|
6250
|
-
"application/json",
|
|
6251
|
-
"application/vnd.cnb.api+json",
|
|
6252
|
-
"application/vnd.cnb.web+json"
|
|
6253
|
-
],
|
|
6254
|
-
"tags": [
|
|
6255
|
-
"Collaborators"
|
|
6256
|
-
],
|
|
6257
4775
|
"summary": "更新指定仓库的外部贡献者权限信息",
|
|
6258
4776
|
"parameters": [
|
|
6259
4777
|
{
|
|
@@ -6294,22 +4812,7 @@
|
|
|
6294
4812
|
],
|
|
6295
4813
|
"repo.pulls.list": [
|
|
6296
4814
|
{
|
|
6297
|
-
"security": [
|
|
6298
|
-
{
|
|
6299
|
-
"BearerAuth": []
|
|
6300
|
-
}
|
|
6301
|
-
],
|
|
6302
4815
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
|
|
6303
|
-
"consumes": [
|
|
6304
|
-
"application/json"
|
|
6305
|
-
],
|
|
6306
|
-
"produces": [
|
|
6307
|
-
"application/json",
|
|
6308
|
-
"application/vnd.cnb.api+json"
|
|
6309
|
-
],
|
|
6310
|
-
"tags": [
|
|
6311
|
-
"Pulls"
|
|
6312
|
-
],
|
|
6313
4816
|
"summary": "[openapi] 查询 Pull 列表",
|
|
6314
4817
|
"parameters": [
|
|
6315
4818
|
{
|
|
@@ -6388,22 +4891,7 @@
|
|
|
6388
4891
|
],
|
|
6389
4892
|
"repo.pulls.post": [
|
|
6390
4893
|
{
|
|
6391
|
-
"security": [
|
|
6392
|
-
{
|
|
6393
|
-
"BearerAuth": []
|
|
6394
|
-
}
|
|
6395
|
-
],
|
|
6396
4894
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
|
|
6397
|
-
"consumes": [
|
|
6398
|
-
"application/json"
|
|
6399
|
-
],
|
|
6400
|
-
"produces": [
|
|
6401
|
-
"application/json",
|
|
6402
|
-
"application/vnd.cnb.api+json"
|
|
6403
|
-
],
|
|
6404
|
-
"tags": [
|
|
6405
|
-
"Pulls"
|
|
6406
|
-
],
|
|
6407
4895
|
"summary": "[openapi] 新增一个 Pull",
|
|
6408
4896
|
"parameters": [
|
|
6409
4897
|
{
|
|
@@ -6449,22 +4937,7 @@
|
|
|
6449
4937
|
],
|
|
6450
4938
|
"repo.pulls.get": [
|
|
6451
4939
|
{
|
|
6452
|
-
"security": [
|
|
6453
|
-
{
|
|
6454
|
-
"BearerAuth": []
|
|
6455
|
-
}
|
|
6456
|
-
],
|
|
6457
4940
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
|
|
6458
|
-
"consumes": [
|
|
6459
|
-
"application/json"
|
|
6460
|
-
],
|
|
6461
|
-
"produces": [
|
|
6462
|
-
"application/json",
|
|
6463
|
-
"application/vnd.cnb.api+json"
|
|
6464
|
-
],
|
|
6465
|
-
"tags": [
|
|
6466
|
-
"Pulls"
|
|
6467
|
-
],
|
|
6468
4941
|
"summary": "[openapi] 查询指定 Pull",
|
|
6469
4942
|
"parameters": [
|
|
6470
4943
|
{
|
|
@@ -6508,22 +4981,7 @@
|
|
|
6508
4981
|
],
|
|
6509
4982
|
"repo.pulls.patch": [
|
|
6510
4983
|
{
|
|
6511
|
-
"security": [
|
|
6512
|
-
{
|
|
6513
|
-
"BearerAuth": []
|
|
6514
|
-
}
|
|
6515
|
-
],
|
|
6516
4984
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
|
|
6517
|
-
"consumes": [
|
|
6518
|
-
"application/json"
|
|
6519
|
-
],
|
|
6520
|
-
"produces": [
|
|
6521
|
-
"application/json",
|
|
6522
|
-
"application/vnd.cnb.api+json"
|
|
6523
|
-
],
|
|
6524
|
-
"tags": [
|
|
6525
|
-
"Pulls"
|
|
6526
|
-
],
|
|
6527
4985
|
"summary": "[openapi] 更新一个 Pull Request",
|
|
6528
4986
|
"parameters": [
|
|
6529
4987
|
{
|
|
@@ -6576,22 +5034,7 @@
|
|
|
6576
5034
|
],
|
|
6577
5035
|
"repo.pulls.comments.list": [
|
|
6578
5036
|
{
|
|
6579
|
-
"security": [
|
|
6580
|
-
{
|
|
6581
|
-
"BearerAuth": []
|
|
6582
|
-
}
|
|
6583
|
-
],
|
|
6584
5037
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
6585
|
-
"consumes": [
|
|
6586
|
-
"application/json"
|
|
6587
|
-
],
|
|
6588
|
-
"produces": [
|
|
6589
|
-
"application/json",
|
|
6590
|
-
"application/vnd.cnb.api+json"
|
|
6591
|
-
],
|
|
6592
|
-
"tags": [
|
|
6593
|
-
"Pulls"
|
|
6594
|
-
],
|
|
6595
5038
|
"summary": "[openapi] 查询 Pull Comments 列表",
|
|
6596
5039
|
"parameters": [
|
|
6597
5040
|
{
|
|
@@ -6645,22 +5088,7 @@
|
|
|
6645
5088
|
],
|
|
6646
5089
|
"repo.pulls.comments.post": [
|
|
6647
5090
|
{
|
|
6648
|
-
"security": [
|
|
6649
|
-
{
|
|
6650
|
-
"BearerAuth": []
|
|
6651
|
-
}
|
|
6652
|
-
],
|
|
6653
5091
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
6654
|
-
"consumes": [
|
|
6655
|
-
"application/json"
|
|
6656
|
-
],
|
|
6657
|
-
"produces": [
|
|
6658
|
-
"application/json",
|
|
6659
|
-
"application/vnd.cnb.api+json"
|
|
6660
|
-
],
|
|
6661
|
-
"tags": [
|
|
6662
|
-
"Pulls"
|
|
6663
|
-
],
|
|
6664
5092
|
"summary": "[openapi] 新增一个 Pull Comment",
|
|
6665
5093
|
"parameters": [
|
|
6666
5094
|
{
|
|
@@ -6710,22 +5138,7 @@
|
|
|
6710
5138
|
],
|
|
6711
5139
|
"repo.pulls.labels.delete": [
|
|
6712
5140
|
{
|
|
6713
|
-
"security": [
|
|
6714
|
-
{
|
|
6715
|
-
"BearerAuth": []
|
|
6716
|
-
}
|
|
6717
|
-
],
|
|
6718
5141
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
6719
|
-
"consumes": [
|
|
6720
|
-
"application/json"
|
|
6721
|
-
],
|
|
6722
|
-
"produces": [
|
|
6723
|
-
"application/json",
|
|
6724
|
-
"application/vnd.cnb.api+json"
|
|
6725
|
-
],
|
|
6726
|
-
"tags": [
|
|
6727
|
-
"Pulls"
|
|
6728
|
-
],
|
|
6729
5142
|
"summary": "清空 Pull 标签",
|
|
6730
5143
|
"parameters": [
|
|
6731
5144
|
{
|
|
@@ -6766,22 +5179,7 @@
|
|
|
6766
5179
|
],
|
|
6767
5180
|
"repo.pulls.labels.list": [
|
|
6768
5181
|
{
|
|
6769
|
-
"security": [
|
|
6770
|
-
{
|
|
6771
|
-
"BearerAuth": []
|
|
6772
|
-
}
|
|
6773
|
-
],
|
|
6774
5182
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
|
|
6775
|
-
"consumes": [
|
|
6776
|
-
"application/json"
|
|
6777
|
-
],
|
|
6778
|
-
"produces": [
|
|
6779
|
-
"application/json",
|
|
6780
|
-
"application/vnd.cnb.api+json"
|
|
6781
|
-
],
|
|
6782
|
-
"tags": [
|
|
6783
|
-
"Pulls"
|
|
6784
|
-
],
|
|
6785
5183
|
"summary": "查询 Pull 的标签(label) 列表",
|
|
6786
5184
|
"parameters": [
|
|
6787
5185
|
{
|
|
@@ -6842,22 +5240,7 @@
|
|
|
6842
5240
|
],
|
|
6843
5241
|
"repo.pulls.labels.post": [
|
|
6844
5242
|
{
|
|
6845
|
-
"security": [
|
|
6846
|
-
{
|
|
6847
|
-
"BearerAuth": []
|
|
6848
|
-
}
|
|
6849
|
-
],
|
|
6850
5243
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
6851
|
-
"consumes": [
|
|
6852
|
-
"application/json"
|
|
6853
|
-
],
|
|
6854
|
-
"produces": [
|
|
6855
|
-
"application/json",
|
|
6856
|
-
"application/vnd.cnb.api+json"
|
|
6857
|
-
],
|
|
6858
|
-
"tags": [
|
|
6859
|
-
"Pulls"
|
|
6860
|
-
],
|
|
6861
5244
|
"summary": "新增 Pull 标签",
|
|
6862
5245
|
"parameters": [
|
|
6863
5246
|
{
|
|
@@ -6910,22 +5293,7 @@
|
|
|
6910
5293
|
],
|
|
6911
5294
|
"repo.pulls.labels.put": [
|
|
6912
5295
|
{
|
|
6913
|
-
"security": [
|
|
6914
|
-
{
|
|
6915
|
-
"BearerAuth": []
|
|
6916
|
-
}
|
|
6917
|
-
],
|
|
6918
5296
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
6919
|
-
"consumes": [
|
|
6920
|
-
"application/json"
|
|
6921
|
-
],
|
|
6922
|
-
"produces": [
|
|
6923
|
-
"application/json",
|
|
6924
|
-
"application/vnd.cnb.api+json"
|
|
6925
|
-
],
|
|
6926
|
-
"tags": [
|
|
6927
|
-
"Pulls"
|
|
6928
|
-
],
|
|
6929
5297
|
"summary": "设置 Pull 标签",
|
|
6930
5298
|
"parameters": [
|
|
6931
5299
|
{
|
|
@@ -6978,22 +5346,7 @@
|
|
|
6978
5346
|
],
|
|
6979
5347
|
"repo.pulls.labels.deleteByName": [
|
|
6980
5348
|
{
|
|
6981
|
-
"security": [
|
|
6982
|
-
{
|
|
6983
|
-
"BearerAuth": []
|
|
6984
|
-
}
|
|
6985
|
-
],
|
|
6986
5349
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
6987
|
-
"consumes": [
|
|
6988
|
-
"application/json"
|
|
6989
|
-
],
|
|
6990
|
-
"produces": [
|
|
6991
|
-
"application/json",
|
|
6992
|
-
"application/vnd.cnb.api+json"
|
|
6993
|
-
],
|
|
6994
|
-
"tags": [
|
|
6995
|
-
"Pulls"
|
|
6996
|
-
],
|
|
6997
5350
|
"summary": "删除 Pull 标签",
|
|
6998
5351
|
"parameters": [
|
|
6999
5352
|
{
|
|
@@ -7044,22 +5397,7 @@
|
|
|
7044
5397
|
],
|
|
7045
5398
|
"repo.pulls.merge.put": [
|
|
7046
5399
|
{
|
|
7047
|
-
"security": [
|
|
7048
|
-
{
|
|
7049
|
-
"BearerAuth": []
|
|
7050
|
-
}
|
|
7051
|
-
],
|
|
7052
5400
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
|
|
7053
|
-
"consumes": [
|
|
7054
|
-
"application/json"
|
|
7055
|
-
],
|
|
7056
|
-
"produces": [
|
|
7057
|
-
"application/json",
|
|
7058
|
-
"application/vnd.cnb.api+json"
|
|
7059
|
-
],
|
|
7060
|
-
"tags": [
|
|
7061
|
-
"Pulls"
|
|
7062
|
-
],
|
|
7063
5401
|
"summary": "[openapi] 合并一个 Pull Request",
|
|
7064
5402
|
"parameters": [
|
|
7065
5403
|
{
|
|
@@ -7112,22 +5450,7 @@
|
|
|
7112
5450
|
],
|
|
7113
5451
|
"repo.pulls.reviews.post": [
|
|
7114
5452
|
{
|
|
7115
|
-
"security": [
|
|
7116
|
-
{
|
|
7117
|
-
"BearerAuth": []
|
|
7118
|
-
}
|
|
7119
|
-
],
|
|
7120
5453
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
|
|
7121
|
-
"consumes": [
|
|
7122
|
-
"application/json"
|
|
7123
|
-
],
|
|
7124
|
-
"produces": [
|
|
7125
|
-
"application/json",
|
|
7126
|
-
"application/vnd.cnb.api+json"
|
|
7127
|
-
],
|
|
7128
|
-
"tags": [
|
|
7129
|
-
"Pulls"
|
|
7130
|
-
],
|
|
7131
5454
|
"summary": "[openapi] 新增一个 Pull Review",
|
|
7132
5455
|
"parameters": [
|
|
7133
5456
|
{
|
|
@@ -7177,20 +5500,7 @@
|
|
|
7177
5500
|
],
|
|
7178
5501
|
"repo.releases.list": [
|
|
7179
5502
|
{
|
|
7180
|
-
"security": [
|
|
7181
|
-
{
|
|
7182
|
-
"BearerAuth": []
|
|
7183
|
-
}
|
|
7184
|
-
],
|
|
7185
5503
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
7186
|
-
"consumes": null,
|
|
7187
|
-
"produces": [
|
|
7188
|
-
"application/json",
|
|
7189
|
-
"application/vnd.cnb.api+json"
|
|
7190
|
-
],
|
|
7191
|
-
"tags": [
|
|
7192
|
-
"Releases"
|
|
7193
|
-
],
|
|
7194
5504
|
"summary": "[openapi] 查询 release 列表",
|
|
7195
5505
|
"parameters": [
|
|
7196
5506
|
{
|
|
@@ -7244,22 +5554,7 @@
|
|
|
7244
5554
|
],
|
|
7245
5555
|
"repo.releases.post": [
|
|
7246
5556
|
{
|
|
7247
|
-
"security": [
|
|
7248
|
-
{
|
|
7249
|
-
"BearerAuth": []
|
|
7250
|
-
}
|
|
7251
|
-
],
|
|
7252
5557
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
7253
|
-
"consumes": [
|
|
7254
|
-
"application/json"
|
|
7255
|
-
],
|
|
7256
|
-
"produces": [
|
|
7257
|
-
"application/json",
|
|
7258
|
-
"application/vnd.cnb.api+json"
|
|
7259
|
-
],
|
|
7260
|
-
"tags": [
|
|
7261
|
-
"Releases"
|
|
7262
|
-
],
|
|
7263
5558
|
"summary": "[openapi] 新增一个 Release",
|
|
7264
5559
|
"parameters": [
|
|
7265
5560
|
{
|
|
@@ -7305,17 +5600,7 @@
|
|
|
7305
5600
|
],
|
|
7306
5601
|
"repo.releases.download.get": [
|
|
7307
5602
|
{
|
|
7308
|
-
"security": [
|
|
7309
|
-
{
|
|
7310
|
-
"BearerAuth": []
|
|
7311
|
-
}
|
|
7312
|
-
],
|
|
7313
5603
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
|
|
7314
|
-
"consumes": null,
|
|
7315
|
-
"produces": null,
|
|
7316
|
-
"tags": [
|
|
7317
|
-
"Assets"
|
|
7318
|
-
],
|
|
7319
5604
|
"summary": "发起一个获取 release 附件的请求,返回内容或者 302 到某个地址",
|
|
7320
5605
|
"parameters": [
|
|
7321
5606
|
{
|
|
@@ -7345,20 +5630,7 @@
|
|
|
7345
5630
|
],
|
|
7346
5631
|
"repo.releases.tags.get": [
|
|
7347
5632
|
{
|
|
7348
|
-
"security": [
|
|
7349
|
-
{
|
|
7350
|
-
"BearerAuth": []
|
|
7351
|
-
}
|
|
7352
|
-
],
|
|
7353
5633
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
7354
|
-
"consumes": null,
|
|
7355
|
-
"produces": [
|
|
7356
|
-
"application/json",
|
|
7357
|
-
"application/vnd.cnb.api+json"
|
|
7358
|
-
],
|
|
7359
|
-
"tags": [
|
|
7360
|
-
"Releases"
|
|
7361
|
-
],
|
|
7362
5634
|
"summary": "[openapi] 通过 tag 查询指定 release",
|
|
7363
5635
|
"parameters": [
|
|
7364
5636
|
{
|
|
@@ -7402,20 +5674,7 @@
|
|
|
7402
5674
|
],
|
|
7403
5675
|
"repo.releases.delete": [
|
|
7404
5676
|
{
|
|
7405
|
-
"security": [
|
|
7406
|
-
{
|
|
7407
|
-
"BearerAuth": []
|
|
7408
|
-
}
|
|
7409
|
-
],
|
|
7410
5677
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
7411
|
-
"consumes": null,
|
|
7412
|
-
"produces": [
|
|
7413
|
-
"application/json",
|
|
7414
|
-
"application/vnd.cnb.api+json"
|
|
7415
|
-
],
|
|
7416
|
-
"tags": [
|
|
7417
|
-
"Releases"
|
|
7418
|
-
],
|
|
7419
5678
|
"summary": "[openapi] 删除指定的 release",
|
|
7420
5679
|
"parameters": [
|
|
7421
5680
|
{
|
|
@@ -7456,20 +5715,7 @@
|
|
|
7456
5715
|
],
|
|
7457
5716
|
"repo.releases.get": [
|
|
7458
5717
|
{
|
|
7459
|
-
"security": [
|
|
7460
|
-
{
|
|
7461
|
-
"BearerAuth": []
|
|
7462
|
-
}
|
|
7463
|
-
],
|
|
7464
5718
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
7465
|
-
"consumes": null,
|
|
7466
|
-
"produces": [
|
|
7467
|
-
"application/json",
|
|
7468
|
-
"application/vnd.cnb.api+json"
|
|
7469
|
-
],
|
|
7470
|
-
"tags": [
|
|
7471
|
-
"Releases"
|
|
7472
|
-
],
|
|
7473
5719
|
"summary": "[openapi] 根据 id\t查询指定 release",
|
|
7474
5720
|
"parameters": [
|
|
7475
5721
|
{
|
|
@@ -7513,22 +5759,7 @@
|
|
|
7513
5759
|
],
|
|
7514
5760
|
"repo.releases.patch": [
|
|
7515
5761
|
{
|
|
7516
|
-
"security": [
|
|
7517
|
-
{
|
|
7518
|
-
"BearerAuth": []
|
|
7519
|
-
}
|
|
7520
|
-
],
|
|
7521
5762
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
7522
|
-
"consumes": [
|
|
7523
|
-
"application/json"
|
|
7524
|
-
],
|
|
7525
|
-
"produces": [
|
|
7526
|
-
"application/json",
|
|
7527
|
-
"application/vnd.cnb.api+json"
|
|
7528
|
-
],
|
|
7529
|
-
"tags": [
|
|
7530
|
-
"Releases"
|
|
7531
|
-
],
|
|
7532
5763
|
"summary": "[openapi] 更新 release",
|
|
7533
5764
|
"parameters": [
|
|
7534
5765
|
{
|
|
@@ -7578,22 +5809,7 @@
|
|
|
7578
5809
|
],
|
|
7579
5810
|
"repo.releases.assetUploadConfirmation.post": [
|
|
7580
5811
|
{
|
|
7581
|
-
"security": [
|
|
7582
|
-
{
|
|
7583
|
-
"BearerAuth": []
|
|
7584
|
-
}
|
|
7585
|
-
],
|
|
7586
5812
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
7587
|
-
"consumes": [
|
|
7588
|
-
"application/json"
|
|
7589
|
-
],
|
|
7590
|
-
"produces": [
|
|
7591
|
-
"application/json",
|
|
7592
|
-
"application/vnd.cnb.api+json"
|
|
7593
|
-
],
|
|
7594
|
-
"tags": [
|
|
7595
|
-
"Releases"
|
|
7596
|
-
],
|
|
7597
5813
|
"summary": "[openapi] 确认 Release asset 上传完成",
|
|
7598
5814
|
"parameters": [
|
|
7599
5815
|
{
|
|
@@ -7648,22 +5864,7 @@
|
|
|
7648
5864
|
],
|
|
7649
5865
|
"repo.releases.assetUploadUrl.post": [
|
|
7650
5866
|
{
|
|
7651
|
-
"security": [
|
|
7652
|
-
{
|
|
7653
|
-
"BearerAuth": []
|
|
7654
|
-
}
|
|
7655
|
-
],
|
|
7656
5867
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
7657
|
-
"consumes": [
|
|
7658
|
-
"application/json"
|
|
7659
|
-
],
|
|
7660
|
-
"produces": [
|
|
7661
|
-
"application/json",
|
|
7662
|
-
"application/vnd.cnb.api+json"
|
|
7663
|
-
],
|
|
7664
|
-
"tags": [
|
|
7665
|
-
"Releases"
|
|
7666
|
-
],
|
|
7667
5868
|
"summary": "[openapi] 新增一个 Release asset",
|
|
7668
5869
|
"parameters": [
|
|
7669
5870
|
{
|
|
@@ -7716,17 +5917,7 @@
|
|
|
7716
5917
|
],
|
|
7717
5918
|
"repo.releases.assets.delete": [
|
|
7718
5919
|
{
|
|
7719
|
-
"security": [
|
|
7720
|
-
{
|
|
7721
|
-
"BearerAuth": []
|
|
7722
|
-
}
|
|
7723
|
-
],
|
|
7724
5920
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
|
|
7725
|
-
"consumes": null,
|
|
7726
|
-
"produces": null,
|
|
7727
|
-
"tags": [
|
|
7728
|
-
"Releases"
|
|
7729
|
-
],
|
|
7730
5921
|
"summary": "[openapi] 删除指定的 release asset",
|
|
7731
5922
|
"parameters": [
|
|
7732
5923
|
{
|
|
@@ -7774,17 +5965,7 @@
|
|
|
7774
5965
|
],
|
|
7775
5966
|
"repo.releases.assets.get": [
|
|
7776
5967
|
{
|
|
7777
|
-
"security": [
|
|
7778
|
-
{
|
|
7779
|
-
"BearerAuth": []
|
|
7780
|
-
}
|
|
7781
|
-
],
|
|
7782
5968
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
|
|
7783
|
-
"consumes": null,
|
|
7784
|
-
"produces": null,
|
|
7785
|
-
"tags": [
|
|
7786
|
-
"Releases"
|
|
7787
|
-
],
|
|
7788
5969
|
"summary": "[openapi] 查询指定的 release asset",
|
|
7789
5970
|
"parameters": [
|
|
7790
5971
|
{
|
|
@@ -7835,20 +6016,7 @@
|
|
|
7835
6016
|
],
|
|
7836
6017
|
"repo.settings.branchProtections.list": [
|
|
7837
6018
|
{
|
|
7838
|
-
"security": [
|
|
7839
|
-
{
|
|
7840
|
-
"BearerAuth": []
|
|
7841
|
-
}
|
|
7842
|
-
],
|
|
7843
6019
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
7844
|
-
"consumes": null,
|
|
7845
|
-
"produces": [
|
|
7846
|
-
"application/json",
|
|
7847
|
-
"application/vnd.cnb.api+json"
|
|
7848
|
-
],
|
|
7849
|
-
"tags": [
|
|
7850
|
-
"GitSettings"
|
|
7851
|
-
],
|
|
7852
6020
|
"summary": "查询仓库保护分支规则列表(openapi)",
|
|
7853
6021
|
"parameters": [
|
|
7854
6022
|
{
|
|
@@ -7888,21 +6056,7 @@
|
|
|
7888
6056
|
],
|
|
7889
6057
|
"repo.settings.branchProtections.post": [
|
|
7890
6058
|
{
|
|
7891
|
-
"security": [
|
|
7892
|
-
{
|
|
7893
|
-
"BearerAuth": []
|
|
7894
|
-
}
|
|
7895
|
-
],
|
|
7896
6059
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
7897
|
-
"consumes": [
|
|
7898
|
-
"application/json"
|
|
7899
|
-
],
|
|
7900
|
-
"produces": [
|
|
7901
|
-
"application/vnd.cnb.api+json"
|
|
7902
|
-
],
|
|
7903
|
-
"tags": [
|
|
7904
|
-
"GitSettings"
|
|
7905
|
-
],
|
|
7906
6060
|
"summary": "新增仓库保护分支规则(openapi)",
|
|
7907
6061
|
"parameters": [
|
|
7908
6062
|
{
|
|
@@ -7945,19 +6099,7 @@
|
|
|
7945
6099
|
],
|
|
7946
6100
|
"repo.settings.branchProtections.delete": [
|
|
7947
6101
|
{
|
|
7948
|
-
"security": [
|
|
7949
|
-
{
|
|
7950
|
-
"BearerAuth": []
|
|
7951
|
-
}
|
|
7952
|
-
],
|
|
7953
6102
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
7954
|
-
"consumes": null,
|
|
7955
|
-
"produces": [
|
|
7956
|
-
"application/vnd.cnb.api+json"
|
|
7957
|
-
],
|
|
7958
|
-
"tags": [
|
|
7959
|
-
"GitSettings"
|
|
7960
|
-
],
|
|
7961
6103
|
"summary": "删除仓库保护分支规则(openapi)",
|
|
7962
6104
|
"parameters": [
|
|
7963
6105
|
{
|
|
@@ -7998,19 +6140,7 @@
|
|
|
7998
6140
|
],
|
|
7999
6141
|
"repo.settings.branchProtections.get": [
|
|
8000
6142
|
{
|
|
8001
|
-
"security": [
|
|
8002
|
-
{
|
|
8003
|
-
"BearerAuth": []
|
|
8004
|
-
}
|
|
8005
|
-
],
|
|
8006
6143
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
8007
|
-
"consumes": null,
|
|
8008
|
-
"produces": [
|
|
8009
|
-
"application/vnd.cnb.api+json"
|
|
8010
|
-
],
|
|
8011
|
-
"tags": [
|
|
8012
|
-
"GitSettings"
|
|
8013
|
-
],
|
|
8014
6144
|
"summary": "查询仓库保护分支规则(openapi)",
|
|
8015
6145
|
"parameters": [
|
|
8016
6146
|
{
|
|
@@ -8054,21 +6184,7 @@
|
|
|
8054
6184
|
],
|
|
8055
6185
|
"repo.settings.branchProtections.patch": [
|
|
8056
6186
|
{
|
|
8057
|
-
"security": [
|
|
8058
|
-
{
|
|
8059
|
-
"BearerAuth": []
|
|
8060
|
-
}
|
|
8061
|
-
],
|
|
8062
6187
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
8063
|
-
"consumes": [
|
|
8064
|
-
"application/json"
|
|
8065
|
-
],
|
|
8066
|
-
"produces": [
|
|
8067
|
-
"application/vnd.cnb.api+json"
|
|
8068
|
-
],
|
|
8069
|
-
"tags": [
|
|
8070
|
-
"GitSettings"
|
|
8071
|
-
],
|
|
8072
6188
|
"summary": "更新仓库保护分支规则(openapi)",
|
|
8073
6189
|
"parameters": [
|
|
8074
6190
|
{
|
|
@@ -8118,19 +6234,7 @@
|
|
|
8118
6234
|
],
|
|
8119
6235
|
"repo.settings.cloudNativeBuild.get": [
|
|
8120
6236
|
{
|
|
8121
|
-
"security": [
|
|
8122
|
-
{
|
|
8123
|
-
"BearerAuth": []
|
|
8124
|
-
}
|
|
8125
|
-
],
|
|
8126
6237
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
8127
|
-
"consumes": null,
|
|
8128
|
-
"produces": [
|
|
8129
|
-
"application/vnd.cnb.web+json"
|
|
8130
|
-
],
|
|
8131
|
-
"tags": [
|
|
8132
|
-
"GitSettings"
|
|
8133
|
-
],
|
|
8134
6238
|
"summary": "查询仓库云原生构建设置(openapi)",
|
|
8135
6239
|
"parameters": [
|
|
8136
6240
|
{
|
|
@@ -8167,21 +6271,7 @@
|
|
|
8167
6271
|
],
|
|
8168
6272
|
"repo.settings.cloudNativeBuild.put": [
|
|
8169
6273
|
{
|
|
8170
|
-
"security": [
|
|
8171
|
-
{
|
|
8172
|
-
"BearerAuth": []
|
|
8173
|
-
}
|
|
8174
|
-
],
|
|
8175
6274
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
8176
|
-
"consumes": [
|
|
8177
|
-
"application/json"
|
|
8178
|
-
],
|
|
8179
|
-
"produces": [
|
|
8180
|
-
"application/vnd.cnb.api+json"
|
|
8181
|
-
],
|
|
8182
|
-
"tags": [
|
|
8183
|
-
"GitSettings"
|
|
8184
|
-
],
|
|
8185
6275
|
"summary": "更新仓库云原生构建设置(openapi)",
|
|
8186
6276
|
"parameters": [
|
|
8187
6277
|
{
|
|
@@ -8224,19 +6314,7 @@
|
|
|
8224
6314
|
],
|
|
8225
6315
|
"repo.settings.pullRequest.get": [
|
|
8226
6316
|
{
|
|
8227
|
-
"security": [
|
|
8228
|
-
{
|
|
8229
|
-
"BearerAuth": []
|
|
8230
|
-
}
|
|
8231
|
-
],
|
|
8232
6317
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
8233
|
-
"consumes": null,
|
|
8234
|
-
"produces": [
|
|
8235
|
-
"application/vnd.cnb.api+json"
|
|
8236
|
-
],
|
|
8237
|
-
"tags": [
|
|
8238
|
-
"GitSettings"
|
|
8239
|
-
],
|
|
8240
6318
|
"summary": "查询仓库合并请求设置(openapi)",
|
|
8241
6319
|
"parameters": [
|
|
8242
6320
|
{
|
|
@@ -8273,21 +6351,7 @@
|
|
|
8273
6351
|
],
|
|
8274
6352
|
"repo.settings.pullRequest.put": [
|
|
8275
6353
|
{
|
|
8276
|
-
"security": [
|
|
8277
|
-
{
|
|
8278
|
-
"BearerAuth": []
|
|
8279
|
-
}
|
|
8280
|
-
],
|
|
8281
6354
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
8282
|
-
"consumes": [
|
|
8283
|
-
"application/json"
|
|
8284
|
-
],
|
|
8285
|
-
"produces": [
|
|
8286
|
-
"application/vnd.cnb.api+json"
|
|
8287
|
-
],
|
|
8288
|
-
"tags": [
|
|
8289
|
-
"GitSettings"
|
|
8290
|
-
],
|
|
8291
6355
|
"summary": "设置仓库推送设置(openapi)",
|
|
8292
6356
|
"parameters": [
|
|
8293
6357
|
{
|
|
@@ -8330,19 +6394,7 @@
|
|
|
8330
6394
|
],
|
|
8331
6395
|
"repo.settings.pushLimit.get": [
|
|
8332
6396
|
{
|
|
8333
|
-
"security": [
|
|
8334
|
-
{
|
|
8335
|
-
"BearerAuth": []
|
|
8336
|
-
}
|
|
8337
|
-
],
|
|
8338
6397
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
|
|
8339
|
-
"consumes": null,
|
|
8340
|
-
"produces": [
|
|
8341
|
-
"application/vnd.cnb.api+json"
|
|
8342
|
-
],
|
|
8343
|
-
"tags": [
|
|
8344
|
-
"GitSettings"
|
|
8345
|
-
],
|
|
8346
6398
|
"summary": "查询仓库推送设置(openapi)",
|
|
8347
6399
|
"parameters": [
|
|
8348
6400
|
{
|
|
@@ -8379,21 +6431,7 @@
|
|
|
8379
6431
|
],
|
|
8380
6432
|
"repo.settings.pushLimit.put": [
|
|
8381
6433
|
{
|
|
8382
|
-
"security": [
|
|
8383
|
-
{
|
|
8384
|
-
"BearerAuth": []
|
|
8385
|
-
}
|
|
8386
|
-
],
|
|
8387
6434
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
|
|
8388
|
-
"consumes": [
|
|
8389
|
-
"application/json"
|
|
8390
|
-
],
|
|
8391
|
-
"produces": [
|
|
8392
|
-
"application/vnd.cnb.api+json"
|
|
8393
|
-
],
|
|
8394
|
-
"tags": [
|
|
8395
|
-
"GitSettings"
|
|
8396
|
-
],
|
|
8397
6435
|
"summary": "设置仓库推送设置(openapi)",
|
|
8398
6436
|
"parameters": [
|
|
8399
6437
|
{
|
|
@@ -8436,23 +6474,7 @@
|
|
|
8436
6474
|
],
|
|
8437
6475
|
"repo.stars.get": [
|
|
8438
6476
|
{
|
|
8439
|
-
"security": [
|
|
8440
|
-
{
|
|
8441
|
-
"BearerAuth": []
|
|
8442
|
-
}
|
|
8443
|
-
],
|
|
8444
6477
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-basic-info:r",
|
|
8445
|
-
"consumes": [
|
|
8446
|
-
"application/json"
|
|
8447
|
-
],
|
|
8448
|
-
"produces": [
|
|
8449
|
-
"application/json",
|
|
8450
|
-
"application/vnd.cnb.api+json",
|
|
8451
|
-
"application/vnd.cnb.web+json"
|
|
8452
|
-
],
|
|
8453
|
-
"tags": [
|
|
8454
|
-
"Starring"
|
|
8455
|
-
],
|
|
8456
6478
|
"summary": "获取指定仓库的star用户列表",
|
|
8457
6479
|
"parameters": [
|
|
8458
6480
|
{
|
|
@@ -8504,23 +6526,7 @@
|
|
|
8504
6526
|
],
|
|
8505
6527
|
"repo.topActivityUsers.list": [
|
|
8506
6528
|
{
|
|
8507
|
-
"security": [
|
|
8508
|
-
{
|
|
8509
|
-
"BearerAuth": []
|
|
8510
|
-
}
|
|
8511
|
-
],
|
|
8512
6529
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-base-info:r",
|
|
8513
|
-
"consumes": [
|
|
8514
|
-
"application/json"
|
|
8515
|
-
],
|
|
8516
|
-
"produces": [
|
|
8517
|
-
"application/json",
|
|
8518
|
-
"application/vnd.cnb.api+json",
|
|
8519
|
-
"application/vnd.cnb.web+json"
|
|
8520
|
-
],
|
|
8521
|
-
"tags": [
|
|
8522
|
-
"Collaborators"
|
|
8523
|
-
],
|
|
8524
6530
|
"summary": "获取 top 贡献用户",
|
|
8525
6531
|
"parameters": [
|
|
8526
6532
|
{
|
|
@@ -8555,22 +6561,7 @@
|
|
|
8555
6561
|
],
|
|
8556
6562
|
"repo.upload.files.post": [
|
|
8557
6563
|
{
|
|
8558
|
-
"security": [
|
|
8559
|
-
{
|
|
8560
|
-
"BearerAuth": []
|
|
8561
|
-
}
|
|
8562
|
-
],
|
|
8563
6564
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
8564
|
-
"consumes": [
|
|
8565
|
-
"application/json"
|
|
8566
|
-
],
|
|
8567
|
-
"produces": [
|
|
8568
|
-
"application/json",
|
|
8569
|
-
"application/vnd.cnb.web+json"
|
|
8570
|
-
],
|
|
8571
|
-
"tags": [
|
|
8572
|
-
"Assets"
|
|
8573
|
-
],
|
|
8574
6565
|
"summary": "发起一个上传 files(issue,pr 及其评论中文档,压缩包等)的请求,返回上传 cos 的 url 和 form 内容",
|
|
8575
6566
|
"parameters": [
|
|
8576
6567
|
{
|
|
@@ -8605,22 +6596,7 @@
|
|
|
8605
6596
|
],
|
|
8606
6597
|
"repo.upload.imgs.post": [
|
|
8607
6598
|
{
|
|
8608
|
-
"security": [
|
|
8609
|
-
{
|
|
8610
|
-
"BearerAuth": []
|
|
8611
|
-
}
|
|
8612
|
-
],
|
|
8613
6599
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
8614
|
-
"consumes": [
|
|
8615
|
-
"application/json"
|
|
8616
|
-
],
|
|
8617
|
-
"produces": [
|
|
8618
|
-
"application/json",
|
|
8619
|
-
"application/vnd.cnb.web+json"
|
|
8620
|
-
],
|
|
8621
|
-
"tags": [
|
|
8622
|
-
"Assets"
|
|
8623
|
-
],
|
|
8624
6600
|
"summary": "发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容",
|
|
8625
6601
|
"parameters": [
|
|
8626
6602
|
{
|
|
@@ -8655,22 +6631,7 @@
|
|
|
8655
6631
|
],
|
|
8656
6632
|
"repo.upload.releases.post": [
|
|
8657
6633
|
{
|
|
8658
|
-
"security": [
|
|
8659
|
-
{
|
|
8660
|
-
"BearerAuth": []
|
|
8661
|
-
}
|
|
8662
|
-
],
|
|
8663
6634
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
|
|
8664
|
-
"consumes": [
|
|
8665
|
-
"application/json"
|
|
8666
|
-
],
|
|
8667
|
-
"produces": [
|
|
8668
|
-
"application/json",
|
|
8669
|
-
"application/vnd.cnb.web+json"
|
|
8670
|
-
],
|
|
8671
|
-
"tags": [
|
|
8672
|
-
"Assets"
|
|
8673
|
-
],
|
|
8674
6635
|
"summary": "发起一个上传 release 附件的请求,返回上传 cos 的 url 和 form 内容",
|
|
8675
6636
|
"parameters": [
|
|
8676
6637
|
{
|
|
@@ -8712,23 +6673,7 @@
|
|
|
8712
6673
|
],
|
|
8713
6674
|
"repo.workspace.detail.get": [
|
|
8714
6675
|
{
|
|
8715
|
-
"security": [
|
|
8716
|
-
{
|
|
8717
|
-
"BearerAuth": []
|
|
8718
|
-
}
|
|
8719
|
-
],
|
|
8720
6676
|
"description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-detail:r",
|
|
8721
|
-
"consumes": [
|
|
8722
|
-
"application/json"
|
|
8723
|
-
],
|
|
8724
|
-
"produces": [
|
|
8725
|
-
"application/json",
|
|
8726
|
-
"application/vnd.cnb.api+json",
|
|
8727
|
-
"application/vnd.cnb.web+json"
|
|
8728
|
-
],
|
|
8729
|
-
"tags": [
|
|
8730
|
-
"Workspace"
|
|
8731
|
-
],
|
|
8732
6677
|
"summary": "根据流水线sn查询云原生开发访问地址",
|
|
8733
6678
|
"parameters": [
|
|
8734
6679
|
{
|