node-cnb 1.10.1 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/paths.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "groups.post": {
3
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
3
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
4
4
  "operationId": "CreateOrganization",
5
5
  "tags": [
6
6
  "Organizations"
7
7
  ],
8
- "summary": "创建新组织",
8
+ "summary": "创建新组织。Create new organization.",
9
9
  "parameters": [
10
10
  {
11
11
  "description": "group information",
@@ -26,12 +26,12 @@
26
26
  "method": "post"
27
27
  },
28
28
  "user.get": {
29
- "description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
29
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-profile:r",
30
30
  "operationId": "GetUserInfo",
31
31
  "tags": [
32
32
  "Users"
33
33
  ],
34
- "summary": "获取指定用户的详情信息",
34
+ "summary": "获取指定用户的详情信息。Get detailed information for a specified user.",
35
35
  "responses": {
36
36
  "200": {
37
37
  "description": "OK",
@@ -44,12 +44,12 @@
44
44
  "method": "get"
45
45
  },
46
46
  "user.post": {
47
- "description": "访问令牌调用此接口需包含以下权限 \naccount-profile:rw",
47
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-profile:rw",
48
48
  "operationId": "UpdateUserInfo",
49
49
  "tags": [
50
50
  "Users"
51
51
  ],
52
- "summary": "更新指定用户的详情信息, 可更新内容为: 昵称, 个人签名, 微信公众号名称, 微信公众号二维码链接, 个人网站, 个人地址, 公司名称",
52
+ "summary": "更新指定用户的详情信息。Updates the specified user's profile information.",
53
53
  "parameters": [
54
54
  {
55
55
  "description": "user info",
@@ -70,15 +70,16 @@
70
70
  "method": "post"
71
71
  },
72
72
  "user.autocompleteSource.list": {
73
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
73
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
74
74
  "operationId": "AutoCompleteSource",
75
75
  "tags": [
76
76
  "Users"
77
77
  ],
78
- "summary": "查询当前用户用户拥有指定权限的所有资源列表",
78
+ "summary": "查询当前用户用户拥有指定权限的所有资源列表。List resources that the current user has specified permissions for.",
79
79
  "parameters": [
80
80
  {
81
- "description": "资源类型, 默认group",
81
+ "default": "group",
82
+ "description": "Source type, default(group)",
82
83
  "enum": [
83
84
  "Group",
84
85
  "Repo"
@@ -89,27 +90,28 @@
89
90
  },
90
91
  {
91
92
  "default": 1,
92
- "description": "第几页,从1开始",
93
+ "description": "Pagination page number",
93
94
  "in": "query",
94
95
  "name": "page",
95
96
  "type": "integer"
96
97
  },
97
98
  {
98
99
  "default": 10,
99
- "description": "每页多少条数据",
100
+ "description": "Pagination page size",
100
101
  "in": "query",
101
102
  "name": "page_size",
102
103
  "type": "integer"
103
104
  },
104
105
  {
105
106
  "default": "",
106
- "description": "过滤组织",
107
+ "description": "Filter by resources.",
107
108
  "in": "query",
108
109
  "name": "search",
109
110
  "type": "string"
110
111
  },
111
112
  {
112
- "description": "最小仓库权限,默认owner",
113
+ "default": "owner",
114
+ "description": "最小仓库权限,默认owner。Minima repository permissions, default(owner)",
113
115
  "enum": [
114
116
  "Reporter",
115
117
  "Developer",
@@ -136,36 +138,36 @@
136
138
  "method": "get"
137
139
  },
138
140
  "user.groups.list": {
139
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
141
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
140
142
  "operationId": "ListTopGroups",
141
143
  "tags": [
142
144
  "Organizations"
143
145
  ],
144
- "summary": "获取当前用户拥有权限的顶层组织列表",
146
+ "summary": "获取当前用户拥有权限的顶层组织列表。Get top-level organizations list that the current user has access to.",
145
147
  "parameters": [
146
148
  {
147
149
  "default": 1,
148
- "description": "第几页,从1开始",
150
+ "description": "Pagination page number",
149
151
  "in": "query",
150
152
  "name": "page",
151
153
  "type": "integer"
152
154
  },
153
155
  {
154
156
  "default": 10,
155
- "description": "每页多少条数据",
157
+ "description": "Pagination page size",
156
158
  "in": "query",
157
159
  "name": "page_size",
158
160
  "type": "integer"
159
161
  },
160
162
  {
161
163
  "default": "",
162
- "description": "过滤组织",
164
+ "description": "Filter by organizations.",
163
165
  "in": "query",
164
166
  "name": "search",
165
167
  "type": "string"
166
168
  },
167
169
  {
168
- "description": "筛选角色",
170
+ "description": "Filter by role.",
169
171
  "enum": [
170
172
  "Guest",
171
173
  "Reporter",
@@ -193,12 +195,12 @@
193
195
  "method": "get"
194
196
  },
195
197
  "user.groups.listByGroup": {
196
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
198
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
197
199
  "operationId": "ListGroups",
198
200
  "tags": [
199
201
  "Organizations"
200
202
  ],
201
- "summary": "查询当前用户在指定组织下拥有指定权限的子组织列表",
203
+ "summary": "查询当前用户在指定组织下拥有指定权限的子组织列表。Get the list of sub-organizations that the current user has access to in the specified organization.",
202
204
  "parameters": [
203
205
  {
204
206
  "default": "hello",
@@ -210,14 +212,14 @@
210
212
  },
211
213
  {
212
214
  "default": 1,
213
- "description": "第几页,从1开始",
215
+ "description": "Pagination page number",
214
216
  "in": "query",
215
217
  "name": "page",
216
218
  "type": "integer"
217
219
  },
218
220
  {
219
221
  "default": 10,
220
- "description": "每页多少条数据",
222
+ "description": "Pagination page size",
221
223
  "in": "query",
222
224
  "name": "page_size",
223
225
  "type": "integer"
@@ -244,36 +246,36 @@
244
246
  "method": "get"
245
247
  },
246
248
  "user.repos.list": {
247
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
249
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
248
250
  "operationId": "GetRepos",
249
251
  "tags": [
250
252
  "Repositories"
251
253
  ],
252
- "summary": "获取当前用户拥有指定权限及其以上权限的仓库",
254
+ "summary": "获取当前用户拥有指定权限及其以上权限的仓库。List repositories owned by the current user with the specified permissions or higher.",
253
255
  "parameters": [
254
256
  {
255
257
  "default": 1,
256
- "description": "第几页,从1开始",
258
+ "description": "Pagination page number",
257
259
  "in": "query",
258
260
  "name": "page",
259
261
  "type": "integer"
260
262
  },
261
263
  {
262
264
  "default": 10,
263
- "description": "每页多少条数据",
265
+ "description": "Pagination page size",
264
266
  "in": "query",
265
267
  "name": "page_size",
266
268
  "type": "integer"
267
269
  },
268
270
  {
269
271
  "default": "",
270
- "description": "过滤仓库",
272
+ "description": "Filter by repositories",
271
273
  "in": "query",
272
274
  "name": "search",
273
275
  "type": "string"
274
276
  },
275
277
  {
276
- "description": "仓库类型",
278
+ "description": "Type",
277
279
  "enum": [
278
280
  "private",
279
281
  "public",
@@ -284,7 +286,8 @@
284
286
  "type": "string"
285
287
  },
286
288
  {
287
- "description": "最小仓库权限,默认owner",
289
+ "default": "owner",
290
+ "description": "最小仓库权限,默认owner。Minima repository permissions, default(owner)",
288
291
  "enum": [
289
292
  "Reporter",
290
293
  "Developer",
@@ -296,12 +299,13 @@
296
299
  "type": "string"
297
300
  },
298
301
  {
299
- "description": "排序类型,默认last_updated_at",
302
+ "description": "Order field,default(last_updated_at)",
300
303
  "enum": [
301
304
  "created_at",
302
305
  "last_updated_at",
303
306
  "stars",
304
- "slug_path"
307
+ "slug_path",
308
+ "forks"
305
309
  ],
306
310
  "in": "query",
307
311
  "name": "order_by",
@@ -309,7 +313,7 @@
309
313
  },
310
314
  {
311
315
  "default": false,
312
- "description": "排序顺序",
316
+ "description": "排序顺序。Ordering.",
313
317
  "in": "query",
314
318
  "name": "desc",
315
319
  "type": "boolean"
@@ -330,47 +334,48 @@
330
334
  "method": "get"
331
335
  },
332
336
  "user.staredRepos.list": {
333
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
337
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
334
338
  "operationId": "GetUserAllStaredRepos",
335
339
  "tags": [
336
340
  "Repositories"
337
341
  ],
338
- "summary": "获取当前用户 star 的仓库列表",
342
+ "summary": "获取当前用户 star 的仓库列表。List all stared repositories.",
339
343
  "parameters": [
340
344
  {
341
345
  "default": 1,
342
- "description": "第几页,从1开始",
346
+ "description": "Pagination page number",
343
347
  "in": "query",
344
348
  "name": "page",
345
349
  "type": "integer"
346
350
  },
347
351
  {
348
352
  "default": 10,
349
- "description": "每页多少条数据",
353
+ "description": "Pagination page size",
350
354
  "in": "query",
351
355
  "name": "page_size",
352
356
  "type": "integer"
353
357
  },
354
358
  {
355
359
  "default": "",
356
- "description": "过滤仓库",
360
+ "description": "Filter by repositories",
357
361
  "in": "query",
358
362
  "name": "search",
359
363
  "type": "string"
360
364
  },
361
365
  {
362
366
  "default": false,
363
- "description": "排序顺序",
367
+ "description": "排序顺序。Ordering.",
364
368
  "in": "query",
365
369
  "name": "desc",
366
370
  "type": "boolean"
367
371
  },
368
372
  {
369
- "description": "排序类型,默认last_updated_at",
373
+ "description": "Order field,default(last_updated_at)",
370
374
  "enum": [
371
375
  "created_at",
372
376
  "last_updated_at",
373
- "stars"
377
+ "stars",
378
+ "forks"
374
379
  ],
375
380
  "in": "query",
376
381
  "name": "order_by",
@@ -392,12 +397,12 @@
392
397
  "method": "get"
393
398
  },
394
399
  "users.get": {
395
- "description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
400
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-profile:r",
396
401
  "operationId": "GetUserInfoByName",
397
402
  "tags": [
398
403
  "Users"
399
404
  ],
400
- "summary": "获取指定用户的详情信息",
405
+ "summary": "获取指定用户的详情信息。Get detailed information for a specified user.",
401
406
  "parameters": [
402
407
  {
403
408
  "default": "someone",
@@ -420,12 +425,12 @@
420
425
  "method": "get"
421
426
  },
422
427
  "users.avatar.get": {
423
- "description": "访问令牌调用此接口需包含以下权限 \naccount-profile:r",
428
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-profile:r",
424
429
  "operationId": "GetUserAvatar",
425
430
  "tags": [
426
431
  "Assets"
427
432
  ],
428
- "summary": "获取指定用户的用户头像",
433
+ "summary": "获取指定用户的用户头像。Get the user's avatar.",
429
434
  "parameters": [
430
435
  {
431
436
  "default": "someone",
@@ -436,7 +441,7 @@
436
441
  "type": "string"
437
442
  },
438
443
  {
439
- "description": "头像大小,取 s 或者 l",
444
+ "description": "Size of the avatar. s or l",
440
445
  "in": "path",
441
446
  "name": "size",
442
447
  "required": true,
@@ -448,12 +453,12 @@
448
453
  "method": "get"
449
454
  },
450
455
  "users.followers.list": {
451
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
456
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
452
457
  "operationId": "GetFollowersByUserID",
453
458
  "tags": [
454
459
  "Followers"
455
460
  ],
456
- "summary": "获取指定用户的粉丝列表",
461
+ "summary": "获取指定用户的粉丝列表。Get the followers list of specified user.",
457
462
  "parameters": [
458
463
  {
459
464
  "default": "someone",
@@ -465,14 +470,14 @@
465
470
  },
466
471
  {
467
472
  "default": 1,
468
- "description": "第几页,从1开始",
473
+ "description": "Pagination page number",
469
474
  "in": "query",
470
475
  "name": "page",
471
476
  "type": "integer"
472
477
  },
473
478
  {
474
479
  "default": 10,
475
- "description": "每页多少条数据",
480
+ "description": "Pagination page size",
476
481
  "in": "query",
477
482
  "name": "page_size",
478
483
  "type": "integer"
@@ -493,12 +498,12 @@
493
498
  "method": "get"
494
499
  },
495
500
  "users.following.list": {
496
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
501
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
497
502
  "operationId": "GetFollowingByUserID",
498
503
  "tags": [
499
504
  "Followers"
500
505
  ],
501
- "summary": "获取指定用户的关注人列表",
506
+ "summary": "获取指定用户的关注人列表。Get the list of users that the specified user is following.",
502
507
  "parameters": [
503
508
  {
504
509
  "default": "someone",
@@ -510,14 +515,14 @@
510
515
  },
511
516
  {
512
517
  "default": 1,
513
- "description": "第几页,从1开始",
518
+ "description": "Pagination page number",
514
519
  "in": "query",
515
520
  "name": "page",
516
521
  "type": "integer"
517
522
  },
518
523
  {
519
524
  "default": 10,
520
- "description": "每页多少条数据",
525
+ "description": "Pagination page size",
521
526
  "in": "query",
522
527
  "name": "page_size",
523
528
  "type": "integer"
@@ -538,12 +543,12 @@
538
543
  "method": "get"
539
544
  },
540
545
  "users.groups.get": {
541
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
546
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
542
547
  "operationId": "GetGroupsByUserID",
543
548
  "tags": [
544
549
  "Organizations"
545
550
  ],
546
- "summary": "获取指定用户拥有权限的顶层组织列表",
551
+ "summary": "获取指定用户拥有权限的顶层组织列表。 Get a list of top-level organizations that the specified user has permissions to access.",
547
552
  "parameters": [
548
553
  {
549
554
  "default": "someone",
@@ -555,34 +560,34 @@
555
560
  },
556
561
  {
557
562
  "default": "",
558
- "description": "过滤组织",
563
+ "description": "Filter organizations.",
559
564
  "in": "query",
560
565
  "name": "search",
561
566
  "type": "string"
562
567
  },
563
568
  {
564
569
  "default": 1,
565
- "description": "第几页,从1开始",
570
+ "description": "Pagination page number",
566
571
  "in": "query",
567
572
  "name": "page",
568
573
  "type": "integer"
569
574
  },
570
575
  {
571
576
  "default": 10,
572
- "description": "每页多少条数据",
577
+ "description": "Pagination page size",
573
578
  "in": "query",
574
579
  "name": "page_size",
575
580
  "type": "integer"
576
581
  },
577
582
  {
578
583
  "default": false,
579
- "description": "排序顺序",
584
+ "description": "Sort order.",
580
585
  "in": "query",
581
586
  "name": "desc",
582
587
  "type": "boolean"
583
588
  },
584
589
  {
585
- "description": "排序类型,默认为created_at",
590
+ "description": "Sort type, defaults to created_at",
586
591
  "enum": [
587
592
  "join_time",
588
593
  "created_at"
@@ -604,12 +609,12 @@
604
609
  "method": "get"
605
610
  },
606
611
  "users.pinnedRepos.list": {
607
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
612
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
608
613
  "operationId": "GetPinnedRepoByID",
609
614
  "tags": [
610
615
  "Repositories"
611
616
  ],
612
- "summary": "获取指定用户的用户仓库墙",
617
+ "summary": "获取指定用户的用户仓库墙。 Get a list of repositories that the specified user has pinned.",
613
618
  "parameters": [
614
619
  {
615
620
  "default": "someone",
@@ -635,12 +640,12 @@
635
640
  "method": "get"
636
641
  },
637
642
  "users.repos.list": {
638
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
643
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
639
644
  "operationId": "GetReposByUserName",
640
645
  "tags": [
641
646
  "Repositories"
642
647
  ],
643
- "summary": "获取指定用户有指定以上权限并且客人态可见的仓库",
648
+ "summary": "获取指定用户有指定以上权限并且客人态可见的仓库。List repositories where the specified user has the specified permission level or higher and are visible to guests.",
644
649
  "parameters": [
645
650
  {
646
651
  "default": "someone",
@@ -652,13 +657,14 @@
652
657
  },
653
658
  {
654
659
  "default": "",
655
- "description": "过滤仓库",
660
+ "description": "Filter by repositories",
656
661
  "in": "query",
657
662
  "name": "search",
658
663
  "type": "string"
659
664
  },
660
665
  {
661
- "description": "最小仓库权限,默认owner",
666
+ "default": "owner",
667
+ "description": "最小仓库权限,默认owner。Minima repository permissions, default(owner).",
662
668
  "enum": [
663
669
  "Reporter",
664
670
  "Developer",
@@ -671,32 +677,33 @@
671
677
  },
672
678
  {
673
679
  "default": 1,
674
- "description": "第几页,从1开始",
680
+ "description": "Pagination page number",
675
681
  "in": "query",
676
682
  "name": "page",
677
683
  "type": "integer"
678
684
  },
679
685
  {
680
686
  "default": 10,
681
- "description": "每页多少条数据",
687
+ "description": "Pagination page size",
682
688
  "in": "query",
683
689
  "name": "page_size",
684
690
  "type": "integer"
685
691
  },
686
692
  {
687
693
  "default": false,
688
- "description": "排序顺序",
694
+ "description": "排序顺序。Ordering.",
689
695
  "in": "query",
690
696
  "name": "desc",
691
697
  "type": "boolean"
692
698
  },
693
699
  {
694
- "description": "排序类型,默认last_updated_at",
700
+ "description": "Order field,default(last_updated_at)",
695
701
  "enum": [
696
702
  "created_at",
697
703
  "last_updated_at",
698
704
  "stars",
699
- "slug_path"
705
+ "slug_path",
706
+ "forks"
700
707
  ],
701
708
  "in": "query",
702
709
  "name": "order_by",
@@ -718,12 +725,12 @@
718
725
  "method": "get"
719
726
  },
720
727
  "users.staredRepos.list": {
721
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
728
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
722
729
  "operationId": "GetUserStaredRepos",
723
730
  "tags": [
724
731
  "Starring"
725
732
  ],
726
- "summary": "获取指定用户的 star 仓库列表",
733
+ "summary": "获取指定用户的 star 仓库列表。Get the list of repositories starred by the specified user.",
727
734
  "parameters": [
728
735
  {
729
736
  "default": "someone",
@@ -735,38 +742,39 @@
735
742
  },
736
743
  {
737
744
  "default": "",
738
- "description": "过滤仓库",
745
+ "description": "过滤仓库。Filter by repositories",
739
746
  "in": "query",
740
747
  "name": "search",
741
748
  "type": "string"
742
749
  },
743
750
  {
744
751
  "default": 1,
745
- "description": "第几页,从1开始",
752
+ "description": "Pagination page number",
746
753
  "in": "query",
747
754
  "name": "page",
748
755
  "type": "integer"
749
756
  },
750
757
  {
751
758
  "default": 10,
752
- "description": "每页多少条数据",
759
+ "description": "Pagination page size",
753
760
  "in": "query",
754
761
  "name": "page_size",
755
762
  "type": "integer"
756
763
  },
757
764
  {
758
765
  "default": false,
759
- "description": "排序顺序",
766
+ "description": "Ordering",
760
767
  "in": "query",
761
768
  "name": "desc",
762
769
  "type": "boolean"
763
770
  },
764
771
  {
765
- "description": "排序类型,默认last_updated_at",
772
+ "description": "Order field,default(last_updated_at)",
766
773
  "enum": [
767
774
  "created_at",
768
775
  "last_updated_at",
769
- "stars"
776
+ "stars",
777
+ "forks"
770
778
  ],
771
779
  "in": "query",
772
780
  "name": "order_by",
@@ -788,15 +796,15 @@
788
796
  "method": "get"
789
797
  },
790
798
  "workspace.delete.post": {
791
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:rw",
799
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:rw",
792
800
  "operationId": "DeleteWorkspace",
793
801
  "tags": [
794
802
  "Workspace"
795
803
  ],
796
- "summary": "删除我的云原生开发环境",
804
+ "summary": "删除我的云原生开发环境。Delete my workspace.",
797
805
  "parameters": [
798
806
  {
799
- "description": "参数",
807
+ "description": "params",
800
808
  "in": "body",
801
809
  "name": "request",
802
810
  "required": true,
@@ -817,51 +825,51 @@
817
825
  "method": "post"
818
826
  },
819
827
  "workspace.list.get": {
820
- "description": "访问令牌调用此接口需包含以下权限 \naccount-engage:r",
828
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \naccount-engage:r",
821
829
  "operationId": "ListWorkspaces",
822
830
  "tags": [
823
831
  "Workspace"
824
832
  ],
825
- "summary": "获取我的云原生开发环境列表",
833
+ "summary": "获取我的云原生开发环境列表。List my workspaces.",
826
834
  "parameters": [
827
835
  {
828
- "description": "分支名,例如:main",
836
+ "description": "Git branch name, e.g. \"main\"",
829
837
  "in": "query",
830
838
  "name": "branch",
831
839
  "type": "string"
832
840
  },
833
841
  {
834
- "description": "查询结束时间,格式:YYYY-MM-DD HH:mm:ssZZ,例如:2024-12-01 00:00:00+0800",
842
+ "description": "查询结束时间。Query end time. format YYYY-MM-DD HH:mm:ssZZ, e.g. 2024-12-01 00:00:00+0800",
835
843
  "in": "query",
836
844
  "name": "end",
837
845
  "type": "string"
838
846
  },
839
847
  {
840
- "description": "分页页码,从 1 开始,默认为 1",
848
+ "description": "Pagination page number, default(1)",
841
849
  "in": "query",
842
850
  "name": "page",
843
851
  "type": "integer"
844
852
  },
845
853
  {
846
- "description": "每页条数,默认为 20,最高 100",
854
+ "description": "Pagination page size, default(20), max(100)",
847
855
  "in": "query",
848
856
  "name": "pageSize",
849
857
  "type": "integer"
850
858
  },
851
859
  {
852
- "description": "仓库路径,例如:groupname/reponame",
860
+ "description": "Repository path, e.g. \"groupname/reponame\"",
853
861
  "in": "query",
854
862
  "name": "slug",
855
863
  "type": "string"
856
864
  },
857
865
  {
858
- "description": "查询开始时间,格式:YYYY-MM-DD HH:mm:ssZZ,例如:2024-12-01 00:00:00+0800",
866
+ "description": "查询开始时间。Query start time. format YYYY-MM-DD HH:mm:ssZZ, e.g. 2024-12-01 00:00:00+0800",
859
867
  "in": "query",
860
868
  "name": "start",
861
869
  "type": "string"
862
870
  },
863
871
  {
864
- "description": "开发环境状态,running: 开发环境已启动,closed:开发环境已关闭",
872
+ "description": "开发环境状态,running: 开发环境已启动,closed:开发环境已关闭。Workspace status: \"running\" for started, \"closed\" for stopped.",
865
873
  "in": "query",
866
874
  "name": "status",
867
875
  "type": "string"
@@ -879,12 +887,12 @@
879
887
  "method": "get"
880
888
  },
881
889
  "group.delete": {
882
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-delete:rw",
890
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-delete:rw",
883
891
  "operationId": "DeleteOrganization",
884
892
  "tags": [
885
893
  "Organizations"
886
894
  ],
887
- "summary": "删除指定组织",
895
+ "summary": "删除指定组织。Delete the specified organization.",
888
896
  "parameters": [
889
897
  {
890
898
  "description": "group path",
@@ -894,7 +902,7 @@
894
902
  "type": "string"
895
903
  },
896
904
  {
897
- "description": "微信用户需要确认身份,第一次调用不传接口会调用失败并返回一个x-cnb-identity-ticket,第二次调用再传返回的值",
905
+ "description": "微信身份验证票据,首次请求不传会返回新票据。WeChat auth ticket, will return new ticket if not provided in first request.",
898
906
  "in": "header",
899
907
  "name": "x-cnb-identity-ticket",
900
908
  "type": "string"
@@ -909,12 +917,12 @@
909
917
  "method": "delete"
910
918
  },
911
919
  "group.get": {
912
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
920
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-resource:r",
913
921
  "operationId": "GetGroup",
914
922
  "tags": [
915
923
  "Organizations"
916
924
  ],
917
- "summary": "获取指定组织信息",
925
+ "summary": "获取指定组织信息。Get information for the specified organization.",
918
926
  "parameters": [
919
927
  {
920
928
  "description": "group path",
@@ -936,12 +944,12 @@
936
944
  "method": "get"
937
945
  },
938
946
  "group.put": {
939
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
947
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
940
948
  "operationId": "UpdateOrganization",
941
949
  "tags": [
942
950
  "Organizations"
943
951
  ],
944
- "summary": "更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱",
952
+ "summary": "更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.",
945
953
  "parameters": [
946
954
  {
947
955
  "description": "slug",
@@ -969,12 +977,12 @@
969
977
  "method": "put"
970
978
  },
971
979
  "group.avatar.put": {
972
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
980
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
973
981
  "operationId": "UpdateGroupAvatar",
974
982
  "tags": [
975
983
  "Organizations"
976
984
  ],
977
- "summary": "更新组织头像 URL 地址",
985
+ "summary": "更新组织头像 URL 地址。Updates the organization avatar URL.",
978
986
  "parameters": [
979
987
  {
980
988
  "description": "slug",
@@ -1002,12 +1010,12 @@
1002
1010
  "method": "put"
1003
1011
  },
1004
1012
  "group.inheritMembers.list": {
1005
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1013
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:r",
1006
1014
  "operationId": "ListInheritMembersOfGroup",
1007
1015
  "tags": [
1008
1016
  "Collaborators"
1009
1017
  ],
1010
- "summary": "获取指定组织或仓库内的继承成员",
1018
+ "summary": "获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。",
1011
1019
  "parameters": [
1012
1020
  {
1013
1021
  "description": "slug",
@@ -1018,13 +1026,13 @@
1018
1026
  },
1019
1027
  {
1020
1028
  "default": "",
1021
- "description": "过滤成员",
1029
+ "description": "过滤成员。Filter by member",
1022
1030
  "in": "query",
1023
1031
  "name": "search",
1024
1032
  "type": "string"
1025
1033
  },
1026
1034
  {
1027
- "description": "筛选角色",
1035
+ "description": "Role",
1028
1036
  "enum": [
1029
1037
  "Guest",
1030
1038
  "Reporter",
@@ -1038,14 +1046,14 @@
1038
1046
  },
1039
1047
  {
1040
1048
  "default": 1,
1041
- "description": "第几页,从1开始",
1049
+ "description": "Pagination page number",
1042
1050
  "in": "query",
1043
1051
  "name": "page",
1044
1052
  "type": "integer"
1045
1053
  },
1046
1054
  {
1047
1055
  "default": 10,
1048
- "description": "每页多少条数据",
1056
+ "description": "Pagination page size",
1049
1057
  "in": "query",
1050
1058
  "name": "page_size",
1051
1059
  "type": "integer"
@@ -1066,12 +1074,12 @@
1066
1074
  "method": "get"
1067
1075
  },
1068
1076
  "group.logos.put": {
1069
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1077
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
1070
1078
  "operationId": "PutLogos",
1071
1079
  "tags": [
1072
1080
  "Assets"
1073
1081
  ],
1074
- "summary": "确认上传的logo",
1082
+ "summary": "确认上传的logo。Confirms the uploaded logo.",
1075
1083
  "parameters": [
1076
1084
  {
1077
1085
  "default": "test-group/test-repo",
@@ -1082,7 +1090,7 @@
1082
1090
  "type": "string"
1083
1091
  },
1084
1092
  {
1085
- "description": "获取 uploadurl 时返回的token",
1093
+ "description": "获取 uploadurl 时返回的token。The token returned when getting the uploadurl.",
1086
1094
  "in": "query",
1087
1095
  "name": "token",
1088
1096
  "required": true,
@@ -1098,12 +1106,12 @@
1098
1106
  "method": "put"
1099
1107
  },
1100
1108
  "group.logos.get": {
1101
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
1109
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-resource:r",
1102
1110
  "operationId": "GetLogos",
1103
1111
  "tags": [
1104
1112
  "Assets"
1105
1113
  ],
1106
- "summary": "发起一个获取 logo 的请求,返回内容或者 302 到某个地址",
1114
+ "summary": "发起一个获取 logo 的请求,返回内容或者 302 到某个地址。Post a request to fetch a logo and returns the content directly or a 302 redirect to the logo URL.",
1107
1115
  "parameters": [
1108
1116
  {
1109
1117
  "default": "test-group",
@@ -1129,12 +1137,12 @@
1129
1137
  "method": "get"
1130
1138
  },
1131
1139
  "group.members.list": {
1132
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1140
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:r",
1133
1141
  "operationId": "ListMembersOfGroup",
1134
1142
  "tags": [
1135
1143
  "Collaborators"
1136
1144
  ],
1137
- "summary": "获取指定组织或仓库内的所有直接成员",
1145
+ "summary": "获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.",
1138
1146
  "parameters": [
1139
1147
  {
1140
1148
  "description": "slug",
@@ -1145,20 +1153,20 @@
1145
1153
  },
1146
1154
  {
1147
1155
  "default": 1,
1148
- "description": "第几页,从1开始",
1156
+ "description": "Pagination page number",
1149
1157
  "in": "query",
1150
1158
  "name": "page",
1151
1159
  "type": "integer"
1152
1160
  },
1153
1161
  {
1154
1162
  "default": 10,
1155
- "description": "每页多少条数据",
1163
+ "description": "Pagination page size",
1156
1164
  "in": "query",
1157
1165
  "name": "page_size",
1158
1166
  "type": "integer"
1159
1167
  },
1160
1168
  {
1161
- "description": "筛选角色",
1169
+ "description": "Role",
1162
1170
  "enum": [
1163
1171
  "Guest",
1164
1172
  "Reporter",
@@ -1172,7 +1180,7 @@
1172
1180
  },
1173
1181
  {
1174
1182
  "default": "",
1175
- "description": "过滤成员",
1183
+ "description": "过滤成员。Filter by member.",
1176
1184
  "in": "query",
1177
1185
  "name": "search",
1178
1186
  "type": "string"
@@ -1193,12 +1201,12 @@
1193
1201
  "method": "get"
1194
1202
  },
1195
1203
  "group.members.accessLevel.get": {
1196
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1204
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:r",
1197
1205
  "operationId": "GetMemberAccessLevelOfGroup",
1198
1206
  "tags": [
1199
1207
  "Contributors"
1200
1208
  ],
1201
- "summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息",
1209
+ "summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.",
1202
1210
  "parameters": [
1203
1211
  {
1204
1212
  "description": "slug",
@@ -1209,7 +1217,7 @@
1209
1217
  },
1210
1218
  {
1211
1219
  "default": true,
1212
- "description": "是否包含继承的权限",
1220
+ "description": "是否包含继承的权限。If inherited permissions are included.",
1213
1221
  "in": "query",
1214
1222
  "name": "include_inherit",
1215
1223
  "type": "boolean"
@@ -1227,12 +1235,12 @@
1227
1235
  "method": "get"
1228
1236
  },
1229
1237
  "group.members.delete": {
1230
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1238
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
1231
1239
  "operationId": "DeleteMembersOfGroup",
1232
1240
  "tags": [
1233
1241
  "Collaborators"
1234
1242
  ],
1235
- "summary": "删除指定组织或仓库的直接成员, 包含两种场景: 1. 作为直接成员的用户自己退出 2. 由管理者移除指定的直接成员",
1243
+ "summary": "删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.",
1236
1244
  "parameters": [
1237
1245
  {
1238
1246
  "description": "slug",
@@ -1257,13 +1265,53 @@
1257
1265
  "path": "/{group}/-/members/{username}",
1258
1266
  "method": "delete"
1259
1267
  },
1268
+ "group.members.post": {
1269
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
1270
+ "operationId": "AddMembersOfGroup",
1271
+ "tags": [
1272
+ "Collaborators"
1273
+ ],
1274
+ "summary": "添加成员。Add members.",
1275
+ "parameters": [
1276
+ {
1277
+ "description": "slug",
1278
+ "in": "path",
1279
+ "name": "group",
1280
+ "required": true,
1281
+ "type": "string"
1282
+ },
1283
+ {
1284
+ "description": "username",
1285
+ "in": "path",
1286
+ "name": "username",
1287
+ "required": true,
1288
+ "type": "string"
1289
+ },
1290
+ {
1291
+ "description": "member information",
1292
+ "in": "body",
1293
+ "name": "request",
1294
+ "required": true,
1295
+ "schema": {
1296
+ "$ref": "#/definitions/dto.UpdateMembersRequest"
1297
+ }
1298
+ }
1299
+ ],
1300
+ "responses": {
1301
+ "200": {
1302
+ "description": "OK"
1303
+ }
1304
+ },
1305
+ "path": "/{group}/-/members/{username}",
1306
+ "method": "post"
1307
+ },
1260
1308
  "group.members.put": {
1261
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1309
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
1262
1310
  "operationId": "UpdateMembersOfGroup",
1263
1311
  "tags": [
1264
1312
  "Collaborators"
1265
1313
  ],
1266
- "summary": "更新指定组织或仓库内的直接成员权限信息",
1314
+ "summary": "更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.",
1267
1315
  "parameters": [
1268
1316
  {
1269
1317
  "description": "slug",
@@ -1298,12 +1346,12 @@
1298
1346
  "method": "put"
1299
1347
  },
1300
1348
  "group.members.accessLevel.list": {
1301
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1349
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:r",
1302
1350
  "operationId": "ListMemberAccessLevelOfGroup",
1303
1351
  "tags": [
1304
1352
  "Contributors"
1305
1353
  ],
1306
- "summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息",
1354
+ "summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.",
1307
1355
  "parameters": [
1308
1356
  {
1309
1357
  "description": "slug",
@@ -1335,12 +1383,12 @@
1335
1383
  "method": "get"
1336
1384
  },
1337
1385
  "group.pinnedRepos.list": {
1338
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1386
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:r",
1339
1387
  "operationId": "GetPinnedRepoByGroup",
1340
1388
  "tags": [
1341
1389
  "Repositories"
1342
1390
  ],
1343
- "summary": "获取指定组织的仓库墙列表",
1391
+ "summary": "获取指定组织的仓库墙列表。List the pinned repositories of a group.",
1344
1392
  "parameters": [
1345
1393
  {
1346
1394
  "description": "slug",
@@ -1365,12 +1413,12 @@
1365
1413
  "method": "get"
1366
1414
  },
1367
1415
  "group.pinnedRepos.put": {
1368
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1416
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
1369
1417
  "operationId": "SetPinnedRepoByGroup",
1370
1418
  "tags": [
1371
1419
  "Repositories"
1372
1420
  ],
1373
- "summary": "更新指定组织仓库墙",
1421
+ "summary": "更新指定组织仓库墙。Update the pinned repositories of a group.",
1374
1422
  "parameters": [
1375
1423
  {
1376
1424
  "description": "slug",
@@ -1407,15 +1455,15 @@
1407
1455
  "method": "put"
1408
1456
  },
1409
1457
  "group.repos.list": {
1410
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
1458
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-resource:r",
1411
1459
  "operationId": "GetGroupSubRepos",
1412
1460
  "tags": [
1413
1461
  "Repositories"
1414
1462
  ],
1415
- "summary": "查询组织下访问用户有权限查看到仓库",
1463
+ "summary": "查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.",
1416
1464
  "parameters": [
1417
1465
  {
1418
- "description": "组织 slug",
1466
+ "description": "slug",
1419
1467
  "in": "path",
1420
1468
  "name": "group",
1421
1469
  "required": true,
@@ -1423,20 +1471,20 @@
1423
1471
  },
1424
1472
  {
1425
1473
  "default": 1,
1426
- "description": "页码",
1474
+ "description": "Pagination page number",
1427
1475
  "in": "query",
1428
1476
  "name": "page",
1429
1477
  "type": "integer"
1430
1478
  },
1431
1479
  {
1432
1480
  "default": 10,
1433
- "description": "每页数量",
1481
+ "description": "Pagination page size",
1434
1482
  "in": "query",
1435
1483
  "name": "page_size",
1436
1484
  "type": "integer"
1437
1485
  },
1438
1486
  {
1439
- "description": "仓库类型",
1487
+ "description": "Repositories type",
1440
1488
  "enum": [
1441
1489
  "private",
1442
1490
  "public",
@@ -1447,7 +1495,7 @@
1447
1495
  "type": "string"
1448
1496
  },
1449
1497
  {
1450
- "description": "排序类型,默认last_updated_at",
1498
+ "description": "Order field,default(last_updated_at)",
1451
1499
  "enum": [
1452
1500
  "created_at",
1453
1501
  "last_updated_at",
@@ -1460,13 +1508,13 @@
1460
1508
  },
1461
1509
  {
1462
1510
  "default": false,
1463
- "description": "排序顺序",
1511
+ "description": "Ordering",
1464
1512
  "in": "query",
1465
1513
  "name": "desc",
1466
1514
  "type": "boolean"
1467
1515
  },
1468
1516
  {
1469
- "description": "查全部/查询直接属于当前组织的仓库/查询子组织的仓库",
1517
+ "description": "查全部/查询直接属于当前组织的仓库/查询子组织的仓库。Get all/Get repos belong to current org or sub-organization",
1470
1518
  "enum": [
1471
1519
  "all",
1472
1520
  "sub",
@@ -1477,7 +1525,7 @@
1477
1525
  "type": "string"
1478
1526
  },
1479
1527
  {
1480
- "description": "搜索关键字",
1528
+ "description": "Key word",
1481
1529
  "in": "query",
1482
1530
  "name": "search",
1483
1531
  "type": "string"
@@ -1498,12 +1546,12 @@
1498
1546
  "method": "get"
1499
1547
  },
1500
1548
  "group.repos.post": {
1501
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:rw",
1549
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-resource:rw",
1502
1550
  "operationId": "CreateRepo",
1503
1551
  "tags": [
1504
1552
  "Repositories"
1505
1553
  ],
1506
- "summary": "创建仓库",
1554
+ "summary": "创建仓库。Create repositories.",
1507
1555
  "parameters": [
1508
1556
  {
1509
1557
  "default": "hello",
@@ -1532,12 +1580,12 @@
1532
1580
  "method": "post"
1533
1581
  },
1534
1582
  "group.settings.get": {
1535
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:r",
1583
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:r",
1536
1584
  "operationId": "GetGroupSetting",
1537
1585
  "tags": [
1538
1586
  "Organizations"
1539
1587
  ],
1540
- "summary": "获取指定组织的配置详情",
1588
+ "summary": "获取指定组织的配置详情。Get the configuration details for the specified organization.",
1541
1589
  "parameters": [
1542
1590
  {
1543
1591
  "description": "group path",
@@ -1559,12 +1607,12 @@
1559
1607
  "method": "get"
1560
1608
  },
1561
1609
  "group.settings.put": {
1562
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1610
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
1563
1611
  "operationId": "UpdateGroupSetting",
1564
1612
  "tags": [
1565
1613
  "Organizations"
1566
1614
  ],
1567
- "summary": "更新指定组织的配置, 可更新内容为: 是否对外隐藏组织成员",
1615
+ "summary": "更新指定组织的配置。Updates the configuration for the specified organization.",
1568
1616
  "parameters": [
1569
1617
  {
1570
1618
  "description": "slug",
@@ -1592,12 +1640,12 @@
1592
1640
  "method": "put"
1593
1641
  },
1594
1642
  "group.subGroups.list": {
1595
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:r",
1643
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-resource:r",
1596
1644
  "operationId": "ListSubgroups",
1597
1645
  "tags": [
1598
1646
  "Organizations"
1599
1647
  ],
1600
- "summary": "获取指定组织下的子组织列表",
1648
+ "summary": "获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.",
1601
1649
  "parameters": [
1602
1650
  {
1603
1651
  "description": "Slug",
@@ -1608,14 +1656,14 @@
1608
1656
  },
1609
1657
  {
1610
1658
  "default": "",
1611
- "description": "过滤组织",
1659
+ "description": "Filter organization",
1612
1660
  "in": "query",
1613
1661
  "name": "search",
1614
1662
  "type": "string"
1615
1663
  },
1616
1664
  {
1617
1665
  "default": 1,
1618
- "description": "page",
1666
+ "description": "Pagination page number",
1619
1667
  "in": "query",
1620
1668
  "name": "page",
1621
1669
  "required": true,
@@ -1623,7 +1671,7 @@
1623
1671
  },
1624
1672
  {
1625
1673
  "default": 10,
1626
- "description": "page",
1674
+ "description": "Pagination page size",
1627
1675
  "in": "query",
1628
1676
  "name": "page_size",
1629
1677
  "required": true,
@@ -1645,12 +1693,12 @@
1645
1693
  "method": "get"
1646
1694
  },
1647
1695
  "group.upload.logos.post": {
1648
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-manage:rw",
1696
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-manage:rw",
1649
1697
  "operationId": "UploadLogos",
1650
1698
  "tags": [
1651
1699
  "Assets"
1652
1700
  ],
1653
- "summary": "发起一个上传 logo 的请求,返回上传 cos 的 url 和 form 内容",
1701
+ "summary": "发起一个上传 logo 的请求,返回上传 cos 的 url 和 form 内容。Post a request to upload a logo.",
1654
1702
  "parameters": [
1655
1703
  {
1656
1704
  "default": "test-group",
@@ -1682,12 +1730,12 @@
1682
1730
  "method": "post"
1683
1731
  },
1684
1732
  "mission.delete": {
1685
- "description": "访问令牌调用此接口需包含以下权限 \nmission-delete:rw",
1733
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nmission-delete:rw",
1686
1734
  "operationId": "DeleteMission",
1687
1735
  "tags": [
1688
1736
  "Missions"
1689
1737
  ],
1690
- "summary": "删除指定任务集",
1738
+ "summary": "删除指定任务集。Delete the specified mission.",
1691
1739
  "parameters": [
1692
1740
  {
1693
1741
  "description": "mission path",
@@ -1697,7 +1745,7 @@
1697
1745
  "type": "string"
1698
1746
  },
1699
1747
  {
1700
- "description": "微信用户需要确认身份,第一次调用不传接口会调用失败并返回一个x-cnb-identity-ticket,第二次调用再传返回的值",
1748
+ "description": "微信身份验证票据,首次请求不传会返回新票据。WeChat auth ticket, will return new ticket if not provided in first request.",
1701
1749
  "in": "header",
1702
1750
  "name": "x-cnb-identity-ticket",
1703
1751
  "type": "string"
@@ -1711,13 +1759,53 @@
1711
1759
  "path": "/{mission}",
1712
1760
  "method": "delete"
1713
1761
  },
1762
+ "mission.members.post": {
1763
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nmission-manage:rw",
1764
+ "operationId": "AddMembersOfMission",
1765
+ "tags": [
1766
+ "Collaborators"
1767
+ ],
1768
+ "summary": "添加成员。Add members.",
1769
+ "parameters": [
1770
+ {
1771
+ "description": "slug",
1772
+ "in": "path",
1773
+ "name": "mission",
1774
+ "required": true,
1775
+ "type": "string"
1776
+ },
1777
+ {
1778
+ "description": "username",
1779
+ "in": "path",
1780
+ "name": "username",
1781
+ "required": true,
1782
+ "type": "string"
1783
+ },
1784
+ {
1785
+ "description": "member information",
1786
+ "in": "body",
1787
+ "name": "request",
1788
+ "required": true,
1789
+ "schema": {
1790
+ "$ref": "#/definitions/dto.UpdateMembersRequest"
1791
+ }
1792
+ }
1793
+ ],
1794
+ "responses": {
1795
+ "200": {
1796
+ "description": "OK"
1797
+ }
1798
+ },
1799
+ "path": "/{mission}/-/members/{username}",
1800
+ "method": "post"
1801
+ },
1714
1802
  "registry.delete": {
1715
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-delete:rw",
1803
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-delete:rw",
1716
1804
  "operationId": "DeleteRegistry",
1717
1805
  "tags": [
1718
1806
  "Artifactory"
1719
1807
  ],
1720
- "summary": "删除制品仓库",
1808
+ "summary": "删除制品仓库。Delete the artifact repository.",
1721
1809
  "parameters": [
1722
1810
  {
1723
1811
  "description": "registry path",
@@ -1727,7 +1815,7 @@
1727
1815
  "type": "string"
1728
1816
  },
1729
1817
  {
1730
- "description": "微信用户需要确认身份,第一次调用不传接口会调用失败并返回一个x-cnb-identity-ticket,第二次调用再传返回的值",
1818
+ "description": "微信身份验证票据,首次请求不传会返回新票据。WeChat auth ticket, will return new ticket if not provided in first request.",
1731
1819
  "in": "header",
1732
1820
  "name": "x-cnb-identity-ticket",
1733
1821
  "type": "string"
@@ -1741,13 +1829,53 @@
1741
1829
  "path": "/{registry}",
1742
1830
  "method": "delete"
1743
1831
  },
1832
+ "registry.members.post": {
1833
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-manage:rw",
1834
+ "operationId": "AddMembersOfRegistry",
1835
+ "tags": [
1836
+ "Collaborators"
1837
+ ],
1838
+ "summary": "添加成员。Add members.",
1839
+ "parameters": [
1840
+ {
1841
+ "description": "slug",
1842
+ "in": "path",
1843
+ "name": "registry",
1844
+ "required": true,
1845
+ "type": "string"
1846
+ },
1847
+ {
1848
+ "description": "username",
1849
+ "in": "path",
1850
+ "name": "username",
1851
+ "required": true,
1852
+ "type": "string"
1853
+ },
1854
+ {
1855
+ "description": "member information",
1856
+ "in": "body",
1857
+ "name": "request",
1858
+ "required": true,
1859
+ "schema": {
1860
+ "$ref": "#/definitions/dto.UpdateMembersRequest"
1861
+ }
1862
+ }
1863
+ ],
1864
+ "responses": {
1865
+ "200": {
1866
+ "description": "OK"
1867
+ }
1868
+ },
1869
+ "path": "/{registry}/-/members/{username}",
1870
+ "method": "post"
1871
+ },
1744
1872
  "repo.delete": {
1745
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-delete:rw",
1873
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-delete:rw",
1746
1874
  "operationId": "DeleteRepo",
1747
1875
  "tags": [
1748
1876
  "Repositories"
1749
1877
  ],
1750
- "summary": "删除指定仓库",
1878
+ "summary": "删除指定仓库。Delete the specified repository.",
1751
1879
  "parameters": [
1752
1880
  {
1753
1881
  "description": "repo path",
@@ -1757,7 +1885,7 @@
1757
1885
  "type": "string"
1758
1886
  },
1759
1887
  {
1760
- "description": "微信用户需要确认身份,第一次调用不传接口会调用失败并返回一个x-cnb-identity-ticket,第二次调用再传返回的值",
1888
+ "description": "微信身份验证票据,首次请求不传会返回新票据。WeChat auth ticket, will return new ticket if not provided in first request.",
1761
1889
  "in": "header",
1762
1890
  "name": "x-cnb-identity-ticket",
1763
1891
  "type": "string"
@@ -1772,12 +1900,12 @@
1772
1900
  "method": "delete"
1773
1901
  },
1774
1902
  "repo.get": {
1775
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-basic-info:r",
1903
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-basic-info:r",
1776
1904
  "operationId": "GetRepo",
1777
1905
  "tags": [
1778
1906
  "Repositories"
1779
1907
  ],
1780
- "summary": "获取指定仓库信息",
1908
+ "summary": "获取指定仓库信息。Get information for the specified repository.",
1781
1909
  "parameters": [
1782
1910
  {
1783
1911
  "description": "repo path",
@@ -1799,22 +1927,22 @@
1799
1927
  "method": "get"
1800
1928
  },
1801
1929
  "repo.patch": {
1802
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
1930
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
1803
1931
  "operationId": "UpdateRepo",
1804
1932
  "tags": [
1805
1933
  "Repositories"
1806
1934
  ],
1807
- "summary": "更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证",
1935
+ "summary": "更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.",
1808
1936
  "parameters": [
1809
1937
  {
1810
- "description": "仓库路径",
1938
+ "description": "repo path",
1811
1939
  "in": "path",
1812
1940
  "name": "repo",
1813
1941
  "required": true,
1814
1942
  "type": "string"
1815
1943
  },
1816
1944
  {
1817
- "description": "仓库信息",
1945
+ "description": "request body",
1818
1946
  "in": "body",
1819
1947
  "name": "request",
1820
1948
  "required": true,
@@ -1832,88 +1960,88 @@
1832
1960
  "method": "patch"
1833
1961
  },
1834
1962
  "repo.build.logs.get": {
1835
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:r",
1963
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-cnb-trigger:r",
1836
1964
  "operationId": "GetBuildLogs",
1837
1965
  "tags": [
1838
1966
  "Build"
1839
1967
  ],
1840
- "summary": "查询流水线构建列表",
1968
+ "summary": "查询流水线构建列表。List pipeline builds.",
1841
1969
  "parameters": [
1842
1970
  {
1843
- "description": "仓库路径",
1971
+ "description": "Repo path",
1844
1972
  "in": "path",
1845
1973
  "name": "repo",
1846
1974
  "required": true,
1847
1975
  "type": "string"
1848
1976
  },
1849
1977
  {
1850
- "description": "开始时间,格式:YYYY-MM-DD,例如:2024-12-01",
1978
+ "description": "Start date in \"YYYY-MM-DD\" format, e.g. \"2024-12-01\"",
1851
1979
  "in": "query",
1852
1980
  "name": "createTime",
1853
1981
  "type": "string"
1854
1982
  },
1855
1983
  {
1856
- "description": "结束时间,格式:YYYY-MM-DD,例如:2024-12-01",
1984
+ "description": "End date in \"YYYY-MM-DD\" format, e.g. \"2024-12-01\"",
1857
1985
  "in": "query",
1858
1986
  "name": "endTime",
1859
1987
  "type": "string"
1860
1988
  },
1861
1989
  {
1862
- "description": "事件名,例如:push",
1990
+ "description": "Event name, e.g. \"push\"",
1863
1991
  "in": "query",
1864
1992
  "name": "event",
1865
1993
  "type": "string"
1866
1994
  },
1867
1995
  {
1868
- "description": "页数,从 1 开始",
1996
+ "description": "Pagination page number, default(1)",
1869
1997
  "in": "query",
1870
1998
  "name": "page",
1871
1999
  "type": "integer"
1872
2000
  },
1873
2001
  {
1874
- "description": "每页数量,最大 100 条,默认 20 ",
2002
+ "description": "Pagination page size, default(20), max(100)",
1875
2003
  "in": "query",
1876
2004
  "name": "pagesize",
1877
2005
  "type": "integer"
1878
2006
  },
1879
2007
  {
1880
- "description": "commit id,例如:2221d4535ec0c921bcd0858627c5025a871dd2b5",
2008
+ "description": "Commit ID, e.g. \"2221d4535ec0c921bcd0858627c5025a871dd2b5\"",
1881
2009
  "in": "query",
1882
2010
  "name": "sha",
1883
2011
  "type": "string"
1884
2012
  },
1885
2013
  {
1886
- "description": "构建号,例如:cnb-1qa-1i3f5ecau",
2014
+ "description": "Build SN, e.g. \"cnb-1qa-1i3f5ecau",
1887
2015
  "in": "query",
1888
2016
  "name": "sn",
1889
2017
  "type": "string"
1890
2018
  },
1891
2019
  {
1892
- "description": "源分支名,例如:dev",
2020
+ "description": "Source branch name, e.g. \"dev\"",
1893
2021
  "in": "query",
1894
2022
  "name": "sourceRef",
1895
2023
  "type": "string"
1896
2024
  },
1897
2025
  {
1898
- "description": "构建状态,pending: 构建中、success:成功、error: 失败、cancel: 取消",
2026
+ "description": "Build status: \"pending\", \"success\", \"error\", \"cancel\"",
1899
2027
  "in": "query",
1900
2028
  "name": "status",
1901
2029
  "type": "string"
1902
2030
  },
1903
2031
  {
1904
- "description": "目标分支名,例如:main",
2032
+ "description": "Target branch name, e.g. \"main\"",
1905
2033
  "in": "query",
1906
2034
  "name": "targetRef",
1907
2035
  "type": "string"
1908
2036
  },
1909
2037
  {
1910
- "description": "用户 id",
2038
+ "description": "User ID",
1911
2039
  "in": "query",
1912
2040
  "name": "userId",
1913
2041
  "type": "string"
1914
2042
  },
1915
2043
  {
1916
- "description": "用户名",
2044
+ "description": "Username",
1917
2045
  "in": "query",
1918
2046
  "name": "userName",
1919
2047
  "type": "string"
@@ -1931,12 +2059,12 @@
1931
2059
  "method": "get"
1932
2060
  },
1933
2061
  "repo.build.start.post": {
1934
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:rw",
2062
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-cnb-trigger:rw",
1935
2063
  "operationId": "StartBuild",
1936
2064
  "tags": [
1937
2065
  "Build"
1938
2066
  ],
1939
- "summary": "开始一个构建",
2067
+ "summary": "开始一个构建。Start a build.",
1940
2068
  "parameters": [
1941
2069
  {
1942
2070
  "description": "repo",
@@ -1946,7 +2074,7 @@
1946
2074
  "type": "string"
1947
2075
  },
1948
2076
  {
1949
- "description": "构建参数",
2077
+ "description": "Build params",
1950
2078
  "in": "body",
1951
2079
  "name": "request",
1952
2080
  "required": true,
@@ -1970,22 +2098,22 @@
1970
2098
  "method": "post"
1971
2099
  },
1972
2100
  "repo.build.status.get": {
1973
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:r",
2101
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-cnb-trigger:r",
1974
2102
  "operationId": "GetBuildStatus",
1975
2103
  "tags": [
1976
2104
  "Build"
1977
2105
  ],
1978
- "summary": "查询流水线构建状态",
2106
+ "summary": "查询流水线构建状态。Get pipeline build status.",
1979
2107
  "parameters": [
1980
2108
  {
1981
- "description": "仓库路径",
2109
+ "description": "Repo path",
1982
2110
  "in": "path",
1983
2111
  "name": "repo",
1984
2112
  "required": true,
1985
2113
  "type": "string"
1986
2114
  },
1987
2115
  {
1988
- "description": "构建号",
2116
+ "description": "SN",
1989
2117
  "in": "path",
1990
2118
  "name": "sn",
1991
2119
  "required": true,
@@ -2004,12 +2132,12 @@
2004
2132
  "method": "get"
2005
2133
  },
2006
2134
  "repo.build.stop.post": {
2007
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-trigger:rw",
2135
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-cnb-trigger:rw",
2008
2136
  "operationId": "StopBuild",
2009
2137
  "tags": [
2010
2138
  "Build"
2011
2139
  ],
2012
- "summary": "停止一个构建",
2140
+ "summary": "停止一个构建。 Stop a build.",
2013
2141
  "parameters": [
2014
2142
  {
2015
2143
  "description": "repo",
@@ -2019,7 +2147,7 @@
2019
2147
  "type": "string"
2020
2148
  },
2021
2149
  {
2022
- "description": "构建号",
2150
+ "description": "SN",
2023
2151
  "in": "path",
2024
2152
  "name": "sn",
2025
2153
  "required": true,
@@ -2041,12 +2169,12 @@
2041
2169
  "method": "post"
2042
2170
  },
2043
2171
  "repo.commitAssets.download.get": {
2044
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
2172
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:r",
2045
2173
  "operationId": "GetCommitAssets",
2046
2174
  "tags": [
2047
2175
  "Assets"
2048
2176
  ],
2049
- "summary": "发起一个获取 commits 附件的请求,返回内容或者 302 到某个地址",
2177
+ "summary": "发起一个获取 commits 附件的请求,返回内容或者 302 到某个地址。Get a request to fetch a commit assets and returns the content directly or a 302 redirect to the assets URL.",
2050
2178
  "parameters": [
2051
2179
  {
2052
2180
  "default": "test-group/test-repo",
@@ -2057,7 +2185,7 @@
2057
2185
  "type": "string"
2058
2186
  },
2059
2187
  {
2060
- "description": "包含commitSha和文件名,例如 3bba1ce6a8c35ee1264c7449f4f0b512bd751eac/test.png",
2188
+ "description": "File path that contain commit hash,eg: 3bba1ce6a8c35ee1264c7449f4f0b512bd751eac/test.png",
2061
2189
  "in": "path",
2062
2190
  "name": "fileName",
2063
2191
  "required": true,
@@ -2073,12 +2201,12 @@
2073
2201
  "method": "get"
2074
2202
  },
2075
2203
  "repo.contributor.trend.get": {
2076
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2204
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2077
2205
  "operationId": "GetRepoContributorTrend",
2078
2206
  "tags": [
2079
2207
  "RepoContributor"
2080
2208
  ],
2081
- "summary": "查询仓库贡献者前 100 名的详细趋势数据",
2209
+ "summary": "查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.",
2082
2210
  "parameters": [
2083
2211
  {
2084
2212
  "description": "slug",
@@ -2126,12 +2254,12 @@
2126
2254
  "method": "get"
2127
2255
  },
2128
2256
  "repo.files.get": {
2129
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
2257
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:r",
2130
2258
  "operationId": "GetFiles",
2131
2259
  "tags": [
2132
2260
  "Assets"
2133
2261
  ],
2134
- "summary": "发起一个获取 files 的请求,返回内容或者 302 到某个地址",
2262
+ "summary": "发起一个获取 files 的请求,返回内容或者 302 到某个地址。Initiate a request to retrieve files, returns content or 302 redirect.",
2135
2263
  "parameters": [
2136
2264
  {
2137
2265
  "default": "test-group/test-repo",
@@ -2172,12 +2300,12 @@
2172
2300
  "method": "get"
2173
2301
  },
2174
2302
  "repo.files.put": {
2175
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
2303
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:rw",
2176
2304
  "operationId": "PutFiles",
2177
2305
  "tags": [
2178
2306
  "Assets"
2179
2307
  ],
2180
- "summary": "发起一个确认 files 的请求,上传的图片要调用此接口才能生效",
2308
+ "summary": "发起一个确认 files 的请求,上传的图片要调用此接口才能生效。Initiate a request to confirm files, uploaded images need to call this API to take effect.",
2181
2309
  "parameters": [
2182
2310
  {
2183
2311
  "default": "test-group/test-repo",
@@ -2209,7 +2337,7 @@
2209
2337
  "type": "string"
2210
2338
  },
2211
2339
  {
2212
- "description": "获取 uploadurl 时返回的token",
2340
+ "description": "获取 uploadurl 时返回的token。Token returned when getting upload URL.",
2213
2341
  "in": "query",
2214
2342
  "name": "token",
2215
2343
  "required": true,
@@ -2225,12 +2353,12 @@
2225
2353
  "method": "put"
2226
2354
  },
2227
2355
  "repo.forks.list": {
2228
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-base-info:r",
2356
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-base-info:r",
2229
2357
  "operationId": "ListForksRepos",
2230
2358
  "tags": [
2231
2359
  "Repositories"
2232
2360
  ],
2233
- "summary": "获取指定仓库的 fork 列表",
2361
+ "summary": "获取指定仓库的 fork 列表。Get fork list for specified repository.",
2234
2362
  "parameters": [
2235
2363
  {
2236
2364
  "description": "slug",
@@ -2241,7 +2369,7 @@
2241
2369
  },
2242
2370
  {
2243
2371
  "default": 1,
2244
- "description": "page",
2372
+ "description": "Pagination page number",
2245
2373
  "in": "query",
2246
2374
  "name": "page",
2247
2375
  "required": true,
@@ -2249,7 +2377,7 @@
2249
2377
  },
2250
2378
  {
2251
2379
  "default": 10,
2252
- "description": "page",
2380
+ "description": "Pagination page size",
2253
2381
  "in": "query",
2254
2382
  "name": "page_size",
2255
2383
  "required": true,
@@ -2271,12 +2399,12 @@
2271
2399
  "method": "get"
2272
2400
  },
2273
2401
  "repo.forks.post": {
2274
- "description": "访问令牌调用此接口需包含以下权限 \ngroup-resource:rw",
2402
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-resource:rw",
2275
2403
  "operationId": "CreateAFork",
2276
2404
  "tags": [
2277
2405
  "Repositories"
2278
2406
  ],
2279
- "summary": "fork 仓库",
2407
+ "summary": "fork 仓库。Fork a repository.",
2280
2408
  "parameters": [
2281
2409
  {
2282
2410
  "description": "slug",
@@ -2303,13 +2431,92 @@
2303
2431
  "path": "/{repo}/-/forks",
2304
2432
  "method": "post"
2305
2433
  },
2434
+ "repo.git.archiveCommitChangedFiles.get": {
2435
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2436
+ "operationId": "GetArchiveCommitChangedFiles",
2437
+ "tags": [
2438
+ "Git"
2439
+ ],
2440
+ "summary": "打包下载 commit 变更文件。Download archive of changed files for a commit.",
2441
+ "parameters": [
2442
+ {
2443
+ "description": "repo",
2444
+ "in": "path",
2445
+ "name": "repo",
2446
+ "required": true,
2447
+ "type": "string"
2448
+ },
2449
+ {
2450
+ "description": "commit sha",
2451
+ "in": "path",
2452
+ "name": "sha1",
2453
+ "type": "string"
2454
+ }
2455
+ ],
2456
+ "responses": {
2457
+ "404": {
2458
+ "description": "Not Found",
2459
+ "schema": {
2460
+ "$ref": "#/definitions/die.WebError"
2461
+ }
2462
+ },
2463
+ "500": {
2464
+ "description": "Internal Server Error",
2465
+ "schema": {
2466
+ "$ref": "#/definitions/die.WebError"
2467
+ }
2468
+ }
2469
+ },
2470
+ "path": "/{repo}/-/git/archive-commit-changed-files/{sha1}",
2471
+ "method": "get"
2472
+ },
2473
+ "repo.git.archiveCompareChangedFiles.get": {
2474
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2475
+ "operationId": "GetArchiveCompareChangedFiles",
2476
+ "tags": [
2477
+ "Git"
2478
+ ],
2479
+ "summary": "打包下载两次 ref 之间的变更文件。Download archive of changed files for a compare.",
2480
+ "parameters": [
2481
+ {
2482
+ "description": "repo",
2483
+ "in": "path",
2484
+ "name": "repo",
2485
+ "required": true,
2486
+ "type": "string"
2487
+ },
2488
+ {
2489
+ "description": "base...head",
2490
+ "in": "path",
2491
+ "name": "base_head",
2492
+ "required": true,
2493
+ "type": "string"
2494
+ }
2495
+ ],
2496
+ "responses": {
2497
+ "404": {
2498
+ "description": "Not Found",
2499
+ "schema": {
2500
+ "$ref": "#/definitions/die.WebError"
2501
+ }
2502
+ },
2503
+ "500": {
2504
+ "description": "Internal Server Error",
2505
+ "schema": {
2506
+ "$ref": "#/definitions/die.WebError"
2507
+ }
2508
+ }
2509
+ },
2510
+ "path": "/{repo}/-/git/archive-compare-changed-files/{base_head}",
2511
+ "method": "get"
2512
+ },
2306
2513
  "repo.git.blobs.post": {
2307
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2514
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
2308
2515
  "operationId": "CreateBlob",
2309
2516
  "tags": [
2310
2517
  "Git"
2311
2518
  ],
2312
- "summary": "创建一个 blob",
2519
+ "summary": "创建一个 blob。Create a blob.",
2313
2520
  "parameters": [
2314
2521
  {
2315
2522
  "description": "repo",
@@ -2352,12 +2559,12 @@
2352
2559
  "method": "post"
2353
2560
  },
2354
2561
  "repo.git.branches.list": {
2355
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2562
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2356
2563
  "operationId": "ListBranches",
2357
2564
  "tags": [
2358
2565
  "Git"
2359
2566
  ],
2360
- "summary": "查询分支列表",
2567
+ "summary": "查询分支列表。List branches.",
2361
2568
  "parameters": [
2362
2569
  {
2363
2570
  "description": "repo",
@@ -2408,12 +2615,12 @@
2408
2615
  "method": "get"
2409
2616
  },
2410
2617
  "repo.git.branches.post": {
2411
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2618
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
2412
2619
  "operationId": "CreateBranch",
2413
2620
  "tags": [
2414
2621
  "Git"
2415
2622
  ],
2416
- "summary": "创建新分支",
2623
+ "summary": "创建新分支。Create a new branch based on a start point.",
2417
2624
  "parameters": [
2418
2625
  {
2419
2626
  "description": "repo",
@@ -2453,12 +2660,12 @@
2453
2660
  "method": "post"
2454
2661
  },
2455
2662
  "repo.git.branches.delete": {
2456
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2663
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
2457
2664
  "operationId": "DeleteBranch",
2458
2665
  "tags": [
2459
2666
  "Git"
2460
2667
  ],
2461
- "summary": "删除指定分支",
2668
+ "summary": "删除指定分支。Delete the specified branch.",
2462
2669
  "parameters": [
2463
2670
  {
2464
2671
  "description": "repo",
@@ -2496,12 +2703,12 @@
2496
2703
  "method": "delete"
2497
2704
  },
2498
2705
  "repo.git.branches.get": {
2499
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2706
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2500
2707
  "operationId": "GetBranch",
2501
2708
  "tags": [
2502
2709
  "Git"
2503
2710
  ],
2504
- "summary": "查询指定分支",
2711
+ "summary": "查询指定分支。Get a branch.",
2505
2712
  "parameters": [
2506
2713
  {
2507
2714
  "description": "repo",
@@ -2541,12 +2748,12 @@
2541
2748
  "method": "get"
2542
2749
  },
2543
2750
  "repo.git.commitAnnotationsInBatch.post": {
2544
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2751
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2545
2752
  "operationId": "GetCommitAnnotationsInBatch",
2546
2753
  "tags": [
2547
2754
  "Git"
2548
2755
  ],
2549
- "summary": "查询指定 commit 的元数据",
2756
+ "summary": "查询指定 commit 的元数据。Get commit annotations in batch.",
2550
2757
  "parameters": [
2551
2758
  {
2552
2759
  "description": "repo",
@@ -2592,12 +2799,12 @@
2592
2799
  "method": "post"
2593
2800
  },
2594
2801
  "repo.git.commitAnnotations.list": {
2595
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2802
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2596
2803
  "operationId": "GetCommitAnnotations",
2597
2804
  "tags": [
2598
2805
  "Git"
2599
2806
  ],
2600
- "summary": "查询指定 commit 的元数据",
2807
+ "summary": "查询指定 commit 的元数据。Get commit annotations.",
2601
2808
  "parameters": [
2602
2809
  {
2603
2810
  "description": "repo",
@@ -2641,12 +2848,12 @@
2641
2848
  "method": "get"
2642
2849
  },
2643
2850
  "repo.git.commitAnnotations.put": {
2644
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2851
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
2645
2852
  "operationId": "PutCommitAnnotations",
2646
2853
  "tags": [
2647
2854
  "Git"
2648
2855
  ],
2649
- "summary": "设定指定 commit 的元数据",
2856
+ "summary": "设定指定 commit 的元数据。Put commit annotations.",
2650
2857
  "parameters": [
2651
2858
  {
2652
2859
  "description": "repo",
@@ -2693,12 +2900,12 @@
2693
2900
  "method": "put"
2694
2901
  },
2695
2902
  "repo.git.commitAnnotations.delete": {
2696
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
2903
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
2697
2904
  "operationId": "DeleteCommitAnnotation",
2698
2905
  "tags": [
2699
2906
  "Git"
2700
2907
  ],
2701
- "summary": "删除指定 commit 的元数据",
2908
+ "summary": "删除指定 commit 的元数据。Delete commit annotation.",
2702
2909
  "parameters": [
2703
2910
  {
2704
2911
  "description": "repo",
@@ -2743,12 +2950,12 @@
2743
2950
  "method": "delete"
2744
2951
  },
2745
2952
  "repo.git.commitAssets.list": {
2746
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
2953
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2747
2954
  "operationId": "GetCommitAssetsBySha",
2748
2955
  "tags": [
2749
2956
  "Git"
2750
2957
  ],
2751
- "summary": "查询指定 commit 的附件",
2958
+ "summary": "查询指定 commit 的附件。List commit assets.",
2752
2959
  "parameters": [
2753
2960
  {
2754
2961
  "description": "repo",
@@ -2792,12 +2999,12 @@
2792
2999
  "method": "get"
2793
3000
  },
2794
3001
  "repo.git.commitAssets.assetUploadConfirmation.post": {
2795
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
3002
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
2796
3003
  "operationId": "PostCommitAssetUploadConfirmation",
2797
3004
  "tags": [
2798
3005
  "Git"
2799
3006
  ],
2800
- "summary": "确认 Commit asset 上传完成",
3007
+ "summary": "确认 Commit asset 上传完成。Confirm commit asset upload.",
2801
3008
  "parameters": [
2802
3009
  {
2803
3010
  "description": "repo",
@@ -2849,12 +3056,12 @@
2849
3056
  "method": "post"
2850
3057
  },
2851
3058
  "repo.git.commitAssets.assetUploadUrl.post": {
2852
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
3059
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
2853
3060
  "operationId": "PostCommitAssetUploadURL",
2854
3061
  "tags": [
2855
3062
  "Git"
2856
3063
  ],
2857
- "summary": "新增一个 Commit asset",
3064
+ "summary": "新增一个 Commit asset。Create a commit asset.",
2858
3065
  "parameters": [
2859
3066
  {
2860
3067
  "description": "repo",
@@ -2904,12 +3111,12 @@
2904
3111
  "method": "post"
2905
3112
  },
2906
3113
  "repo.git.commitAssets.delete": {
2907
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
3114
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
2908
3115
  "operationId": "DeleteCommitAsset",
2909
3116
  "tags": [
2910
3117
  "Git"
2911
3118
  ],
2912
- "summary": "删除指定 commit 的附件",
3119
+ "summary": "删除指定 commit 的附件。Delete commit asset.",
2913
3120
  "parameters": [
2914
3121
  {
2915
3122
  "description": "repo",
@@ -2954,12 +3161,12 @@
2954
3161
  "method": "delete"
2955
3162
  },
2956
3163
  "repo.git.commitStatuses.list": {
2957
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3164
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2958
3165
  "operationId": "GetCommitStatuses",
2959
3166
  "tags": [
2960
3167
  "Git"
2961
3168
  ],
2962
- "summary": "查询指定 commit 的 check statuses",
3169
+ "summary": "查询指定 commit 的 check statuses。List commit check statuses.",
2963
3170
  "parameters": [
2964
3171
  {
2965
3172
  "description": "repo",
@@ -3003,12 +3210,12 @@
3003
3210
  "method": "get"
3004
3211
  },
3005
3212
  "repo.git.commits.list": {
3006
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3213
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
3007
3214
  "operationId": "ListCommits",
3008
3215
  "tags": [
3009
3216
  "Git"
3010
3217
  ],
3011
- "summary": "查询 commit 列表",
3218
+ "summary": "查询 commit 列表。List commits.",
3012
3219
  "parameters": [
3013
3220
  {
3014
3221
  "description": "repo",
@@ -3089,12 +3296,12 @@
3089
3296
  "method": "get"
3090
3297
  },
3091
3298
  "repo.git.commits.get": {
3092
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3299
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
3093
3300
  "operationId": "GetCommit",
3094
3301
  "tags": [
3095
3302
  "Git"
3096
3303
  ],
3097
- "summary": "查询指定 commit",
3304
+ "summary": "查询指定 commit。Get a commit.",
3098
3305
  "parameters": [
3099
3306
  {
3100
3307
  "description": "repo",
@@ -3135,12 +3342,12 @@
3135
3342
  "method": "get"
3136
3343
  },
3137
3344
  "repo.git.compare.get": {
3138
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3345
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
3139
3346
  "operationId": "GetCompareCommits",
3140
3347
  "tags": [
3141
3348
  "Git"
3142
3349
  ],
3143
- "summary": "对比 base...head",
3350
+ "summary": "对比 base...head。Compare two commits.",
3144
3351
  "parameters": [
3145
3352
  {
3146
3353
  "description": "repo",
@@ -3181,12 +3388,12 @@
3181
3388
  "method": "get"
3182
3389
  },
3183
3390
  "repo.git.contents.get": {
3184
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3391
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
3185
3392
  "operationId": "GetContent",
3186
3393
  "tags": [
3187
3394
  "Git"
3188
3395
  ],
3189
- "summary": "查询仓库文件列表或文件",
3396
+ "summary": "查询仓库文件列表或文件。List repository files or file.",
3190
3397
  "parameters": [
3191
3398
  {
3192
3399
  "description": "repo",
@@ -3232,13 +3439,62 @@
3232
3439
  "path": "/{repo}/-/git/contents/{file_path}",
3233
3440
  "method": "get"
3234
3441
  },
3442
+ "repo.git.deferredCommits.list": {
3443
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
3444
+ "operationId": "ListDeferredCommits",
3445
+ "tags": [
3446
+ "Git"
3447
+ ],
3448
+ "summary": "查询 deferred commit 列表",
3449
+ "parameters": [
3450
+ {
3451
+ "description": "repo",
3452
+ "in": "path",
3453
+ "name": "repo",
3454
+ "required": true,
3455
+ "type": "string"
3456
+ },
3457
+ {
3458
+ "description": "commit sha",
3459
+ "in": "query",
3460
+ "name": "cs",
3461
+ "required": true,
3462
+ "type": "string"
3463
+ }
3464
+ ],
3465
+ "responses": {
3466
+ "200": {
3467
+ "description": "OK",
3468
+ "schema": {
3469
+ "items": {
3470
+ "$ref": "#/definitions/web.DeferredCommit"
3471
+ },
3472
+ "type": "array"
3473
+ }
3474
+ },
3475
+ "404": {
3476
+ "description": "Not Found",
3477
+ "schema": {
3478
+ "$ref": "#/definitions/die.WebError"
3479
+ }
3480
+ },
3481
+ "500": {
3482
+ "description": "Internal Server Error",
3483
+ "schema": {
3484
+ "$ref": "#/definitions/die.WebError"
3485
+ }
3486
+ }
3487
+ },
3488
+ "path": "/{repo}/-/git/deferred-commits",
3489
+ "method": "get"
3490
+ },
3235
3491
  "repo.git.head.get": {
3236
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
3492
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
3237
3493
  "operationId": "GetHead",
3238
3494
  "tags": [
3239
3495
  "Git"
3240
3496
  ],
3241
- "summary": "获取仓库默认分支",
3497
+ "summary": "获取仓库默认分支。Get the default branch of the repository.",
3242
3498
  "parameters": [
3243
3499
  {
3244
3500
  "description": "repo",
@@ -3272,12 +3528,12 @@
3272
3528
  "method": "get"
3273
3529
  },
3274
3530
  "repo.git.tagAnnotations.delete": {
3275
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
3531
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:rw",
3276
3532
  "operationId": "DeleteTagAnnotation",
3277
3533
  "tags": [
3278
3534
  "Git"
3279
3535
  ],
3280
- "summary": "删除指定 tag 的元数据",
3536
+ "summary": "删除指定 tag 的元数据。Delete the metadata of the specified tag.",
3281
3537
  "parameters": [
3282
3538
  {
3283
3539
  "description": "repo",
@@ -3315,12 +3571,12 @@
3315
3571
  "method": "delete"
3316
3572
  },
3317
3573
  "repo.git.tagAnnotations.list": {
3318
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
3574
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:r",
3319
3575
  "operationId": "GetTagAnnotations",
3320
3576
  "tags": [
3321
3577
  "Git"
3322
3578
  ],
3323
- "summary": "查询指定 tag 的元数据",
3579
+ "summary": "查询指定 tag 的元数据。Query the metadata of the specified tag.",
3324
3580
  "parameters": [
3325
3581
  {
3326
3582
  "description": "repo",
@@ -3364,12 +3620,12 @@
3364
3620
  "method": "get"
3365
3621
  },
3366
3622
  "repo.git.tagAnnotations.put": {
3367
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
3623
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:rw",
3368
3624
  "operationId": "PutTagAnnotations",
3369
3625
  "tags": [
3370
3626
  "Git"
3371
3627
  ],
3372
- "summary": "设定指定 tag 的元数据",
3628
+ "summary": "设定指定 tag 的元数据。Set the metadata of the specified tag.",
3373
3629
  "parameters": [
3374
3630
  {
3375
3631
  "description": "repo",
@@ -3416,12 +3672,12 @@
3416
3672
  "method": "put"
3417
3673
  },
3418
3674
  "repo.git.tags.list": {
3419
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
3675
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:r",
3420
3676
  "operationId": "ListTags",
3421
3677
  "tags": [
3422
3678
  "Git"
3423
3679
  ],
3424
- "summary": "查询标签列表",
3680
+ "summary": "查询标签列表。List tags.",
3425
3681
  "parameters": [
3426
3682
  {
3427
3683
  "description": "repo",
@@ -3472,12 +3728,12 @@
3472
3728
  "method": "get"
3473
3729
  },
3474
3730
  "repo.git.tags.post": {
3475
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
3731
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
3476
3732
  "operationId": "CreateTag",
3477
3733
  "tags": [
3478
3734
  "Git"
3479
3735
  ],
3480
- "summary": "创建一个 tag",
3736
+ "summary": "创建一个 tag。Create a tag.",
3481
3737
  "parameters": [
3482
3738
  {
3483
3739
  "description": "repo",
@@ -3520,12 +3776,12 @@
3520
3776
  "method": "post"
3521
3777
  },
3522
3778
  "repo.git.tags.delete": {
3523
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
3779
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:rw",
3524
3780
  "operationId": "DeleteTag",
3525
3781
  "tags": [
3526
3782
  "Git"
3527
3783
  ],
3528
- "summary": "删除指定标签",
3784
+ "summary": "删除指定标签。Delete the specified tag.",
3529
3785
  "parameters": [
3530
3786
  {
3531
3787
  "description": "repo",
@@ -3563,12 +3819,12 @@
3563
3819
  "method": "delete"
3564
3820
  },
3565
3821
  "repo.git.tags.get": {
3566
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
3822
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:r",
3567
3823
  "operationId": "GetTag",
3568
3824
  "tags": [
3569
3825
  "Git"
3570
3826
  ],
3571
- "summary": "查询指定 Tag",
3827
+ "summary": "查询指定 Tag。Get a tag.",
3572
3828
  "parameters": [
3573
3829
  {
3574
3830
  "description": "repo",
@@ -3609,12 +3865,12 @@
3609
3865
  "method": "get"
3610
3866
  },
3611
3867
  "repo.imgs.get": {
3612
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
3868
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:r",
3613
3869
  "operationId": "GetImgs",
3614
3870
  "tags": [
3615
3871
  "Assets"
3616
3872
  ],
3617
- "summary": "发起一个获取 imgs 的请求,返回内容或者 302 到某个地址",
3873
+ "summary": "发起一个获取 imgs 的请求,返回内容或者 302 到某个地址。Initiate a request to get images, returns content or 302 redirect.",
3618
3874
  "parameters": [
3619
3875
  {
3620
3876
  "default": "test-group/test-repo",
@@ -3648,12 +3904,12 @@
3648
3904
  "method": "get"
3649
3905
  },
3650
3906
  "repo.imgs.put": {
3651
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
3907
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:rw",
3652
3908
  "operationId": "PutImgs",
3653
3909
  "tags": [
3654
3910
  "Assets"
3655
3911
  ],
3656
- "summary": "发起一个确认 imgs 的请求,上传的图片要调用此接口才能生效",
3912
+ "summary": "发起一个确认 imgs 的请求,上传的图片要调用此接口才能生效。Initiate a request to confirm images, uploaded images need to call this API to take effect.",
3657
3913
  "parameters": [
3658
3914
  {
3659
3915
  "default": "test-group/test-repo",
@@ -3678,7 +3934,7 @@
3678
3934
  "type": "string"
3679
3935
  },
3680
3936
  {
3681
- "description": "获取 uploadurl 时返回的token",
3937
+ "description": "获取 uploadurl 时返回的token。Token returned when getting upload URL.",
3682
3938
  "in": "query",
3683
3939
  "name": "token",
3684
3940
  "required": true,
@@ -3694,12 +3950,12 @@
3694
3950
  "method": "put"
3695
3951
  },
3696
3952
  "repo.inheritMembers.list": {
3697
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
3953
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
3698
3954
  "operationId": "ListInheritMembersOfRepo",
3699
3955
  "tags": [
3700
3956
  "Collaborators"
3701
3957
  ],
3702
- "summary": "获取指定组织或仓库内的继承成员",
3958
+ "summary": "获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。",
3703
3959
  "parameters": [
3704
3960
  {
3705
3961
  "description": "slug",
@@ -3710,13 +3966,13 @@
3710
3966
  },
3711
3967
  {
3712
3968
  "default": "",
3713
- "description": "过滤成员",
3969
+ "description": "过滤成员。Filter by member",
3714
3970
  "in": "query",
3715
3971
  "name": "search",
3716
3972
  "type": "string"
3717
3973
  },
3718
3974
  {
3719
- "description": "筛选角色",
3975
+ "description": "Role",
3720
3976
  "enum": [
3721
3977
  "Guest",
3722
3978
  "Reporter",
@@ -3730,14 +3986,14 @@
3730
3986
  },
3731
3987
  {
3732
3988
  "default": 1,
3733
- "description": "第几页,从1开始",
3989
+ "description": "Pagination page number",
3734
3990
  "in": "query",
3735
3991
  "name": "page",
3736
3992
  "type": "integer"
3737
3993
  },
3738
3994
  {
3739
3995
  "default": 10,
3740
- "description": "每页多少条数据",
3996
+ "description": "Pagination page size",
3741
3997
  "in": "query",
3742
3998
  "name": "page_size",
3743
3999
  "type": "integer"
@@ -3758,12 +4014,12 @@
3758
4014
  "method": "get"
3759
4015
  },
3760
4016
  "repo.issues.list": {
3761
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4017
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
3762
4018
  "operationId": "ListIssues",
3763
4019
  "tags": [
3764
4020
  "Issues"
3765
4021
  ],
3766
- "summary": "查询仓库的 Issues",
4022
+ "summary": "查询仓库的 Issues。List issues.",
3767
4023
  "parameters": [
3768
4024
  {
3769
4025
  "description": "repo",
@@ -3868,12 +4124,12 @@
3868
4124
  "method": "get"
3869
4125
  },
3870
4126
  "repo.issues.post": {
3871
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4127
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
3872
4128
  "operationId": "CreateIssue",
3873
4129
  "tags": [
3874
4130
  "Issues"
3875
4131
  ],
3876
- "summary": "创建一个 Issue",
4132
+ "summary": "创建一个 Issue。Create an issue.",
3877
4133
  "parameters": [
3878
4134
  {
3879
4135
  "description": "repo",
@@ -3916,12 +4172,12 @@
3916
4172
  "method": "post"
3917
4173
  },
3918
4174
  "repo.issues.get": {
3919
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4175
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
3920
4176
  "operationId": "GetIssue",
3921
4177
  "tags": [
3922
4178
  "Issues"
3923
4179
  ],
3924
- "summary": "查询指定的 Issues",
4180
+ "summary": "查询指定的 Issues。Get an issue.",
3925
4181
  "parameters": [
3926
4182
  {
3927
4183
  "description": "repo",
@@ -3962,12 +4218,12 @@
3962
4218
  "method": "get"
3963
4219
  },
3964
4220
  "repo.issues.patch": {
3965
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4221
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
3966
4222
  "operationId": "UpdateIssue",
3967
4223
  "tags": [
3968
4224
  "Issues"
3969
4225
  ],
3970
- "summary": "更新一个 Issue",
4226
+ "summary": "更新一个 Issue。Update an issue.",
3971
4227
  "parameters": [
3972
4228
  {
3973
4229
  "description": "repo",
@@ -4017,12 +4273,12 @@
4017
4273
  "method": "patch"
4018
4274
  },
4019
4275
  "repo.issues.comments.list": {
4020
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4276
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
4021
4277
  "operationId": "ListIssueComments",
4022
4278
  "tags": [
4023
4279
  "Issues"
4024
4280
  ],
4025
- "summary": "查询仓库的 Issue 评论列表",
4281
+ "summary": "查询仓库的 Issue 评论列表。List repository issue comments.",
4026
4282
  "parameters": [
4027
4283
  {
4028
4284
  "description": "repo",
@@ -4080,12 +4336,12 @@
4080
4336
  "method": "get"
4081
4337
  },
4082
4338
  "repo.issues.comments.post": {
4083
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4339
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
4084
4340
  "operationId": "PostIssueComment",
4085
4341
  "tags": [
4086
4342
  "Issues"
4087
4343
  ],
4088
- "summary": "创建一个 Issue Comment",
4344
+ "summary": "创建一个 Issue Comment。Create an issue comment.",
4089
4345
  "parameters": [
4090
4346
  {
4091
4347
  "description": "repo",
@@ -4135,12 +4391,12 @@
4135
4391
  "method": "post"
4136
4392
  },
4137
4393
  "repo.issues.comments.get": {
4138
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4394
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
4139
4395
  "operationId": "GetIssueComment",
4140
4396
  "tags": [
4141
4397
  "Issues"
4142
4398
  ],
4143
- "summary": "获取一个 Issue Comment",
4399
+ "summary": "获取一个 Issue Comment。Get an issue comment.",
4144
4400
  "parameters": [
4145
4401
  {
4146
4402
  "description": "repo",
@@ -4188,12 +4444,12 @@
4188
4444
  "method": "get"
4189
4445
  },
4190
4446
  "repo.issues.comments.patch": {
4191
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4447
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
4192
4448
  "operationId": "PatchIssueComment",
4193
4449
  "tags": [
4194
4450
  "Issues"
4195
4451
  ],
4196
- "summary": "修改一个 Issue Comment",
4452
+ "summary": "修改一个 Issue Comment。Update an issue comment.",
4197
4453
  "parameters": [
4198
4454
  {
4199
4455
  "description": "repo",
@@ -4250,12 +4506,12 @@
4250
4506
  "method": "patch"
4251
4507
  },
4252
4508
  "repo.issues.labels.delete": {
4253
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4509
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
4254
4510
  "operationId": "DeleteIssueLabels",
4255
4511
  "tags": [
4256
4512
  "Issues"
4257
4513
  ],
4258
- "summary": "清空 Issue 标签",
4514
+ "summary": "清空 Issue 标签。Remove all labels from an issue.",
4259
4515
  "parameters": [
4260
4516
  {
4261
4517
  "description": "repo",
@@ -4293,12 +4549,12 @@
4293
4549
  "method": "delete"
4294
4550
  },
4295
4551
  "repo.issues.labels.list": {
4296
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4552
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
4297
4553
  "operationId": "ListIssueLabels",
4298
4554
  "tags": [
4299
4555
  "Issues"
4300
4556
  ],
4301
- "summary": "查询 Issue 的标签(label) 列表",
4557
+ "summary": "查询 Issue 的标签(label) 列表。List labels for an issue.",
4302
4558
  "parameters": [
4303
4559
  {
4304
4560
  "description": "repo",
@@ -4356,12 +4612,12 @@
4356
4612
  "method": "get"
4357
4613
  },
4358
4614
  "repo.issues.labels.post": {
4359
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4615
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
4360
4616
  "operationId": "PostIssueLabels",
4361
4617
  "tags": [
4362
4618
  "Issues"
4363
4619
  ],
4364
- "summary": "新增 Issue 标签",
4620
+ "summary": "新增 Issue 标签。Add labels to an issue.",
4365
4621
  "parameters": [
4366
4622
  {
4367
4623
  "description": "repo",
@@ -4411,12 +4667,12 @@
4411
4667
  "method": "post"
4412
4668
  },
4413
4669
  "repo.issues.labels.put": {
4414
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4670
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
4415
4671
  "operationId": "PutIssueLabels",
4416
4672
  "tags": [
4417
4673
  "Issues"
4418
4674
  ],
4419
- "summary": "设置 Issue 标签",
4675
+ "summary": "设置 Issue 标签。 Set the new labels for an issue.",
4420
4676
  "parameters": [
4421
4677
  {
4422
4678
  "description": "repo",
@@ -4466,12 +4722,12 @@
4466
4722
  "method": "put"
4467
4723
  },
4468
4724
  "repo.issues.labels.deleteByName": {
4469
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4725
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
4470
4726
  "operationId": "DeleteIssueLabel",
4471
4727
  "tags": [
4472
4728
  "Issues"
4473
4729
  ],
4474
- "summary": "删除 Issue 标签",
4730
+ "summary": "删除 Issue 标签。Remove a label from an issue.",
4475
4731
  "parameters": [
4476
4732
  {
4477
4733
  "description": "repo",
@@ -4519,12 +4775,12 @@
4519
4775
  "method": "delete"
4520
4776
  },
4521
4777
  "repo.labels.list": {
4522
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
4778
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
4523
4779
  "operationId": "ListLabels",
4524
4780
  "tags": [
4525
4781
  "RepoLabels"
4526
4782
  ],
4527
- "summary": "查询仓库的标签(label) 列表",
4783
+ "summary": "查询仓库的标签(label) 列表。List repository labels.",
4528
4784
  "parameters": [
4529
4785
  {
4530
4786
  "description": "repo",
@@ -4581,12 +4837,12 @@
4581
4837
  "method": "get"
4582
4838
  },
4583
4839
  "repo.labels.post": {
4584
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4840
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
4585
4841
  "operationId": "PostLabel",
4586
4842
  "tags": [
4587
4843
  "RepoLabels"
4588
4844
  ],
4589
- "summary": "创建一个 标签",
4845
+ "summary": "创建一个 标签。Create a label.",
4590
4846
  "parameters": [
4591
4847
  {
4592
4848
  "description": "repo",
@@ -4629,12 +4885,12 @@
4629
4885
  "method": "post"
4630
4886
  },
4631
4887
  "repo.labels.delete": {
4632
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4888
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
4633
4889
  "operationId": "DeleteLabel",
4634
4890
  "tags": [
4635
4891
  "RepoLabels"
4636
4892
  ],
4637
- "summary": "删除指定的仓库标签 label",
4893
+ "summary": "删除指定的仓库标签 label。Delete the specified repository label.",
4638
4894
  "parameters": [
4639
4895
  {
4640
4896
  "description": "repo",
@@ -4672,12 +4928,12 @@
4672
4928
  "method": "delete"
4673
4929
  },
4674
4930
  "repo.labels.patch": {
4675
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
4931
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
4676
4932
  "operationId": "PatchLabel",
4677
4933
  "tags": [
4678
4934
  "RepoLabels"
4679
4935
  ],
4680
- "summary": "更新标签信息",
4936
+ "summary": "更新标签信息。Update label information.",
4681
4937
  "parameters": [
4682
4938
  {
4683
4939
  "description": "repo",
@@ -4727,12 +4983,12 @@
4727
4983
  "method": "patch"
4728
4984
  },
4729
4985
  "repo.listMembers.list": {
4730
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
4986
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
4731
4987
  "operationId": "ListAllMembers",
4732
4988
  "tags": [
4733
4989
  "Collaborators"
4734
4990
  ],
4735
- "summary": "获取指定仓库内的有效成员列表,包含继承成员",
4991
+ "summary": "获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.",
4736
4992
  "parameters": [
4737
4993
  {
4738
4994
  "description": "slug",
@@ -4743,20 +4999,20 @@
4743
4999
  },
4744
5000
  {
4745
5001
  "default": 1,
4746
- "description": "第几页,从1开始",
5002
+ "description": "Pagination page number",
4747
5003
  "in": "query",
4748
5004
  "name": "page",
4749
5005
  "type": "integer"
4750
5006
  },
4751
5007
  {
4752
5008
  "default": 10,
4753
- "description": "每页多少条数据",
5009
+ "description": "Pagination page size",
4754
5010
  "in": "query",
4755
5011
  "name": "page_size",
4756
5012
  "type": "integer"
4757
5013
  },
4758
5014
  {
4759
- "description": "筛选角色",
5015
+ "description": "Role",
4760
5016
  "enum": [
4761
5017
  "Guest",
4762
5018
  "Reporter",
@@ -4770,20 +5026,20 @@
4770
5026
  },
4771
5027
  {
4772
5028
  "default": "",
4773
- "description": "过滤成员",
5029
+ "description": "过滤成员。Filter by member",
4774
5030
  "in": "query",
4775
5031
  "name": "search",
4776
5032
  "type": "string"
4777
5033
  },
4778
5034
  {
4779
5035
  "default": "",
4780
- "description": "精准匹配用户名,多个用户名用逗号间隔",
5036
+ "description": "精准匹配用户名,多个用户名用逗号间隔。Exact username matching, multiple usernames separated by commas.",
4781
5037
  "in": "query",
4782
5038
  "name": "names",
4783
5039
  "type": "string"
4784
5040
  },
4785
5041
  {
4786
- "description": "排序类型,默认created_at",
5042
+ "description": "Order field,default(created_at)",
4787
5043
  "enum": [
4788
5044
  "created_at",
4789
5045
  "stars",
@@ -4795,7 +5051,7 @@
4795
5051
  },
4796
5052
  {
4797
5053
  "default": false,
4798
- "description": "排序顺序",
5054
+ "description": "Ordering",
4799
5055
  "in": "query",
4800
5056
  "name": "desc",
4801
5057
  "type": "boolean"
@@ -4816,12 +5072,12 @@
4816
5072
  "method": "get"
4817
5073
  },
4818
5074
  "repo.members.list": {
4819
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
5075
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
4820
5076
  "operationId": "ListMembersOfRepo",
4821
5077
  "tags": [
4822
5078
  "Collaborators"
4823
5079
  ],
4824
- "summary": "获取指定组织或仓库内的所有直接成员",
5080
+ "summary": "获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.",
4825
5081
  "parameters": [
4826
5082
  {
4827
5083
  "description": "slug",
@@ -4832,20 +5088,20 @@
4832
5088
  },
4833
5089
  {
4834
5090
  "default": 1,
4835
- "description": "第几页,从1开始",
5091
+ "description": "Pagination page number",
4836
5092
  "in": "query",
4837
5093
  "name": "page",
4838
5094
  "type": "integer"
4839
5095
  },
4840
5096
  {
4841
5097
  "default": 10,
4842
- "description": "每页多少条数据",
5098
+ "description": "Pagination page size",
4843
5099
  "in": "query",
4844
5100
  "name": "page_size",
4845
5101
  "type": "integer"
4846
5102
  },
4847
5103
  {
4848
- "description": "筛选角色",
5104
+ "description": "Role",
4849
5105
  "enum": [
4850
5106
  "Guest",
4851
5107
  "Reporter",
@@ -4859,7 +5115,7 @@
4859
5115
  },
4860
5116
  {
4861
5117
  "default": "",
4862
- "description": "过滤成员",
5118
+ "description": "过滤成员。Filter by member.",
4863
5119
  "in": "query",
4864
5120
  "name": "search",
4865
5121
  "type": "string"
@@ -4880,12 +5136,12 @@
4880
5136
  "method": "get"
4881
5137
  },
4882
5138
  "repo.members.accessLevel.get": {
4883
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
5139
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
4884
5140
  "operationId": "GetMemberAccessLevelOfRepo",
4885
5141
  "tags": [
4886
5142
  "Contributors"
4887
5143
  ],
4888
- "summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息",
5144
+ "summary": "获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.",
4889
5145
  "parameters": [
4890
5146
  {
4891
5147
  "description": "slug",
@@ -4896,7 +5152,7 @@
4896
5152
  },
4897
5153
  {
4898
5154
  "default": true,
4899
- "description": "是否包含继承的权限",
5155
+ "description": "是否包含继承的权限。If inherited permissions are included.",
4900
5156
  "in": "query",
4901
5157
  "name": "include_inherit",
4902
5158
  "type": "boolean"
@@ -4914,12 +5170,12 @@
4914
5170
  "method": "get"
4915
5171
  },
4916
5172
  "repo.members.delete": {
4917
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
5173
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
4918
5174
  "operationId": "DeleteMembersOfRepo",
4919
5175
  "tags": [
4920
5176
  "Collaborators"
4921
5177
  ],
4922
- "summary": "删除指定组织或仓库的直接成员, 包含两种场景: 1. 作为直接成员的用户自己退出 2. 由管理者移除指定的直接成员",
5178
+ "summary": "删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.",
4923
5179
  "parameters": [
4924
5180
  {
4925
5181
  "description": "slug",
@@ -4944,13 +5200,53 @@
4944
5200
  "path": "/{repo}/-/members/{username}",
4945
5201
  "method": "delete"
4946
5202
  },
5203
+ "repo.members.post": {
5204
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
5205
+ "operationId": "AddMembersOfRepo",
5206
+ "tags": [
5207
+ "Collaborators"
5208
+ ],
5209
+ "summary": "添加成员。Add members.",
5210
+ "parameters": [
5211
+ {
5212
+ "description": "slug",
5213
+ "in": "path",
5214
+ "name": "repo",
5215
+ "required": true,
5216
+ "type": "string"
5217
+ },
5218
+ {
5219
+ "description": "username",
5220
+ "in": "path",
5221
+ "name": "username",
5222
+ "required": true,
5223
+ "type": "string"
5224
+ },
5225
+ {
5226
+ "description": "member information",
5227
+ "in": "body",
5228
+ "name": "request",
5229
+ "required": true,
5230
+ "schema": {
5231
+ "$ref": "#/definitions/dto.UpdateMembersRequest"
5232
+ }
5233
+ }
5234
+ ],
5235
+ "responses": {
5236
+ "200": {
5237
+ "description": "OK"
5238
+ }
5239
+ },
5240
+ "path": "/{repo}/-/members/{username}",
5241
+ "method": "post"
5242
+ },
4947
5243
  "repo.members.put": {
4948
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
5244
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
4949
5245
  "operationId": "UpdateMembersOfRepo",
4950
5246
  "tags": [
4951
5247
  "Collaborators"
4952
5248
  ],
4953
- "summary": "更新指定组织或仓库内的直接成员权限信息",
5249
+ "summary": "更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.",
4954
5250
  "parameters": [
4955
5251
  {
4956
5252
  "description": "slug",
@@ -4985,12 +5281,12 @@
4985
5281
  "method": "put"
4986
5282
  },
4987
5283
  "repo.members.accessLevel.list": {
4988
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
5284
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
4989
5285
  "operationId": "ListMemberAccessLevelOfRepo",
4990
5286
  "tags": [
4991
5287
  "Contributors"
4992
5288
  ],
4993
- "summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息",
5289
+ "summary": "获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.",
4994
5290
  "parameters": [
4995
5291
  {
4996
5292
  "description": "slug",
@@ -5022,12 +5318,12 @@
5022
5318
  "method": "get"
5023
5319
  },
5024
5320
  "repo.outsideCollaborators.list": {
5025
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
5321
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
5026
5322
  "operationId": "ListOutsideCollaborators",
5027
5323
  "tags": [
5028
5324
  "Collaborators"
5029
5325
  ],
5030
- "summary": "获取指定仓库内的外部贡献者",
5326
+ "summary": "获取指定仓库内的外部贡献者。List external contributors in specified repository.",
5031
5327
  "parameters": [
5032
5328
  {
5033
5329
  "description": "slug",
@@ -5038,20 +5334,20 @@
5038
5334
  },
5039
5335
  {
5040
5336
  "default": 1,
5041
- "description": "第几页,从1开始",
5337
+ "description": "Pagination page number",
5042
5338
  "in": "query",
5043
5339
  "name": "page",
5044
5340
  "type": "integer"
5045
5341
  },
5046
5342
  {
5047
5343
  "default": 10,
5048
- "description": "每页多少条数据",
5344
+ "description": "Pagination page size",
5049
5345
  "in": "query",
5050
5346
  "name": "page_size",
5051
5347
  "type": "integer"
5052
5348
  },
5053
5349
  {
5054
- "description": "筛选角色",
5350
+ "description": "Role",
5055
5351
  "enum": [
5056
5352
  "Guest",
5057
5353
  "Reporter",
@@ -5064,7 +5360,7 @@
5064
5360
  },
5065
5361
  {
5066
5362
  "default": "",
5067
- "description": "过滤成员",
5363
+ "description": "过滤成员。Filter by member.",
5068
5364
  "in": "query",
5069
5365
  "name": "search",
5070
5366
  "type": "string"
@@ -5085,12 +5381,12 @@
5085
5381
  "method": "get"
5086
5382
  },
5087
5383
  "repo.outsideCollaborators.delete": {
5088
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
5384
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
5089
5385
  "operationId": "DeleteOutsideCollaborators",
5090
5386
  "tags": [
5091
5387
  "Collaborators"
5092
5388
  ],
5093
- "summary": "删除指定仓库的外部贡献者, 包含两种场景: 1. 作为外部贡献者的用户自己退出仓库 2. 由仓库管理者移除指定的外部贡献者",
5389
+ "summary": "删除指定仓库的外部贡献者。Removes external contributors from specified repository.",
5094
5390
  "parameters": [
5095
5391
  {
5096
5392
  "description": "slug",
@@ -5116,12 +5412,12 @@
5116
5412
  "method": "delete"
5117
5413
  },
5118
5414
  "repo.outsideCollaborators.put": {
5119
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
5415
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
5120
5416
  "operationId": "UpdateOutsideCollaborators",
5121
5417
  "tags": [
5122
5418
  "Collaborators"
5123
5419
  ],
5124
- "summary": "更新指定仓库的外部贡献者权限信息",
5420
+ "summary": "更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.",
5125
5421
  "parameters": [
5126
5422
  {
5127
5423
  "description": "slug",
@@ -5138,7 +5434,7 @@
5138
5434
  "type": "string"
5139
5435
  },
5140
5436
  {
5141
- "description": "用户权限",
5437
+ "description": "Role",
5142
5438
  "enum": [
5143
5439
  "Guest",
5144
5440
  "Reporter",
@@ -5159,12 +5455,12 @@
5159
5455
  "method": "put"
5160
5456
  },
5161
5457
  "repo.pullInBatch.list": {
5162
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
5458
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:r",
5163
5459
  "operationId": "ListPullsByNumbers",
5164
5460
  "tags": [
5165
5461
  "Pulls"
5166
5462
  ],
5167
- "summary": "[openapi] 根据numbers查询 Pull 列表",
5463
+ "summary": "根据numbers查询 Pull 列表。List pull requests by numbers.",
5168
5464
  "parameters": [
5169
5465
  {
5170
5466
  "description": "repo",
@@ -5208,12 +5504,12 @@
5208
5504
  "method": "get"
5209
5505
  },
5210
5506
  "repo.pulls.list": {
5211
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
5507
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:r",
5212
5508
  "operationId": "ListPulls",
5213
5509
  "tags": [
5214
5510
  "Pulls"
5215
5511
  ],
5216
- "summary": "[openapi] 查询 Pull 列表",
5512
+ "summary": "查询 Pull 列表。List pull requests.",
5217
5513
  "parameters": [
5218
5514
  {
5219
5515
  "description": "repo",
@@ -5295,12 +5591,12 @@
5295
5591
  "method": "get"
5296
5592
  },
5297
5593
  "repo.pulls.post": {
5298
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
5594
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:rw",
5299
5595
  "operationId": "PostPull",
5300
5596
  "tags": [
5301
5597
  "Pulls"
5302
5598
  ],
5303
- "summary": "[openapi] 新增一个 Pull",
5599
+ "summary": "新增一个 Pull。Create a pull request.",
5304
5600
  "parameters": [
5305
5601
  {
5306
5602
  "description": "repo",
@@ -5343,12 +5639,12 @@
5343
5639
  "method": "post"
5344
5640
  },
5345
5641
  "repo.pulls.get": {
5346
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:r",
5642
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:r",
5347
5643
  "operationId": "GetPull",
5348
5644
  "tags": [
5349
5645
  "Pulls"
5350
5646
  ],
5351
- "summary": "[openapi] 查询指定 Pull",
5647
+ "summary": "查询指定 Pull。Get a pull request.",
5352
5648
  "parameters": [
5353
5649
  {
5354
5650
  "description": "repo",
@@ -5389,12 +5685,12 @@
5389
5685
  "method": "get"
5390
5686
  },
5391
5687
  "repo.pulls.patch": {
5392
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
5688
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:rw",
5393
5689
  "operationId": "PatchPull",
5394
5690
  "tags": [
5395
5691
  "Pulls"
5396
5692
  ],
5397
- "summary": "[openapi] 更新一个 Pull Request",
5693
+ "summary": "更新一个 Pull Request。Update a pull request.",
5398
5694
  "parameters": [
5399
5695
  {
5400
5696
  "description": "repo",
@@ -5444,12 +5740,12 @@
5444
5740
  "method": "patch"
5445
5741
  },
5446
5742
  "repo.pulls.comments.list": {
5447
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
5743
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
5448
5744
  "operationId": "ListPullComments",
5449
5745
  "tags": [
5450
5746
  "Pulls"
5451
5747
  ],
5452
- "summary": "[openapi] 查询 Pull Comments 列表",
5748
+ "summary": "查询 Pull Comments 列表。List pull comments requests.",
5453
5749
  "parameters": [
5454
5750
  {
5455
5751
  "description": "repo",
@@ -5507,12 +5803,12 @@
5507
5803
  "method": "get"
5508
5804
  },
5509
5805
  "repo.pulls.comments.post": {
5510
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
5806
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
5511
5807
  "operationId": "PostPullComment",
5512
5808
  "tags": [
5513
5809
  "Pulls"
5514
5810
  ],
5515
- "summary": "[openapi] 新增一个 Pull Comment",
5811
+ "summary": "新增一个 Pull Comment。Create a pull comment.",
5516
5812
  "parameters": [
5517
5813
  {
5518
5814
  "description": "repo",
@@ -5559,12 +5855,12 @@
5559
5855
  "method": "post"
5560
5856
  },
5561
5857
  "repo.pulls.labels.delete": {
5562
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
5858
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
5563
5859
  "operationId": "DeletePullLabels",
5564
5860
  "tags": [
5565
5861
  "Pulls"
5566
5862
  ],
5567
- "summary": "清空 Pull 标签",
5863
+ "summary": "清空 Pull 标签。Remove all labels from a pull.",
5568
5864
  "parameters": [
5569
5865
  {
5570
5866
  "description": "repo",
@@ -5602,12 +5898,12 @@
5602
5898
  "method": "delete"
5603
5899
  },
5604
5900
  "repo.pulls.labels.list": {
5605
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:r",
5901
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
5606
5902
  "operationId": "ListPullLabels",
5607
5903
  "tags": [
5608
5904
  "Pulls"
5609
5905
  ],
5610
- "summary": "查询 Pull 的标签(label) 列表",
5906
+ "summary": "查询 Pull 的标签(label) 列表。List labels for a pull.",
5611
5907
  "parameters": [
5612
5908
  {
5613
5909
  "description": "repo",
@@ -5665,12 +5961,12 @@
5665
5961
  "method": "get"
5666
5962
  },
5667
5963
  "repo.pulls.labels.post": {
5668
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
5964
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
5669
5965
  "operationId": "PostPullLabels",
5670
5966
  "tags": [
5671
5967
  "Pulls"
5672
5968
  ],
5673
- "summary": "新增 Pull 标签",
5969
+ "summary": "新增 Pull 标签。Add labels to a pull.",
5674
5970
  "parameters": [
5675
5971
  {
5676
5972
  "description": "repo",
@@ -5720,12 +6016,12 @@
5720
6016
  "method": "post"
5721
6017
  },
5722
6018
  "repo.pulls.labels.put": {
5723
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
6019
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
5724
6020
  "operationId": "PutPullLabels",
5725
6021
  "tags": [
5726
6022
  "Pulls"
5727
6023
  ],
5728
- "summary": "设置 Pull 标签",
6024
+ "summary": "设置 Pull 标签。Set the new labels for a pull.",
5729
6025
  "parameters": [
5730
6026
  {
5731
6027
  "description": "repo",
@@ -5775,12 +6071,12 @@
5775
6071
  "method": "put"
5776
6072
  },
5777
6073
  "repo.pulls.labels.deleteByName": {
5778
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
6074
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
5779
6075
  "operationId": "DeletePullLabel",
5780
6076
  "tags": [
5781
6077
  "Pulls"
5782
6078
  ],
5783
- "summary": "删除 Pull 标签",
6079
+ "summary": "删除 Pull 标签。Remove a label from a pull.",
5784
6080
  "parameters": [
5785
6081
  {
5786
6082
  "description": "repo",
@@ -5828,12 +6124,12 @@
5828
6124
  "method": "delete"
5829
6125
  },
5830
6126
  "repo.pulls.merge.put": {
5831
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-pr:rw",
6127
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:rw",
5832
6128
  "operationId": "MergePull",
5833
6129
  "tags": [
5834
6130
  "Pulls"
5835
6131
  ],
5836
- "summary": "[openapi] 合并一个 Pull Request",
6132
+ "summary": "合并一个 Pull Request。Merge a pull request.",
5837
6133
  "parameters": [
5838
6134
  {
5839
6135
  "description": "repo",
@@ -5883,12 +6179,12 @@
5883
6179
  "method": "put"
5884
6180
  },
5885
6181
  "repo.pulls.reviews.post": {
5886
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-notes:rw",
6182
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
5887
6183
  "operationId": "PostPullReview",
5888
6184
  "tags": [
5889
6185
  "Pulls"
5890
6186
  ],
5891
- "summary": "新增一次 pull request 评审",
6187
+ "summary": "新增一次 pull request 评审。Create a pull review.",
5892
6188
  "parameters": [
5893
6189
  {
5894
6190
  "description": "repo",
@@ -5941,12 +6237,12 @@
5941
6237
  "method": "post"
5942
6238
  },
5943
6239
  "repo.releases.list": {
5944
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
6240
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
5945
6241
  "operationId": "ListReleases",
5946
6242
  "tags": [
5947
6243
  "Releases"
5948
6244
  ],
5949
- "summary": "[openapi] 查询 release 列表",
6245
+ "summary": "查询 release 列表。List releases.",
5950
6246
  "parameters": [
5951
6247
  {
5952
6248
  "description": "repo",
@@ -5997,12 +6293,12 @@
5997
6293
  "method": "get"
5998
6294
  },
5999
6295
  "repo.releases.post": {
6000
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6296
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
6001
6297
  "operationId": "PostRelease",
6002
6298
  "tags": [
6003
6299
  "Releases"
6004
6300
  ],
6005
- "summary": "[openapi] 新增一个 Release",
6301
+ "summary": "新增一个 Release。Create a release.",
6006
6302
  "parameters": [
6007
6303
  {
6008
6304
  "description": "repo",
@@ -6045,12 +6341,12 @@
6045
6341
  "method": "post"
6046
6342
  },
6047
6343
  "repo.releases.download.get": {
6048
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:r",
6344
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:r",
6049
6345
  "operationId": "GetReleasesAsset",
6050
6346
  "tags": [
6051
6347
  "Assets"
6052
6348
  ],
6053
- "summary": "发起一个获取 release 附件的请求,返回内容或者 302 到某个地址",
6349
+ "summary": "发起一个获取 release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get release attachments, returns content or 302 redirect.",
6054
6350
  "parameters": [
6055
6351
  {
6056
6352
  "default": "test-group/test-repo",
@@ -6061,7 +6357,7 @@
6061
6357
  "type": "string"
6062
6358
  },
6063
6359
  {
6064
- "description": "包含tag名称和文件名,例如 v1.0/test.png",
6360
+ "description": "Including tag name and filename (e.g. v1.0/test.png)",
6065
6361
  "in": "path",
6066
6362
  "name": "fileName",
6067
6363
  "required": true,
@@ -6076,13 +6372,84 @@
6076
6372
  "path": "/{repo}/-/releases/download/{fileName}",
6077
6373
  "method": "get"
6078
6374
  },
6375
+ "repo.releases.latest.get": {
6376
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
6377
+ "operationId": "GetLatestRelease",
6378
+ "tags": [
6379
+ "Releases"
6380
+ ],
6381
+ "summary": "查询 latest release。Query the latest release.",
6382
+ "parameters": [
6383
+ {
6384
+ "description": "repo",
6385
+ "in": "path",
6386
+ "name": "repo",
6387
+ "required": true,
6388
+ "type": "string"
6389
+ }
6390
+ ],
6391
+ "responses": {
6392
+ "200": {
6393
+ "description": "OK",
6394
+ "schema": {
6395
+ "$ref": "#/definitions/api.Release"
6396
+ }
6397
+ },
6398
+ "404": {
6399
+ "description": "Not Found",
6400
+ "schema": {
6401
+ "$ref": "#/definitions/die.WebError"
6402
+ }
6403
+ },
6404
+ "500": {
6405
+ "description": "Internal Server Error",
6406
+ "schema": {
6407
+ "$ref": "#/definitions/die.WebError"
6408
+ }
6409
+ }
6410
+ },
6411
+ "path": "/{repo}/-/releases/latest",
6412
+ "method": "get"
6413
+ },
6414
+ "repo.releases.latest.download.get": {
6415
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:r",
6416
+ "operationId": "GetLatestReleasesAsset",
6417
+ "tags": [
6418
+ "Assets"
6419
+ ],
6420
+ "summary": "发起一个获取 latest release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get latest release attachments, returns content or 302 redirect.",
6421
+ "parameters": [
6422
+ {
6423
+ "default": "test-group/test-repo",
6424
+ "description": "Repo",
6425
+ "in": "path",
6426
+ "name": "repo",
6427
+ "required": true,
6428
+ "type": "string"
6429
+ },
6430
+ {
6431
+ "description": "File name, eg: test.png",
6432
+ "in": "path",
6433
+ "name": "fileName",
6434
+ "required": true,
6435
+ "type": "string"
6436
+ }
6437
+ ],
6438
+ "responses": {
6439
+ "302": {
6440
+ "description": "Found"
6441
+ }
6442
+ },
6443
+ "path": "/{repo}/-/releases/latest/download/{fileName}",
6444
+ "method": "get"
6445
+ },
6079
6446
  "repo.releases.tags.get": {
6080
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
6447
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
6081
6448
  "operationId": "GetReleaseByTag",
6082
6449
  "tags": [
6083
6450
  "Releases"
6084
6451
  ],
6085
- "summary": "[openapi] 通过 tag 查询指定 release",
6452
+ "summary": "通过 tag 查询指定 release。Get a release by tag.",
6086
6453
  "parameters": [
6087
6454
  {
6088
6455
  "description": "repo",
@@ -6123,12 +6490,12 @@
6123
6490
  "method": "get"
6124
6491
  },
6125
6492
  "repo.releases.delete": {
6126
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6493
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
6127
6494
  "operationId": "DeleteRelease",
6128
6495
  "tags": [
6129
6496
  "Releases"
6130
6497
  ],
6131
- "summary": "[openapi] 删除指定的 release",
6498
+ "summary": "删除指定的 release。Delete a release.",
6132
6499
  "parameters": [
6133
6500
  {
6134
6501
  "description": "repo",
@@ -6166,12 +6533,12 @@
6166
6533
  "method": "delete"
6167
6534
  },
6168
6535
  "repo.releases.get": {
6169
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
6536
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
6170
6537
  "operationId": "GetReleaseByID",
6171
6538
  "tags": [
6172
6539
  "Releases"
6173
6540
  ],
6174
- "summary": "[openapi] 根据 id\t查询指定 release",
6541
+ "summary": "根据 id\t查询指定 release。Get a release by id.",
6175
6542
  "parameters": [
6176
6543
  {
6177
6544
  "description": "repo",
@@ -6212,12 +6579,12 @@
6212
6579
  "method": "get"
6213
6580
  },
6214
6581
  "repo.releases.patch": {
6215
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6582
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
6216
6583
  "operationId": "PatchRelease",
6217
6584
  "tags": [
6218
6585
  "Releases"
6219
6586
  ],
6220
- "summary": "[openapi] 更新 release",
6587
+ "summary": "更新 release。Update a release.",
6221
6588
  "parameters": [
6222
6589
  {
6223
6590
  "description": "repo",
@@ -6264,12 +6631,12 @@
6264
6631
  "method": "patch"
6265
6632
  },
6266
6633
  "repo.releases.assetUploadConfirmation.post": {
6267
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6634
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
6268
6635
  "operationId": "PostReleaseAssetUploadConfirmation",
6269
6636
  "tags": [
6270
6637
  "Releases"
6271
6638
  ],
6272
- "summary": "[openapi] 确认 Release asset 上传完成",
6639
+ "summary": "确认 Release asset 上传完成。Confirm release asset upload.",
6273
6640
  "parameters": [
6274
6641
  {
6275
6642
  "description": "repo",
@@ -6321,12 +6688,12 @@
6321
6688
  "method": "post"
6322
6689
  },
6323
6690
  "repo.releases.assetUploadUrl.post": {
6324
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6691
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
6325
6692
  "operationId": "PostReleaseAssetUploadURL",
6326
6693
  "tags": [
6327
6694
  "Releases"
6328
6695
  ],
6329
- "summary": "[openapi] 新增一个 Release asset",
6696
+ "summary": "新增一个 Release asset。Create a release asset.",
6330
6697
  "parameters": [
6331
6698
  {
6332
6699
  "description": "repo",
@@ -6376,12 +6743,12 @@
6376
6743
  "method": "post"
6377
6744
  },
6378
6745
  "repo.releases.assets.delete": {
6379
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:rw",
6746
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
6380
6747
  "operationId": "DeleteReleaseAsset",
6381
6748
  "tags": [
6382
6749
  "Releases"
6383
6750
  ],
6384
- "summary": "[openapi] 删除指定的 release asset",
6751
+ "summary": "删除指定的 release asset。Delete the specified release asset.",
6385
6752
  "parameters": [
6386
6753
  {
6387
6754
  "description": "repo",
@@ -6426,12 +6793,12 @@
6426
6793
  "method": "delete"
6427
6794
  },
6428
6795
  "repo.releases.assets.get": {
6429
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-code:r",
6796
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
6430
6797
  "operationId": "GetReleaseAsset",
6431
6798
  "tags": [
6432
6799
  "Releases"
6433
6800
  ],
6434
- "summary": "[openapi] 查询指定的 release asset",
6801
+ "summary": "查询指定的 release asset。Get the specified release asset.",
6435
6802
  "parameters": [
6436
6803
  {
6437
6804
  "description": "repo",
@@ -6479,12 +6846,12 @@
6479
6846
  "method": "get"
6480
6847
  },
6481
6848
  "repo.settings.branchProtections.list": {
6482
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
6849
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
6483
6850
  "operationId": "ListBranchProtections",
6484
6851
  "tags": [
6485
6852
  "GitSettings"
6486
6853
  ],
6487
- "summary": "查询仓库保护分支规则列表(openapi)",
6854
+ "summary": "查询仓库保护分支规则列表。List branch protection rules.",
6488
6855
  "parameters": [
6489
6856
  {
6490
6857
  "description": "repo",
@@ -6521,12 +6888,12 @@
6521
6888
  "method": "get"
6522
6889
  },
6523
6890
  "repo.settings.branchProtections.post": {
6524
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
6891
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
6525
6892
  "operationId": "PostBranchProtection",
6526
6893
  "tags": [
6527
6894
  "GitSettings"
6528
6895
  ],
6529
- "summary": "新增仓库保护分支规则(openapi)",
6896
+ "summary": "新增仓库保护分支规则。Create branch protection rule.",
6530
6897
  "parameters": [
6531
6898
  {
6532
6899
  "description": "repo",
@@ -6566,12 +6933,12 @@
6566
6933
  "method": "post"
6567
6934
  },
6568
6935
  "repo.settings.branchProtections.delete": {
6569
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
6936
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
6570
6937
  "operationId": "DeleteBranchProtection",
6571
6938
  "tags": [
6572
6939
  "GitSettings"
6573
6940
  ],
6574
- "summary": "删除仓库保护分支规则(openapi)",
6941
+ "summary": "删除仓库保护分支规则。 Delete branch protection rule.",
6575
6942
  "parameters": [
6576
6943
  {
6577
6944
  "description": "repo",
@@ -6609,12 +6976,12 @@
6609
6976
  "method": "delete"
6610
6977
  },
6611
6978
  "repo.settings.branchProtections.get": {
6612
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
6979
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
6613
6980
  "operationId": "GetBranchProtection",
6614
6981
  "tags": [
6615
6982
  "GitSettings"
6616
6983
  ],
6617
- "summary": "查询仓库保护分支规则(openapi)",
6984
+ "summary": "查询仓库保护分支规则。Get branch protection rule.",
6618
6985
  "parameters": [
6619
6986
  {
6620
6987
  "description": "repo",
@@ -6655,12 +7022,12 @@
6655
7022
  "method": "get"
6656
7023
  },
6657
7024
  "repo.settings.branchProtections.patch": {
6658
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
7025
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
6659
7026
  "operationId": "PatchBranchProtection",
6660
7027
  "tags": [
6661
7028
  "GitSettings"
6662
7029
  ],
6663
- "summary": "更新仓库保护分支规则(openapi)",
7030
+ "summary": "更新仓库保护分支规则。Update branch protection rule.",
6664
7031
  "parameters": [
6665
7032
  {
6666
7033
  "description": "repo",
@@ -6707,12 +7074,12 @@
6707
7074
  "method": "patch"
6708
7075
  },
6709
7076
  "repo.settings.cloudNativeBuild.get": {
6710
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
7077
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
6711
7078
  "operationId": "GetPipelineSettings",
6712
7079
  "tags": [
6713
7080
  "GitSettings"
6714
7081
  ],
6715
- "summary": "查询仓库云原生构建设置(openapi)",
7082
+ "summary": "查询仓库云原生构建设置。List pipeline settings.",
6716
7083
  "parameters": [
6717
7084
  {
6718
7085
  "description": "repo",
@@ -6746,12 +7113,12 @@
6746
7113
  "method": "get"
6747
7114
  },
6748
7115
  "repo.settings.cloudNativeBuild.put": {
6749
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
7116
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
6750
7117
  "operationId": "PutPipelineSettings",
6751
7118
  "tags": [
6752
7119
  "GitSettings"
6753
7120
  ],
6754
- "summary": "更新仓库云原生构建设置(openapi)",
7121
+ "summary": "更新仓库云原生构建设置。Update pipeline settings.",
6755
7122
  "parameters": [
6756
7123
  {
6757
7124
  "description": "repo",
@@ -6791,12 +7158,12 @@
6791
7158
  "method": "put"
6792
7159
  },
6793
7160
  "repo.settings.pullRequest.get": {
6794
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
7161
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
6795
7162
  "operationId": "GetPullRequestSettings",
6796
7163
  "tags": [
6797
7164
  "GitSettings"
6798
7165
  ],
6799
- "summary": "查询仓库合并请求设置(openapi)",
7166
+ "summary": "查询仓库合并请求设置。List pull request settings.",
6800
7167
  "parameters": [
6801
7168
  {
6802
7169
  "description": "repo",
@@ -6830,12 +7197,12 @@
6830
7197
  "method": "get"
6831
7198
  },
6832
7199
  "repo.settings.pullRequest.put": {
6833
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
7200
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
6834
7201
  "operationId": "PutPullRequestSettings",
6835
7202
  "tags": [
6836
7203
  "GitSettings"
6837
7204
  ],
6838
- "summary": "设置仓库推送设置(openapi)",
7205
+ "summary": "设置仓库推送设置。Set pull request settings.",
6839
7206
  "parameters": [
6840
7207
  {
6841
7208
  "description": "repo",
@@ -6875,12 +7242,12 @@
6875
7242
  "method": "put"
6876
7243
  },
6877
7244
  "repo.settings.pushLimit.get": {
6878
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:r",
7245
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
6879
7246
  "operationId": "GetPushLimitSettings",
6880
7247
  "tags": [
6881
7248
  "GitSettings"
6882
7249
  ],
6883
- "summary": "查询仓库推送设置(openapi)",
7250
+ "summary": "查询仓库推送设置。List push limit settings.",
6884
7251
  "parameters": [
6885
7252
  {
6886
7253
  "description": "repo",
@@ -6914,12 +7281,12 @@
6914
7281
  "method": "get"
6915
7282
  },
6916
7283
  "repo.settings.pushLimit.put": {
6917
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-manage:rw",
7284
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
6918
7285
  "operationId": "PutPushLimitSettings",
6919
7286
  "tags": [
6920
7287
  "GitSettings"
6921
7288
  ],
6922
- "summary": "设置仓库推送设置(openapi)",
7289
+ "summary": "设置仓库推送设置。Set push limit settings.",
6923
7290
  "parameters": [
6924
7291
  {
6925
7292
  "description": "repo",
@@ -6959,12 +7326,12 @@
6959
7326
  "method": "put"
6960
7327
  },
6961
7328
  "repo.stars.get": {
6962
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-basic-info:r",
7329
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-basic-info:r",
6963
7330
  "operationId": "ListStarUsers",
6964
7331
  "tags": [
6965
7332
  "Starring"
6966
7333
  ],
6967
- "summary": "获取指定仓库的star用户列表",
7334
+ "summary": "获取指定仓库的star用户列表。Get the list of users who starred the specified repository.",
6968
7335
  "parameters": [
6969
7336
  {
6970
7337
  "description": "slug",
@@ -6974,7 +7341,7 @@
6974
7341
  "type": "string"
6975
7342
  },
6976
7343
  {
6977
- "description": "我关注的",
7344
+ "description": "Filter type",
6978
7345
  "enum": [
6979
7346
  "all",
6980
7347
  "followed"
@@ -7013,12 +7380,12 @@
7013
7380
  "method": "get"
7014
7381
  },
7015
7382
  "repo.topActivityUsers.list": {
7016
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-base-info:r",
7383
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-base-info:r",
7017
7384
  "operationId": "TopContributors",
7018
7385
  "tags": [
7019
7386
  "Collaborators"
7020
7387
  ],
7021
- "summary": "获取 top 贡献用户",
7388
+ "summary": "获取 top 贡献用户。List the top contributing users",
7022
7389
  "parameters": [
7023
7390
  {
7024
7391
  "description": "slug",
@@ -7029,7 +7396,7 @@
7029
7396
  },
7030
7397
  {
7031
7398
  "default": 5,
7032
- "description": "top几,不要超过10",
7399
+ "description": "limit, max(10)",
7033
7400
  "in": "query",
7034
7401
  "name": "top",
7035
7402
  "type": "integer"
@@ -7050,12 +7417,12 @@
7050
7417
  "method": "get"
7051
7418
  },
7052
7419
  "repo.upload.files.post": {
7053
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
7420
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:rw",
7054
7421
  "operationId": "UploadFiles",
7055
7422
  "tags": [
7056
7423
  "Assets"
7057
7424
  ],
7058
- "summary": "发起一个上传 files(issue,pr 及其评论中文档,压缩包等)的请求,返回上传 cos 的 url 和 form 内容",
7425
+ "summary": "发起一个上传 files 的请求,返回上传 cos 的 url 和 form 内容。Initiate a request to upload files,returns COS upload URL and form data.",
7059
7426
  "parameters": [
7060
7427
  {
7061
7428
  "default": "test-group/test-repo",
@@ -7087,12 +7454,12 @@
7087
7454
  "method": "post"
7088
7455
  },
7089
7456
  "repo.upload.imgs.post": {
7090
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
7457
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:rw",
7091
7458
  "operationId": "UploadImgs",
7092
7459
  "tags": [
7093
7460
  "Assets"
7094
7461
  ],
7095
- "summary": "发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容",
7462
+ "summary": "发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容。发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容.",
7096
7463
  "parameters": [
7097
7464
  {
7098
7465
  "default": "test-group/test-repo",
@@ -7124,12 +7491,12 @@
7124
7491
  "method": "post"
7125
7492
  },
7126
7493
  "repo.upload.releases.post": {
7127
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-contents:rw",
7494
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:rw",
7128
7495
  "operationId": "UploadReleases",
7129
7496
  "tags": [
7130
7497
  "Assets"
7131
7498
  ],
7132
- "summary": "发起一个上传 release 附件的请求,返回上传 cos 的 url 和 form 内容",
7499
+ "summary": "发起一个上传 release 附件的请求,返回上传 cos 的 url 和 form 内容。Initiate a request to upload release attachments, returns COS upload URL and form data.",
7133
7500
  "parameters": [
7134
7501
  {
7135
7502
  "default": "test-group/test-repo",
@@ -7168,22 +7535,22 @@
7168
7535
  "method": "post"
7169
7536
  },
7170
7537
  "repo.workspace.detail.get": {
7171
- "description": "访问令牌调用此接口需包含以下权限 \nrepo-cnb-detail:r",
7538
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-cnb-detail:r",
7172
7539
  "operationId": "GetWorkspaceDetail",
7173
7540
  "tags": [
7174
7541
  "Workspace"
7175
7542
  ],
7176
- "summary": "根据流水线sn查询云原生开发访问地址",
7543
+ "summary": "根据流水线sn查询云原生开发访问地址。Query cloud-native development access address by pipeline SN.",
7177
7544
  "parameters": [
7178
7545
  {
7179
- "description": "仓库路径",
7546
+ "description": "Repo path",
7180
7547
  "in": "path",
7181
7548
  "name": "repo",
7182
7549
  "required": true,
7183
7550
  "type": "string"
7184
7551
  },
7185
7552
  {
7186
- "description": "构建号",
7553
+ "description": "SN",
7187
7554
  "in": "path",
7188
7555
  "name": "sn",
7189
7556
  "required": true,
@@ -7202,22 +7569,22 @@
7202
7569
  "method": "get"
7203
7570
  },
7204
7571
  "slug.packages.list": {
7205
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7572
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-package:r",
7206
7573
  "operationId": "ListPackages",
7207
7574
  "tags": [
7208
7575
  "Artifactory"
7209
7576
  ],
7210
- "summary": "List all packages",
7577
+ "summary": "查询制品列表。 List all packages.",
7211
7578
  "parameters": [
7212
7579
  {
7213
- "description": "仓库 slug",
7580
+ "description": "Slug",
7214
7581
  "in": "path",
7215
7582
  "name": "slug",
7216
7583
  "required": true,
7217
7584
  "type": "string"
7218
7585
  },
7219
7586
  {
7220
- "description": "制品类型",
7587
+ "description": "Type",
7221
7588
  "enum": [
7222
7589
  "all",
7223
7590
  "docker",
@@ -7233,20 +7600,20 @@
7233
7600
  },
7234
7601
  {
7235
7602
  "default": 1,
7236
- "description": "页码,从1开始",
7603
+ "description": "Pagination page number",
7237
7604
  "in": "query",
7238
7605
  "name": "page",
7239
7606
  "type": "integer"
7240
7607
  },
7241
7608
  {
7242
7609
  "default": 10,
7243
- "description": "每页数量",
7610
+ "description": "Pagination page size",
7244
7611
  "in": "query",
7245
7612
  "name": "page_size",
7246
7613
  "type": "integer"
7247
7614
  },
7248
7615
  {
7249
- "description": "排序类型",
7616
+ "description": "Ordering type",
7250
7617
  "enum": [
7251
7618
  "pull_count",
7252
7619
  "last_push_at",
@@ -7258,7 +7625,7 @@
7258
7625
  "type": "string"
7259
7626
  },
7260
7627
  {
7261
- "description": "制品名搜索关键词",
7628
+ "description": "Key word to search package name",
7262
7629
  "in": "query",
7263
7630
  "name": "name",
7264
7631
  "type": "string"
@@ -7285,22 +7652,22 @@
7285
7652
  "method": "get"
7286
7653
  },
7287
7654
  "slug.packages.head": {
7288
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7655
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-package:r",
7289
7656
  "operationId": "HeadPackages",
7290
7657
  "tags": [
7291
7658
  "Artifactory"
7292
7659
  ],
7293
- "summary": "Head all packages",
7660
+ "summary": "查询制品数量。 Head all packages.",
7294
7661
  "parameters": [
7295
7662
  {
7296
- "description": "仓库 slug",
7663
+ "description": "Slug",
7297
7664
  "in": "path",
7298
7665
  "name": "slug",
7299
7666
  "required": true,
7300
7667
  "type": "string"
7301
7668
  },
7302
7669
  {
7303
- "description": "制品类型",
7670
+ "description": "Type",
7304
7671
  "enum": [
7305
7672
  "all",
7306
7673
  "docker",
@@ -7313,20 +7680,20 @@
7313
7680
  },
7314
7681
  {
7315
7682
  "default": 1,
7316
- "description": "页码,从1开始",
7683
+ "description": "Pagination page number",
7317
7684
  "in": "query",
7318
7685
  "name": "page",
7319
7686
  "type": "integer"
7320
7687
  },
7321
7688
  {
7322
7689
  "default": 10,
7323
- "description": "每页数量",
7690
+ "description": "Pagination page size",
7324
7691
  "in": "query",
7325
7692
  "name": "page_size",
7326
7693
  "type": "integer"
7327
7694
  },
7328
7695
  {
7329
- "description": "排序类型",
7696
+ "description": "Ordering type",
7330
7697
  "enum": [
7331
7698
  "pull_count",
7332
7699
  "last_push_at",
@@ -7338,7 +7705,7 @@
7338
7705
  "type": "string"
7339
7706
  },
7340
7707
  {
7341
- "description": "制品名搜索关键词",
7708
+ "description": "key word to search package",
7342
7709
  "in": "query",
7343
7710
  "name": "name",
7344
7711
  "type": "string"
@@ -7356,22 +7723,22 @@
7356
7723
  "method": "head"
7357
7724
  },
7358
7725
  "slug.packages.type.quota.get": {
7359
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7726
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-package:r",
7360
7727
  "operationId": "GetQuotaByProjectName",
7361
7728
  "tags": [
7362
7729
  "Artifactory"
7363
7730
  ],
7364
- "summary": "Get quota of specific registry",
7731
+ "summary": "查询制品配额。 Get quota of specific registry.",
7365
7732
  "parameters": [
7366
7733
  {
7367
- "description": "仓库 slug",
7734
+ "description": "Slug",
7368
7735
  "in": "path",
7369
7736
  "name": "slug",
7370
7737
  "required": true,
7371
7738
  "type": "string"
7372
7739
  },
7373
7740
  {
7374
- "description": "制品类型",
7741
+ "description": "Type",
7375
7742
  "enum": [
7376
7743
  "docker",
7377
7744
  "helm",
@@ -7403,22 +7770,22 @@
7403
7770
  "method": "get"
7404
7771
  },
7405
7772
  "slug.packages.type.quotas.list": {
7406
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7773
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-package:r",
7407
7774
  "operationId": "GetQuotasByProjectName",
7408
7775
  "tags": [
7409
7776
  "Artifactory"
7410
7777
  ],
7411
- "summary": "Get quotas of packages under one registry",
7778
+ "summary": "查询全部制品配额。 Get quotas of packages under one registry.",
7412
7779
  "parameters": [
7413
7780
  {
7414
- "description": "仓库 slug",
7781
+ "description": "Slug",
7415
7782
  "in": "path",
7416
7783
  "name": "slug",
7417
7784
  "required": true,
7418
7785
  "type": "string"
7419
7786
  },
7420
7787
  {
7421
- "description": "制品类型",
7788
+ "description": "Type",
7422
7789
  "enum": [
7423
7790
  "docker",
7424
7791
  "helm",
@@ -7433,20 +7800,20 @@
7433
7800
  },
7434
7801
  {
7435
7802
  "default": 1,
7436
- "description": "页码,从1开始",
7803
+ "description": "Pagination page number",
7437
7804
  "in": "query",
7438
7805
  "name": "page",
7439
7806
  "type": "integer"
7440
7807
  },
7441
7808
  {
7442
7809
  "default": 10,
7443
- "description": "每页数量",
7810
+ "description": "Pagination page size",
7444
7811
  "in": "query",
7445
7812
  "name": "page_size",
7446
7813
  "type": "integer"
7447
7814
  },
7448
7815
  {
7449
- "description": "排序类型",
7816
+ "description": "Ordering type",
7450
7817
  "enum": [
7451
7818
  "used_ascend",
7452
7819
  "used_descend"
@@ -7477,22 +7844,22 @@
7477
7844
  "method": "get"
7478
7845
  },
7479
7846
  "slug.packages.type.quotas.download.list": {
7480
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7847
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-package:r",
7481
7848
  "operationId": "DownloadQuotasByProjectName",
7482
7849
  "tags": [
7483
7850
  "Artifactory"
7484
7851
  ],
7485
- "summary": "Download registry quota details",
7852
+ "summary": "下载制品配额信息。 Download registry quota details.",
7486
7853
  "parameters": [
7487
7854
  {
7488
- "description": "仓库 slug",
7855
+ "description": "Slug",
7489
7856
  "in": "path",
7490
7857
  "name": "slug",
7491
7858
  "required": true,
7492
7859
  "type": "string"
7493
7860
  },
7494
7861
  {
7495
- "description": "制品类型",
7862
+ "description": "Type",
7496
7863
  "enum": [
7497
7864
  "docker",
7498
7865
  "helm",
@@ -7507,20 +7874,20 @@
7507
7874
  },
7508
7875
  {
7509
7876
  "default": 1,
7510
- "description": "页码,从1开始",
7877
+ "description": "Pagination page number",
7511
7878
  "in": "query",
7512
7879
  "name": "page",
7513
7880
  "type": "integer"
7514
7881
  },
7515
7882
  {
7516
7883
  "default": 10,
7517
- "description": "每页数量",
7884
+ "description": "Pagination page size",
7518
7885
  "in": "query",
7519
7886
  "name": "page_size",
7520
7887
  "type": "integer"
7521
7888
  },
7522
7889
  {
7523
- "description": "排序类型",
7890
+ "description": "Ordering type",
7524
7891
  "enum": [
7525
7892
  "used_ascend",
7526
7893
  "used_descend"
@@ -7551,22 +7918,22 @@
7551
7918
  "method": "get"
7552
7919
  },
7553
7920
  "slug.packages.get": {
7554
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
7921
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-package:r",
7555
7922
  "operationId": "GetPackage",
7556
7923
  "tags": [
7557
7924
  "Artifactory"
7558
7925
  ],
7559
- "summary": "Get the specific package",
7926
+ "summary": "获取某一制品的详细信息。 Get the package detail.",
7560
7927
  "parameters": [
7561
7928
  {
7562
- "description": "仓库 slug",
7929
+ "description": "Slug",
7563
7930
  "in": "path",
7564
7931
  "name": "slug",
7565
7932
  "required": true,
7566
7933
  "type": "string"
7567
7934
  },
7568
7935
  {
7569
- "description": "制品类型",
7936
+ "description": "Type",
7570
7937
  "enum": [
7571
7938
  "docker",
7572
7939
  "helm",
@@ -7580,7 +7947,7 @@
7580
7947
  "type": "string"
7581
7948
  },
7582
7949
  {
7583
- "description": "制品名称",
7950
+ "description": "Name",
7584
7951
  "in": "path",
7585
7952
  "name": "name",
7586
7953
  "required": true,
@@ -7599,22 +7966,22 @@
7599
7966
  "method": "get"
7600
7967
  },
7601
7968
  "slug.packages.name.tag.delete": {
7602
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-package-delete:rw",
7969
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-package-delete:rw",
7603
7970
  "operationId": "DeletePackageTag",
7604
7971
  "tags": [
7605
7972
  "Artifactory"
7606
7973
  ],
7607
- "summary": "Delete the specific tag under specific package",
7974
+ "summary": "删除制品标签。 Delete the specific tag under specific package",
7608
7975
  "parameters": [
7609
7976
  {
7610
- "description": "仓库 slug",
7977
+ "description": "Slug",
7611
7978
  "in": "path",
7612
7979
  "name": "slug",
7613
7980
  "required": true,
7614
7981
  "type": "string"
7615
7982
  },
7616
7983
  {
7617
- "description": "制品类型",
7984
+ "description": "Type",
7618
7985
  "enum": [
7619
7986
  "docker",
7620
7987
  "helm",
@@ -7628,14 +7995,14 @@
7628
7995
  "type": "string"
7629
7996
  },
7630
7997
  {
7631
- "description": "制品名称",
7998
+ "description": "Name",
7632
7999
  "in": "path",
7633
8000
  "name": "name",
7634
8001
  "required": true,
7635
8002
  "type": "string"
7636
8003
  },
7637
8004
  {
7638
- "description": "制品标签",
8005
+ "description": "Tag",
7639
8006
  "in": "path",
7640
8007
  "name": "tag",
7641
8008
  "required": true,
@@ -7651,22 +8018,22 @@
7651
8018
  "method": "delete"
7652
8019
  },
7653
8020
  "slug.packages.name.tag.get": {
7654
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
8021
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-package:r",
7655
8022
  "operationId": "GetPackageTagDetail",
7656
8023
  "tags": [
7657
8024
  "Artifactory"
7658
8025
  ],
7659
- "summary": "Get the specific tag under specific package",
8026
+ "summary": "获取制品标签详情。 Get the specific tag under specific package.",
7660
8027
  "parameters": [
7661
8028
  {
7662
- "description": "仓库 slug",
8029
+ "description": "Slug",
7663
8030
  "in": "path",
7664
8031
  "name": "slug",
7665
8032
  "required": true,
7666
8033
  "type": "string"
7667
8034
  },
7668
8035
  {
7669
- "description": "制品类型",
8036
+ "description": "Type",
7670
8037
  "enum": [
7671
8038
  "docker",
7672
8039
  "helm",
@@ -7680,21 +8047,21 @@
7680
8047
  "type": "string"
7681
8048
  },
7682
8049
  {
7683
- "description": "制品名称",
8050
+ "description": "Name",
7684
8051
  "in": "path",
7685
8052
  "name": "name",
7686
8053
  "required": true,
7687
8054
  "type": "string"
7688
8055
  },
7689
8056
  {
7690
- "description": "制品标签",
8057
+ "description": "Tag",
7691
8058
  "in": "path",
7692
8059
  "name": "tag",
7693
8060
  "required": true,
7694
8061
  "type": "string"
7695
8062
  },
7696
8063
  {
7697
- "description": "摘要,容器制品时必须",
8064
+ "description": "摘要,容器制品时必须。Digest (SHA256), required for container artifacts.",
7698
8065
  "in": "query",
7699
8066
  "name": "sha256",
7700
8067
  "type": "string"
@@ -7712,22 +8079,22 @@
7712
8079
  "method": "get"
7713
8080
  },
7714
8081
  "slug.packages.pkgname.tags.get": {
7715
- "description": "访问令牌调用此接口需包含以下权限 \nregistry-package:r",
8082
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-package:r",
7716
8083
  "operationId": "ListPackageTags",
7717
8084
  "tags": [
7718
8085
  "Artifactory"
7719
8086
  ],
7720
- "summary": "List all tags under specific package",
8087
+ "summary": "查询制品标签列表。 List all tags under specific package.",
7721
8088
  "parameters": [
7722
8089
  {
7723
- "description": "仓库 slug",
8090
+ "description": "Slug",
7724
8091
  "in": "path",
7725
8092
  "name": "slug",
7726
8093
  "required": true,
7727
8094
  "type": "string"
7728
8095
  },
7729
8096
  {
7730
- "description": "制品类型",
8097
+ "description": "Type",
7731
8098
  "enum": [
7732
8099
  "docker",
7733
8100
  "helm",
@@ -7741,7 +8108,7 @@
7741
8108
  "type": "string"
7742
8109
  },
7743
8110
  {
7744
- "description": "制品名称",
8111
+ "description": "Package name",
7745
8112
  "in": "path",
7746
8113
  "name": "pkgname",
7747
8114
  "required": true,
@@ -7749,20 +8116,20 @@
7749
8116
  },
7750
8117
  {
7751
8118
  "default": 1,
7752
- "description": "页码,从1开始",
8119
+ "description": "Pagination page number",
7753
8120
  "in": "query",
7754
8121
  "name": "page",
7755
8122
  "type": "integer"
7756
8123
  },
7757
8124
  {
7758
8125
  "default": 10,
7759
- "description": "每页多少条数据",
8126
+ "description": "Pagination page size",
7760
8127
  "in": "query",
7761
8128
  "name": "page_size",
7762
8129
  "type": "integer"
7763
8130
  },
7764
8131
  {
7765
- "description": "排序类型",
8132
+ "description": "Ordering type",
7766
8133
  "enum": [
7767
8134
  "pull_count",
7768
8135
  "last_push_at"
@@ -7772,7 +8139,7 @@
7772
8139
  "type": "string"
7773
8140
  },
7774
8141
  {
7775
- "description": "搜索关键字",
8142
+ "description": "Key word",
7776
8143
  "in": "query",
7777
8144
  "name": "name",
7778
8145
  "type": "string"