node-cnb 1.17.1 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1390 -827
- package/dist/index.d.ts +1390 -827
- package/dist/index.js +3706 -3316
- package/dist/index.mjs +3706 -3316
- package/dist/paths.json +3938 -3437
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9,7 +9,6 @@ type ApiBranch = {
|
|
|
9
9
|
};
|
|
10
10
|
type ApiBranchDetail = {
|
|
11
11
|
commit: ApiCommit;
|
|
12
|
-
dev_meta: number[];
|
|
13
12
|
name: string;
|
|
14
13
|
protected: boolean;
|
|
15
14
|
};
|
|
@@ -85,13 +84,10 @@ type ApiCommitObjectVerification = {
|
|
|
85
84
|
type ApiCommitParent = {
|
|
86
85
|
sha: string;
|
|
87
86
|
};
|
|
88
|
-
type
|
|
89
|
-
|
|
90
|
-
created_at: string;
|
|
91
|
-
description: string;
|
|
87
|
+
type ApiCommitStatuses = {
|
|
88
|
+
sha: string;
|
|
92
89
|
state: string;
|
|
93
|
-
|
|
94
|
-
updated_at: string;
|
|
90
|
+
statuses: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus[];
|
|
95
91
|
};
|
|
96
92
|
type ApiCompareResponse = {
|
|
97
93
|
base_commit: ApiCommit;
|
|
@@ -106,6 +102,8 @@ type ApiContent = {
|
|
|
106
102
|
encoding: string;
|
|
107
103
|
entries: ApiTreeEntry[];
|
|
108
104
|
lfs_download_url: string;
|
|
105
|
+
lfs_oid: string;
|
|
106
|
+
lfs_size: number;
|
|
109
107
|
name: string;
|
|
110
108
|
path: string;
|
|
111
109
|
sha: string;
|
|
@@ -214,6 +212,9 @@ type ApiPatchLabelForm = {
|
|
|
214
212
|
description: string;
|
|
215
213
|
new_name: string;
|
|
216
214
|
};
|
|
215
|
+
type ApiPatchPullCommentForm = {
|
|
216
|
+
body: string;
|
|
217
|
+
};
|
|
217
218
|
type ApiPatchPullRequest = {
|
|
218
219
|
body: string;
|
|
219
220
|
|
|
@@ -274,8 +275,10 @@ type ApiPull = {
|
|
|
274
275
|
body: string;
|
|
275
276
|
head: ApiPullRef;
|
|
276
277
|
is_wip: boolean;
|
|
278
|
+
labels: ApiLabel[];
|
|
277
279
|
merged_by: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
278
280
|
number: string;
|
|
281
|
+
reviewers: ApiPullReviewer[];
|
|
279
282
|
state: string;
|
|
280
283
|
title: string;
|
|
281
284
|
};
|
|
@@ -289,6 +292,19 @@ type ApiPullCreationForm = {
|
|
|
289
292
|
head_repo: string;
|
|
290
293
|
title: string;
|
|
291
294
|
};
|
|
295
|
+
type ApiPullFile = {
|
|
296
|
+
additions: number;
|
|
297
|
+
blob_url: string;
|
|
298
|
+
contents_url: string;
|
|
299
|
+
deletions: number;
|
|
300
|
+
filename: string;
|
|
301
|
+
patch: string;
|
|
302
|
+
raw_url: string;
|
|
303
|
+
sha: string;
|
|
304
|
+
|
|
305
|
+
/**Status of this Pull Request specified diff file. Either `add` / `modify` / `delete` / `rename` / `copy`.*/
|
|
306
|
+
status: string;
|
|
307
|
+
};
|
|
292
308
|
type ApiPullRef = {
|
|
293
309
|
ref: string;
|
|
294
310
|
repo: ApiRepo;
|
|
@@ -308,6 +324,7 @@ type ApiPullRequest = {
|
|
|
308
324
|
created_at: string;
|
|
309
325
|
head: ApiPullRef;
|
|
310
326
|
is_wip: boolean;
|
|
327
|
+
labels: ApiLabel[];
|
|
311
328
|
last_acted_at: string;
|
|
312
329
|
mergeable_state: string;
|
|
313
330
|
merged_by: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
@@ -322,6 +339,7 @@ type ApiPullRequestComment = {
|
|
|
322
339
|
author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
323
340
|
body: string;
|
|
324
341
|
created_at: string;
|
|
342
|
+
id: string;
|
|
325
343
|
updated_at: string;
|
|
326
344
|
};
|
|
327
345
|
type ApiPullRequestInfo = {
|
|
@@ -331,6 +349,7 @@ type ApiPullRequestInfo = {
|
|
|
331
349
|
blocked_on: string;
|
|
332
350
|
created_at: string;
|
|
333
351
|
head: ApiPullRefInfo;
|
|
352
|
+
labels: ApiLabel[];
|
|
334
353
|
last_acted_at: string;
|
|
335
354
|
mergeable_state: string;
|
|
336
355
|
merged_by: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
|
|
@@ -391,6 +410,11 @@ type ApiPullReviewCreationForm = {
|
|
|
391
410
|
comments: ApiPullReviewCommentCreationForm[];
|
|
392
411
|
event: string;
|
|
393
412
|
};
|
|
413
|
+
type ApiPullReviewer = {
|
|
414
|
+
/**reviewState contains One of: `pending`, `commented`, `approved`, `changes_requested`, `dismissed`.*/
|
|
415
|
+
review_state: string;
|
|
416
|
+
user: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
417
|
+
};
|
|
394
418
|
type ApiPushLimitSettings = {
|
|
395
419
|
allow_single_push_number: number;
|
|
396
420
|
check_single_push_number: boolean;
|
|
@@ -559,11 +583,38 @@ type ChartMetadata = {
|
|
|
559
583
|
/**A SemVer 2 conformant version string of the chart. Required.*/
|
|
560
584
|
version: string;
|
|
561
585
|
};
|
|
562
|
-
type ConstantAccessRole =
|
|
563
|
-
type ConstantRepoDisplayModule =
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
586
|
+
type ConstantAccessRole = "Unknown" | "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
587
|
+
type ConstantRepoDisplayModule = {
|
|
588
|
+
/**仓库动态*/
|
|
589
|
+
activity: boolean;
|
|
590
|
+
|
|
591
|
+
/**仓库贡献者*/
|
|
592
|
+
contributors: boolean;
|
|
593
|
+
|
|
594
|
+
/**仓库版本*/
|
|
595
|
+
release: boolean;
|
|
596
|
+
};
|
|
597
|
+
type ConstantUserEditable = {
|
|
598
|
+
/**可修改账户头像*/
|
|
599
|
+
avatar: boolean;
|
|
600
|
+
|
|
601
|
+
/**可修改主邮箱*/
|
|
602
|
+
email: boolean;
|
|
603
|
+
|
|
604
|
+
/**是否允许注销账户*/
|
|
605
|
+
logoff: boolean;
|
|
606
|
+
|
|
607
|
+
/**可修改昵称*/
|
|
608
|
+
nickname: boolean;
|
|
609
|
+
|
|
610
|
+
/**是否允许同步昵称和头像*/
|
|
611
|
+
"sync-data": boolean;
|
|
612
|
+
|
|
613
|
+
/**可修改账户名*/
|
|
614
|
+
username: boolean;
|
|
615
|
+
};
|
|
616
|
+
type ConstantUserType = 0 | 1 | 2 | 3 | 4;
|
|
617
|
+
type ConstantVisibility = "Private" | "Public" | "Secret";
|
|
567
618
|
type DtoActivityCreateRepoDetail = {
|
|
568
619
|
create_at: string;
|
|
569
620
|
|
|
@@ -623,6 +674,26 @@ type DtoActivityRepoDetail = {
|
|
|
623
674
|
/**仓库可见性*/
|
|
624
675
|
visibility_level: any;
|
|
625
676
|
};
|
|
677
|
+
type DtoAiAutoPrReq = {
|
|
678
|
+
/**需求内容*/
|
|
679
|
+
body: string;
|
|
680
|
+
|
|
681
|
+
/**提 PR 的目标分支名*/
|
|
682
|
+
branch: string;
|
|
683
|
+
|
|
684
|
+
/**需求标题*/
|
|
685
|
+
title: string;
|
|
686
|
+
};
|
|
687
|
+
type DtoAiAutoPrResult = {
|
|
688
|
+
/**构建链接*/
|
|
689
|
+
buildLogUrl: string;
|
|
690
|
+
|
|
691
|
+
/**message*/
|
|
692
|
+
message: string;
|
|
693
|
+
|
|
694
|
+
/**构建号*/
|
|
695
|
+
sn: string;
|
|
696
|
+
};
|
|
626
697
|
type DtoAiChatCompletionsChoice = {
|
|
627
698
|
/**结束原因*/
|
|
628
699
|
finish_reason: string;
|
|
@@ -661,10 +732,37 @@ type DtoAiChatCompletionsResult = {
|
|
|
661
732
|
};
|
|
662
733
|
type DtoAssets = {
|
|
663
734
|
content_type: string;
|
|
735
|
+
ext: any;
|
|
664
736
|
name: string;
|
|
665
737
|
path: string;
|
|
666
738
|
size: number;
|
|
667
739
|
};
|
|
740
|
+
type DtoBadge = {
|
|
741
|
+
/**徽章描述*/
|
|
742
|
+
desc: string;
|
|
743
|
+
|
|
744
|
+
/**徽章分组*/
|
|
745
|
+
group: any;
|
|
746
|
+
|
|
747
|
+
/**徽章链接*/
|
|
748
|
+
link: string;
|
|
749
|
+
|
|
750
|
+
/**徽章名称*/
|
|
751
|
+
name: string;
|
|
752
|
+
|
|
753
|
+
/**徽章类型*/
|
|
754
|
+
type: string;
|
|
755
|
+
|
|
756
|
+
/**徽章URL*/
|
|
757
|
+
url: string;
|
|
758
|
+
};
|
|
759
|
+
type DtoBuildLogsDeleteResult = {
|
|
760
|
+
/**返回码,0 表示成功,1 表示失败*/
|
|
761
|
+
code: number;
|
|
762
|
+
|
|
763
|
+
/**描述*/
|
|
764
|
+
message: string;
|
|
765
|
+
};
|
|
668
766
|
type DtoBuildLogsResult = {
|
|
669
767
|
/**构建数据列表*/
|
|
670
768
|
data: DtoLogInfo[];
|
|
@@ -760,10 +858,101 @@ type DtoChartTagDetail = {
|
|
|
760
858
|
slug: string;
|
|
761
859
|
tag: string;
|
|
762
860
|
};
|
|
763
|
-
type
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
861
|
+
type DtoCodeIssueSummary = {
|
|
862
|
+
/**严重风险问题数量*/
|
|
863
|
+
critical_count: number;
|
|
864
|
+
|
|
865
|
+
/**严重风险问题忽略数量*/
|
|
866
|
+
critical_ignore_count: number;
|
|
867
|
+
|
|
868
|
+
/**是否开启源码信息扫描*/
|
|
869
|
+
enable: boolean;
|
|
870
|
+
|
|
871
|
+
/**高风险问题数量*/
|
|
872
|
+
high_count: number;
|
|
873
|
+
|
|
874
|
+
/**高风险问题忽略数量*/
|
|
875
|
+
high_ignore_count: number;
|
|
876
|
+
|
|
877
|
+
/**忽略的问题数量*/
|
|
878
|
+
ignored: number;
|
|
879
|
+
|
|
880
|
+
/**低风险问题数量*/
|
|
881
|
+
low_count: number;
|
|
882
|
+
|
|
883
|
+
/**低风险问题忽略数量*/
|
|
884
|
+
low_ignore_count: number;
|
|
885
|
+
|
|
886
|
+
/**中风险问题数量*/
|
|
887
|
+
medium_count: number;
|
|
888
|
+
|
|
889
|
+
/**中风险问题忽略数量*/
|
|
890
|
+
medium_ignore_count: number;
|
|
891
|
+
|
|
892
|
+
/**开启中问题数量*/
|
|
893
|
+
open: number;
|
|
894
|
+
};
|
|
895
|
+
type DtoCodeSensitiveSummary = {
|
|
896
|
+
/**是否开启代码敏感信息扫描*/
|
|
897
|
+
enable: boolean;
|
|
898
|
+
|
|
899
|
+
/**高风险问题数量*/
|
|
900
|
+
high_count: number;
|
|
901
|
+
|
|
902
|
+
/**高风险问题忽略数量*/
|
|
903
|
+
high_ignore_count: number;
|
|
904
|
+
|
|
905
|
+
/**忽略问题数量*/
|
|
906
|
+
ignored: number;
|
|
907
|
+
|
|
908
|
+
/**低风险问题数量*/
|
|
909
|
+
low_count: number;
|
|
910
|
+
|
|
911
|
+
/**低风险问题忽略数量*/
|
|
912
|
+
low_ignore_count: number;
|
|
913
|
+
|
|
914
|
+
/**中风险问题数量*/
|
|
915
|
+
medium_count: number;
|
|
916
|
+
|
|
917
|
+
/**中风险问题忽略数量*/
|
|
918
|
+
medium_ignore_count: number;
|
|
919
|
+
|
|
920
|
+
/**开启中问题数量*/
|
|
921
|
+
open: number;
|
|
922
|
+
};
|
|
923
|
+
type DtoCodeVulOverview = {
|
|
924
|
+
/**忽略的严重风险漏洞的数量*/
|
|
925
|
+
critical_vul_ignore_cnt: number;
|
|
926
|
+
|
|
927
|
+
/**打开的严重风险级别漏洞的数量*/
|
|
928
|
+
critical_vul_open_cnt: number;
|
|
929
|
+
|
|
930
|
+
/**是否开启代码漏洞扫描*/
|
|
931
|
+
enable: boolean;
|
|
932
|
+
|
|
933
|
+
/**忽略的高风险级别漏洞的数量*/
|
|
934
|
+
high_vul_ignore_cnt: number;
|
|
935
|
+
|
|
936
|
+
/**打开的高风险级别漏洞的数量*/
|
|
937
|
+
high_vul_open_cnt: number;
|
|
938
|
+
|
|
939
|
+
/**忽略问题数量*/
|
|
940
|
+
ignored: number;
|
|
941
|
+
|
|
942
|
+
/**忽略的低风险级别漏洞的数量*/
|
|
943
|
+
low_vul_ignore_cnt: number;
|
|
944
|
+
|
|
945
|
+
/**打开的低风险级别漏洞的数量*/
|
|
946
|
+
low_vul_open_cnt: number;
|
|
947
|
+
|
|
948
|
+
/**忽略的中风险级别漏洞的数量*/
|
|
949
|
+
medium_vul_ignore_cnt: number;
|
|
950
|
+
|
|
951
|
+
/**打开的中风险级别漏洞的数量*/
|
|
952
|
+
medium_vul_open_cnt: number;
|
|
953
|
+
|
|
954
|
+
/**开启中问题数量*/
|
|
955
|
+
open: number;
|
|
767
956
|
};
|
|
768
957
|
type DtoCommonRegistryPackageDetail = {
|
|
769
958
|
address: string;
|
|
@@ -802,8 +991,52 @@ type DtoCommonRegistryTagDetail = {
|
|
|
802
991
|
tag: string;
|
|
803
992
|
tags: DtoCommonRegistryTag[];
|
|
804
993
|
};
|
|
994
|
+
type DtoConanMetaData = {
|
|
995
|
+
author: string;
|
|
996
|
+
|
|
997
|
+
/**conan 的 package 列表*/
|
|
998
|
+
conan_packages: DtoConanPackage[];
|
|
999
|
+
|
|
1000
|
+
/**conan recipe 的 revision, conan 制品专用字段*/
|
|
1001
|
+
conan_recipe_revision: string;
|
|
1002
|
+
conan_reference: string;
|
|
1003
|
+
home_page: string;
|
|
1004
|
+
license_url: string;
|
|
1005
|
+
package_name: string;
|
|
1006
|
+
package_tag: string;
|
|
1007
|
+
package_type: string;
|
|
1008
|
+
readme: string;
|
|
1009
|
+
repository_url: string;
|
|
1010
|
+
};
|
|
1011
|
+
type DtoConanPackage = {
|
|
1012
|
+
arch: string;
|
|
1013
|
+
build_type: string;
|
|
1014
|
+
compiler: any;
|
|
1015
|
+
options: any;
|
|
1016
|
+
os: string;
|
|
1017
|
+
package_id: string;
|
|
1018
|
+
package_revision: string;
|
|
1019
|
+
requires: string[];
|
|
1020
|
+
};
|
|
1021
|
+
type DtoConanRegistryTagDetail = {
|
|
1022
|
+
address: string;
|
|
1023
|
+
dependencies: DtoDependency[];
|
|
1024
|
+
desc: string;
|
|
1025
|
+
files: DtoFile[];
|
|
1026
|
+
last_pusher: DtoLastPusher;
|
|
1027
|
+
metadata: DtoConanMetaData;
|
|
1028
|
+
package: string;
|
|
1029
|
+
pull_count: number;
|
|
1030
|
+
recent_pull_count: number;
|
|
1031
|
+
size: number;
|
|
1032
|
+
slug: string;
|
|
1033
|
+
status: string;
|
|
1034
|
+
tag: string;
|
|
1035
|
+
tags: DtoCommonRegistryTag[];
|
|
1036
|
+
};
|
|
805
1037
|
type DtoContainerAnnotation = {
|
|
806
1038
|
revision: string;
|
|
1039
|
+
sn: string;
|
|
807
1040
|
version: string;
|
|
808
1041
|
};
|
|
809
1042
|
type DtoContainerImage = {
|
|
@@ -877,7 +1110,7 @@ type DtoDependency = {
|
|
|
877
1110
|
name: string;
|
|
878
1111
|
};
|
|
879
1112
|
type DtoDockerModelConfig = {
|
|
880
|
-
|
|
1113
|
+
architecture: string;
|
|
881
1114
|
|
|
882
1115
|
/**Format the packaging format of the model file(s), currently the only supported value is gguf.*/
|
|
883
1116
|
format: string;
|
|
@@ -885,14 +1118,12 @@ type DtoDockerModelConfig = {
|
|
|
885
1118
|
/**FormatVersion the version of the format*/
|
|
886
1119
|
format_version: string;
|
|
887
1120
|
gguf: DtoGguf;
|
|
1121
|
+
parameters: string;
|
|
1122
|
+
quantization: string;
|
|
888
1123
|
size: string;
|
|
889
1124
|
};
|
|
890
1125
|
type DtoDockerModelDescriptor = {
|
|
891
|
-
|
|
892
|
-
};
|
|
893
|
-
type DtoDockerModelFile = {
|
|
894
|
-
diffID: string;
|
|
895
|
-
type: string;
|
|
1126
|
+
created: string;
|
|
896
1127
|
};
|
|
897
1128
|
type DtoDockerModelPackageDetail = {
|
|
898
1129
|
address: string;
|
|
@@ -941,12 +1172,6 @@ type DtoFile = {
|
|
|
941
1172
|
name: string;
|
|
942
1173
|
size: number;
|
|
943
1174
|
};
|
|
944
|
-
type DtoForkReq = {
|
|
945
|
-
branch: string;
|
|
946
|
-
description: string;
|
|
947
|
-
group: string;
|
|
948
|
-
name: string;
|
|
949
|
-
};
|
|
950
1175
|
type DtoForks = {
|
|
951
1176
|
created_at: string;
|
|
952
1177
|
fork_count: number;
|
|
@@ -957,10 +1182,26 @@ type DtoForks = {
|
|
|
957
1182
|
user_lock: boolean;
|
|
958
1183
|
username: string;
|
|
959
1184
|
};
|
|
960
|
-
type DtoGguf =
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
1185
|
+
type DtoGguf = any;
|
|
1186
|
+
type DtoGetBadgeReq = {
|
|
1187
|
+
/**分支名,例如:main。不传则为默认分支,获取默认分支最新徽章。传了分支名,则获取该分支最新提交记录对应的徽章。*/
|
|
1188
|
+
branch: string;
|
|
1189
|
+
};
|
|
1190
|
+
type DtoGetBadgeResult = {
|
|
1191
|
+
/**徽章颜色*/
|
|
1192
|
+
color: string;
|
|
1193
|
+
|
|
1194
|
+
/**徽章左侧显示内容*/
|
|
1195
|
+
label: string;
|
|
1196
|
+
|
|
1197
|
+
/**徽章链接*/
|
|
1198
|
+
link: string;
|
|
1199
|
+
|
|
1200
|
+
/**徽章链接列表*/
|
|
1201
|
+
links: string[];
|
|
1202
|
+
|
|
1203
|
+
/**徽章右侧显示内容*/
|
|
1204
|
+
message: string;
|
|
964
1205
|
};
|
|
965
1206
|
type DtoGroupSettingReq = {
|
|
966
1207
|
/**组织限制指定邮箱认证才能加入*/
|
|
@@ -1003,14 +1244,29 @@ type DtoInheritMembersUser = {
|
|
|
1003
1244
|
/**认证过期时间*/
|
|
1004
1245
|
verified_expire_in: string;
|
|
1005
1246
|
};
|
|
1247
|
+
type DtoIssueConfig = {
|
|
1248
|
+
/**逗号分隔的标签字符串,如 "bug,feature"*/
|
|
1249
|
+
labels: string;
|
|
1250
|
+
|
|
1251
|
+
/**"open", "closed"*/
|
|
1252
|
+
state: string;
|
|
1253
|
+
};
|
|
1006
1254
|
type DtoKnowledgeBaseInfoRes = {
|
|
1007
1255
|
embedding_model: DtoEmbeddingModels;
|
|
1008
1256
|
exclude: string;
|
|
1009
|
-
id:
|
|
1257
|
+
id: string;
|
|
1010
1258
|
include: string;
|
|
1259
|
+
issue_last_sync_time: string;
|
|
1260
|
+
issue_sync_enabled: boolean;
|
|
1011
1261
|
last_commit_sha: string;
|
|
1262
|
+
metadata: DtoKnowledgeBaseMetadata;
|
|
1012
1263
|
statistics: DtoDocumentStatistics;
|
|
1013
1264
|
};
|
|
1265
|
+
type DtoKnowledgeBaseMetadata = {
|
|
1266
|
+
issue: DtoIssueConfig;
|
|
1267
|
+
processing: DtoProcessingConfig;
|
|
1268
|
+
version: string;
|
|
1269
|
+
};
|
|
1014
1270
|
type DtoLastPusher = {
|
|
1015
1271
|
is_frozen: boolean;
|
|
1016
1272
|
is_lock: boolean;
|
|
@@ -1018,6 +1274,11 @@ type DtoLastPusher = {
|
|
|
1018
1274
|
nickname: string;
|
|
1019
1275
|
push_at: string;
|
|
1020
1276
|
};
|
|
1277
|
+
type DtoListBadgeReq = any;
|
|
1278
|
+
type DtoListBadgeResult = {
|
|
1279
|
+
/**徽章列表*/
|
|
1280
|
+
badges: DtoBadge[];
|
|
1281
|
+
};
|
|
1021
1282
|
type DtoListForks = {
|
|
1022
1283
|
fork_tree_count: number;
|
|
1023
1284
|
forks: DtoForks[];
|
|
@@ -1115,7 +1376,6 @@ type DtoMetaData = {
|
|
|
1115
1376
|
author: string;
|
|
1116
1377
|
home_page: string;
|
|
1117
1378
|
license_url: string;
|
|
1118
|
-
minimum_stability: string;
|
|
1119
1379
|
package_name: string;
|
|
1120
1380
|
package_tag: string;
|
|
1121
1381
|
package_type: string;
|
|
@@ -1165,6 +1425,21 @@ type DtoMissionViewSort = {
|
|
|
1165
1425
|
};
|
|
1166
1426
|
type DtoMissionViewSortOrder = "asc" | "desc";
|
|
1167
1427
|
type DtoMissionViewType = "table" | "board" | "gantt";
|
|
1428
|
+
type DtoMissions4User = {
|
|
1429
|
+
access: any;
|
|
1430
|
+
created_at: string;
|
|
1431
|
+
description: string;
|
|
1432
|
+
freeze: boolean;
|
|
1433
|
+
id: string;
|
|
1434
|
+
name: string;
|
|
1435
|
+
path: string;
|
|
1436
|
+
pinned: boolean;
|
|
1437
|
+
pinned_time: string;
|
|
1438
|
+
star_time: string;
|
|
1439
|
+
stared: boolean;
|
|
1440
|
+
updated_at: string;
|
|
1441
|
+
visibility_level: ConstantVisibility;
|
|
1442
|
+
};
|
|
1168
1443
|
type DtoOperatorType = "equal" | "equals" | "not_equals" | "contains" | "contains_all" | "not_contains" | "empty" | "not_empty" | "before" | "after" | "time_selector";
|
|
1169
1444
|
type DtoOrganizationAccess = {
|
|
1170
1445
|
/**AccessRole 用户在当前资源的最大权限*/
|
|
@@ -1187,12 +1462,13 @@ type DtoOrganizationAccess = {
|
|
|
1187
1462
|
follow_count: number;
|
|
1188
1463
|
freeze: boolean;
|
|
1189
1464
|
has_sub_group: boolean;
|
|
1190
|
-
id:
|
|
1465
|
+
id: string;
|
|
1191
1466
|
member_count: number;
|
|
1192
1467
|
name: string;
|
|
1193
1468
|
path: string;
|
|
1194
1469
|
pinned: boolean;
|
|
1195
1470
|
pinned_time: string;
|
|
1471
|
+
readme_repo_path: string;
|
|
1196
1472
|
remark: string;
|
|
1197
1473
|
site: string;
|
|
1198
1474
|
|
|
@@ -1246,12 +1522,13 @@ type DtoOrganizationUnion = {
|
|
|
1246
1522
|
follow_count: number;
|
|
1247
1523
|
freeze: boolean;
|
|
1248
1524
|
has_sub_group: boolean;
|
|
1249
|
-
id:
|
|
1525
|
+
id: string;
|
|
1250
1526
|
member_count: number;
|
|
1251
1527
|
name: string;
|
|
1252
1528
|
path: string;
|
|
1253
1529
|
pinned: boolean;
|
|
1254
1530
|
pinned_time: string;
|
|
1531
|
+
readme_repo_path: string;
|
|
1255
1532
|
remark: string;
|
|
1256
1533
|
site: string;
|
|
1257
1534
|
|
|
@@ -1297,7 +1574,9 @@ type DtoPackage = {
|
|
|
1297
1574
|
recent_pull_count: number;
|
|
1298
1575
|
};
|
|
1299
1576
|
type DtoPackageDetail = {
|
|
1577
|
+
cargo: DtoCommonRegistryPackageDetail;
|
|
1300
1578
|
composer: DtoCommonRegistryPackageDetail;
|
|
1579
|
+
conan: DtoCommonRegistryPackageDetail;
|
|
1301
1580
|
docker: DtoContainerPackageDetail;
|
|
1302
1581
|
docker_model: DtoDockerModelPackageDetail;
|
|
1303
1582
|
helm: DtoChartPackageDetail;
|
|
@@ -1307,10 +1586,50 @@ type DtoPackageDetail = {
|
|
|
1307
1586
|
ohpm: DtoCommonRegistryPackageDetail;
|
|
1308
1587
|
pypi: DtoCommonRegistryPackageDetail;
|
|
1309
1588
|
};
|
|
1310
|
-
type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget";
|
|
1589
|
+
type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget" | "conan" | "cargo";
|
|
1590
|
+
type DtoProcessingConfig = {
|
|
1591
|
+
chunk_overlap: number;
|
|
1592
|
+
chunk_size: number;
|
|
1593
|
+
text_separator: string;
|
|
1594
|
+
};
|
|
1595
|
+
type DtoPyPiMetaData = {
|
|
1596
|
+
author: string;
|
|
1597
|
+
home_page: string;
|
|
1598
|
+
license_url: string;
|
|
1599
|
+
minimum_stability: string;
|
|
1600
|
+
package_name: string;
|
|
1601
|
+
package_tag: string;
|
|
1602
|
+
package_type: string;
|
|
1603
|
+
readme: string;
|
|
1604
|
+
repository_url: string;
|
|
1605
|
+
};
|
|
1606
|
+
type DtoPyPiRegistryTagDetail = {
|
|
1607
|
+
address: string;
|
|
1608
|
+
dependencies: DtoDependency[];
|
|
1609
|
+
desc: string;
|
|
1610
|
+
files: DtoFile[];
|
|
1611
|
+
last_pusher: DtoLastPusher;
|
|
1612
|
+
metadata: DtoPyPiMetaData;
|
|
1613
|
+
package: string;
|
|
1614
|
+
pull_count: number;
|
|
1615
|
+
recent_pull_count: number;
|
|
1616
|
+
size: number;
|
|
1617
|
+
slug: string;
|
|
1618
|
+
status: string;
|
|
1619
|
+
tag: string;
|
|
1620
|
+
tags: DtoCommonRegistryTag[];
|
|
1621
|
+
};
|
|
1311
1622
|
type DtoQueryKnowledgeBaseReq = {
|
|
1623
|
+
/**元数据过滤条件*/
|
|
1624
|
+
metadata_filtering_conditions: any;
|
|
1625
|
+
|
|
1626
|
+
/**查询语句*/
|
|
1312
1627
|
query: string;
|
|
1628
|
+
|
|
1629
|
+
/**分数阈值*/
|
|
1313
1630
|
score_threshold: number;
|
|
1631
|
+
|
|
1632
|
+
/**返回结果的数量*/
|
|
1314
1633
|
top_k: number;
|
|
1315
1634
|
};
|
|
1316
1635
|
type DtoQueryKnowledgeBaseRes = {
|
|
@@ -1318,22 +1637,27 @@ type DtoQueryKnowledgeBaseRes = {
|
|
|
1318
1637
|
metadata: any;
|
|
1319
1638
|
score: number;
|
|
1320
1639
|
};
|
|
1321
|
-
type
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1640
|
+
type DtoRegistry4User = {
|
|
1641
|
+
access: any;
|
|
1642
|
+
artifact_policy: "all" | "snapshot" | "release";
|
|
1643
|
+
created_at: string;
|
|
1644
|
+
description: string;
|
|
1645
|
+
freeze: boolean;
|
|
1646
|
+
id: string;
|
|
1647
|
+
kind: string;
|
|
1648
|
+
last_push_time: string;
|
|
1649
|
+
last_push_user: DtoUsers;
|
|
1650
|
+
name: string;
|
|
1651
|
+
overwrite_policy: "forbid" | "allow";
|
|
1652
|
+
path: string;
|
|
1653
|
+
pinned: boolean;
|
|
1654
|
+
pinned_time: string;
|
|
1655
|
+
pkg_count: number;
|
|
1656
|
+
star_time: string;
|
|
1657
|
+
stared: boolean;
|
|
1658
|
+
updated_at: string;
|
|
1659
|
+
used_size: number;
|
|
1660
|
+
visibility_level: ConstantVisibility;
|
|
1337
1661
|
};
|
|
1338
1662
|
type DtoRepoPatch = {
|
|
1339
1663
|
description: string;
|
|
@@ -1341,6 +1665,37 @@ type DtoRepoPatch = {
|
|
|
1341
1665
|
site: string;
|
|
1342
1666
|
topics: string[];
|
|
1343
1667
|
};
|
|
1668
|
+
type DtoRepoSecurityOverview = {
|
|
1669
|
+
code_issue: DtoCodeIssueSummary;
|
|
1670
|
+
code_sensitive: DtoCodeSensitiveSummary;
|
|
1671
|
+
code_vulnerability: DtoCodeVulOverview;
|
|
1672
|
+
risk_cnt: DtoRepoSecurityRiskCnt;
|
|
1673
|
+
};
|
|
1674
|
+
type DtoRepoSecurityRiskCnt = {
|
|
1675
|
+
/**是否开启源码扫描*/
|
|
1676
|
+
code_issue_enable: boolean;
|
|
1677
|
+
|
|
1678
|
+
/**源码扫描风险数量 (严重+高风险)*/
|
|
1679
|
+
code_issue_risk_cnt: number;
|
|
1680
|
+
|
|
1681
|
+
/**是否开启代码敏感信息扫描*/
|
|
1682
|
+
code_sensitive_enable: boolean;
|
|
1683
|
+
|
|
1684
|
+
/**敏感信息风险数量(高风险)*/
|
|
1685
|
+
code_sensitive_risk_cnt: number;
|
|
1686
|
+
|
|
1687
|
+
/**是否开启代码漏洞扫描*/
|
|
1688
|
+
code_vulnerability_enable: boolean;
|
|
1689
|
+
|
|
1690
|
+
/**代码漏洞风险数量(严重+高风险)*/
|
|
1691
|
+
code_vulnerability_risk_cnt: number;
|
|
1692
|
+
|
|
1693
|
+
/**是否开启安全模块*/
|
|
1694
|
+
enable: boolean;
|
|
1695
|
+
|
|
1696
|
+
/**总计数*/
|
|
1697
|
+
total: number;
|
|
1698
|
+
};
|
|
1344
1699
|
type DtoRepoStarUsers = {
|
|
1345
1700
|
my_follow_count: number;
|
|
1346
1701
|
total: number;
|
|
@@ -1517,7 +1872,9 @@ type DtoStartWorkspaceResult = {
|
|
|
1517
1872
|
url: string;
|
|
1518
1873
|
};
|
|
1519
1874
|
type DtoTag = {
|
|
1875
|
+
cargo: DtoCommonRegistryTag[];
|
|
1520
1876
|
composer: DtoCommonRegistryTag[];
|
|
1877
|
+
conan: DtoCommonRegistryTag[];
|
|
1521
1878
|
docker: DtoContainerTag[];
|
|
1522
1879
|
docker_model: DtoDockerModelTag[];
|
|
1523
1880
|
helm: DtoChartTag[];
|
|
@@ -1529,7 +1886,9 @@ type DtoTag = {
|
|
|
1529
1886
|
pypi: DtoCommonRegistryTag[];
|
|
1530
1887
|
};
|
|
1531
1888
|
type DtoTagDetail = {
|
|
1889
|
+
cargo: DtoCommonRegistryTagDetail;
|
|
1532
1890
|
composer: DtoCommonRegistryTagDetail;
|
|
1891
|
+
conan: DtoConanRegistryTagDetail;
|
|
1533
1892
|
docker: DtoContainerTagDetail;
|
|
1534
1893
|
docker_model: DtoDockerModelTagDetail;
|
|
1535
1894
|
helm: DtoChartTagDetail;
|
|
@@ -1537,7 +1896,7 @@ type DtoTagDetail = {
|
|
|
1537
1896
|
npm: DtoCommonRegistryTagDetail;
|
|
1538
1897
|
nuget: DtoCommonRegistryTagDetail;
|
|
1539
1898
|
ohpm: DtoCommonRegistryTagDetail;
|
|
1540
|
-
pypi:
|
|
1899
|
+
pypi: DtoPyPiRegistryTagDetail;
|
|
1541
1900
|
};
|
|
1542
1901
|
type DtoTransferSlugReq = {
|
|
1543
1902
|
source: string;
|
|
@@ -1547,6 +1906,8 @@ type DtoUpdateGroupReq = {
|
|
|
1547
1906
|
description: string;
|
|
1548
1907
|
domain: string;
|
|
1549
1908
|
email: string;
|
|
1909
|
+
readme_repo_id: number;
|
|
1910
|
+
readme_repo_path: string;
|
|
1550
1911
|
remark: string;
|
|
1551
1912
|
site: string;
|
|
1552
1913
|
wechat_mp: string;
|
|
@@ -1562,6 +1923,8 @@ type DtoUpdateUserInfoPayload = {
|
|
|
1562
1923
|
location: string;
|
|
1563
1924
|
name: string;
|
|
1564
1925
|
nickname: string;
|
|
1926
|
+
readme_repo_id: number;
|
|
1927
|
+
readme_repo_path: string;
|
|
1565
1928
|
site: string;
|
|
1566
1929
|
wechat_mp: string;
|
|
1567
1930
|
wechat_mp_qrcode: string;
|
|
@@ -1601,6 +1964,7 @@ type DtoUploadBadgeResult = {
|
|
|
1601
1964
|
url: string;
|
|
1602
1965
|
};
|
|
1603
1966
|
type DtoUploadRequestParams = {
|
|
1967
|
+
ext: any;
|
|
1604
1968
|
name: string;
|
|
1605
1969
|
size: number;
|
|
1606
1970
|
};
|
|
@@ -1655,6 +2019,10 @@ type DtoUsersResult = {
|
|
|
1655
2019
|
locked: boolean;
|
|
1656
2020
|
mission_count: number;
|
|
1657
2021
|
nickname: string;
|
|
2022
|
+
public_mission_count: number;
|
|
2023
|
+
public_registry_count: number;
|
|
2024
|
+
public_repo_count: number;
|
|
2025
|
+
readme_repo_path: string;
|
|
1658
2026
|
registry_count: number;
|
|
1659
2027
|
repo_count: number;
|
|
1660
2028
|
reward_amount: number;
|
|
@@ -1674,6 +2042,7 @@ type DtoUsersResult = {
|
|
|
1674
2042
|
};
|
|
1675
2043
|
type DtoUsersResultForSelf = {
|
|
1676
2044
|
address: string;
|
|
2045
|
+
appearance: string;
|
|
1677
2046
|
|
|
1678
2047
|
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
1679
2048
|
appreciate_status: number;
|
|
@@ -1699,6 +2068,10 @@ type DtoUsersResultForSelf = {
|
|
|
1699
2068
|
mission_count: number;
|
|
1700
2069
|
next_updated_name_at: string;
|
|
1701
2070
|
nickname: string;
|
|
2071
|
+
public_mission_count: number;
|
|
2072
|
+
public_registry_count: number;
|
|
2073
|
+
public_repo_count: number;
|
|
2074
|
+
readme_repo_path: string;
|
|
1702
2075
|
registry_count: number;
|
|
1703
2076
|
repo_count: number;
|
|
1704
2077
|
reward_amount: number;
|
|
@@ -1740,8 +2113,11 @@ type DtoUsersWithAccessLevelInSlug = {
|
|
|
1740
2113
|
verified_expire_in: string;
|
|
1741
2114
|
};
|
|
1742
2115
|
type DtoWorkspaceDeleteReq = {
|
|
1743
|
-
|
|
2116
|
+
/**表示要删除的开发环境流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
1744
2117
|
pipelineId: string;
|
|
2118
|
+
|
|
2119
|
+
/**表示要删除的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2120
|
+
sn: string;
|
|
1745
2121
|
};
|
|
1746
2122
|
type DtoWorkspaceDeleteResult = {
|
|
1747
2123
|
/**返回码,0 表示成功,1 表示失败*/
|
|
@@ -1843,18 +2219,45 @@ type DtoWorkspaceListResult = {
|
|
|
1843
2219
|
/**总数*/
|
|
1844
2220
|
total: number;
|
|
1845
2221
|
};
|
|
1846
|
-
type
|
|
2222
|
+
type DtoWorkspaceStopReq = {
|
|
2223
|
+
/**表示要停止的开发环境的流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2224
|
+
pipelineId: string;
|
|
2225
|
+
|
|
2226
|
+
/**表示要停止的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2227
|
+
sn: string;
|
|
2228
|
+
};
|
|
2229
|
+
type DtoWorkspaceStopResult = {
|
|
2230
|
+
/**表示停止的开发环境流水线日志地址*/
|
|
2231
|
+
buildLogUrl: string;
|
|
2232
|
+
|
|
2233
|
+
/**表示操作结果提示信息*/
|
|
2234
|
+
message: string;
|
|
2235
|
+
|
|
2236
|
+
/**表示停止的开发环境流水线构建号*/
|
|
2237
|
+
sn: string;
|
|
2238
|
+
};
|
|
2239
|
+
type FlagsRepo = "Unknown" | "KnowledgeBase" | "HideRank";
|
|
2240
|
+
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus = {
|
|
2241
|
+
context: string;
|
|
2242
|
+
created_at: string;
|
|
2243
|
+
description: string;
|
|
2244
|
+
state: string;
|
|
2245
|
+
target_url: string;
|
|
2246
|
+
updated_at: string;
|
|
2247
|
+
};
|
|
1847
2248
|
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo = {
|
|
1848
2249
|
email: string;
|
|
1849
2250
|
freeze: boolean;
|
|
1850
2251
|
nickname: string;
|
|
1851
2252
|
username: string;
|
|
1852
2253
|
};
|
|
1853
|
-
type
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
2254
|
+
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus = {
|
|
2255
|
+
context: string;
|
|
2256
|
+
created_at: string;
|
|
2257
|
+
description: string;
|
|
2258
|
+
state: string;
|
|
2259
|
+
target_url: string;
|
|
2260
|
+
updated_at: string;
|
|
1858
2261
|
};
|
|
1859
2262
|
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo = {
|
|
1860
2263
|
nickname: string;
|
|
@@ -1911,7 +2314,7 @@ type OpenapiPutTagAnnotation = {
|
|
|
1911
2314
|
type OpenapiPutTagAnnotationsForm = {
|
|
1912
2315
|
annotations: OpenapiPutTagAnnotation[];
|
|
1913
2316
|
};
|
|
1914
|
-
type OrganizationSettingValue =
|
|
2317
|
+
type OrganizationSettingValue = "disable_organization_readme" | "cloud_native_dev_only" | "user_root_group_branch_protection_only" | "forbid_redefine_branch_protection" | "enable_tapd_access" | "enable_show_private_mission_water_mark" | "prevent_organization_creation" | "prevent_repository_creation" | "prevent_mission_creation" | "prevent_registry_creation" | "disable_invitation" | "prevent_visibility_modification" | "prevent_resource_deletion" | "prevent_repository_archival" | "prevent_organization_transfer" | "prevent_repository_transfer" | "prevent_mission_transfer" | "prevent_registry_transfer" | "use_group_git_quota" | "use_group_git_object_limit" | "enable_add_member" | "use_root_group_git_push_limit";
|
|
1915
2318
|
type WebCommitAnnotation = {
|
|
1916
2319
|
key: string;
|
|
1917
2320
|
meta: any;
|
|
@@ -1921,19 +2324,6 @@ type WebCommitAnnotationInBatch = {
|
|
|
1921
2324
|
annotations: WebCommitAnnotation[];
|
|
1922
2325
|
commit_hash: string;
|
|
1923
2326
|
};
|
|
1924
|
-
type WebCommitStatus = {
|
|
1925
|
-
context: string;
|
|
1926
|
-
created_at: string;
|
|
1927
|
-
description: string;
|
|
1928
|
-
state: string;
|
|
1929
|
-
target_url: string;
|
|
1930
|
-
updated_at: string;
|
|
1931
|
-
};
|
|
1932
|
-
type WebCommitStatuses = {
|
|
1933
|
-
sha: string;
|
|
1934
|
-
state: string;
|
|
1935
|
-
statuses: WebCommitStatus[];
|
|
1936
|
-
};
|
|
1937
2327
|
type WebContributorTrend = {
|
|
1938
2328
|
/**贡献者信息*/
|
|
1939
2329
|
author: any;
|
|
@@ -1944,14 +2334,6 @@ type WebContributorTrend = {
|
|
|
1944
2334
|
/**贡献者以周为单位的提交趋势数据*/
|
|
1945
2335
|
weeks: WebWeek[];
|
|
1946
2336
|
};
|
|
1947
|
-
type WebDeferredCommit = {
|
|
1948
|
-
oid: string;
|
|
1949
|
-
signature_information: WebSignatureInformation;
|
|
1950
|
-
status_check_statuses: WebCommitStatuses;
|
|
1951
|
-
|
|
1952
|
-
/**one of `verified`, `unverified`, `unsigned`*/
|
|
1953
|
-
verified_status: string;
|
|
1954
|
-
};
|
|
1955
2337
|
type WebGetCommitAnnotationsInBatchForm = {
|
|
1956
2338
|
commit_hashes: string[];
|
|
1957
2339
|
keys: string[];
|
|
@@ -1975,17 +2357,6 @@ type WebRepoContribTrend = {
|
|
|
1975
2357
|
/**是否统计增删的行数, 默认总提交超过 10000 的仓库不统计*/
|
|
1976
2358
|
with_line_counts: boolean;
|
|
1977
2359
|
};
|
|
1978
|
-
type WebSignatureInformation = {
|
|
1979
|
-
has_signature: boolean;
|
|
1980
|
-
key_expired: boolean;
|
|
1981
|
-
key_id: string;
|
|
1982
|
-
signature_type: string;
|
|
1983
|
-
signature_verification_reason: string;
|
|
1984
|
-
signed_by_cnb: boolean;
|
|
1985
|
-
signer: GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo;
|
|
1986
|
-
verified: boolean;
|
|
1987
|
-
verified_at: string;
|
|
1988
|
-
};
|
|
1989
2360
|
type WebTagAnnotation = {
|
|
1990
2361
|
key: string;
|
|
1991
2362
|
meta: any;
|
|
@@ -2004,16 +2375,12 @@ type WebWeek = {
|
|
|
2004
2375
|
/**周的时间戳*/
|
|
2005
2376
|
w: number;
|
|
2006
2377
|
};
|
|
2007
|
-
type WebapiCherryPickPullRequestForm = {
|
|
2008
|
-
create_pr: boolean;
|
|
2009
|
-
target_branch: string;
|
|
2010
|
-
};
|
|
2011
|
-
type WebapiRevertPullRequestForm = {
|
|
2012
|
-
create_pr: boolean;
|
|
2013
|
-
target_branch: string;
|
|
2014
|
-
};
|
|
2015
2378
|
//#endregion
|
|
2016
2379
|
//#region src/client.d.ts
|
|
2380
|
+
type Event_GetEvents = (params: {
|
|
2381
|
+
repo: string;
|
|
2382
|
+
date: string;
|
|
2383
|
+
}) => Promise<any>;
|
|
2017
2384
|
type Organizations_CreateOrganization = (params: {
|
|
2018
2385
|
request: DtoCreateGroupReq;
|
|
2019
2386
|
}) => Promise<any>;
|
|
@@ -2030,6 +2397,11 @@ type Users_AutoCompleteSource = (params?: {
|
|
|
2030
2397
|
order_by?: "created_at" | "slug_path";
|
|
2031
2398
|
desc?: boolean;
|
|
2032
2399
|
}) => Promise<string[]>;
|
|
2400
|
+
type Users_ListGPGKeys = (params?: {
|
|
2401
|
+
page?: number;
|
|
2402
|
+
page_size?: number;
|
|
2403
|
+
keyword?: string;
|
|
2404
|
+
}) => Promise<any>;
|
|
2033
2405
|
type Organizations_ListTopGroups = (params?: {
|
|
2034
2406
|
page?: number;
|
|
2035
2407
|
page_size?: number;
|
|
@@ -2037,7 +2409,7 @@ type Organizations_ListTopGroups = (params?: {
|
|
|
2037
2409
|
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
2038
2410
|
}) => Promise<DtoOrganizationAccess[]>;
|
|
2039
2411
|
type Organizations_ListGroups = (params: {
|
|
2040
|
-
|
|
2412
|
+
slug: string;
|
|
2041
2413
|
page?: number;
|
|
2042
2414
|
page_size?: number;
|
|
2043
2415
|
access?: number;
|
|
@@ -2053,12 +2425,12 @@ type Repositories_GetRepos = (params?: {
|
|
|
2053
2425
|
order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
|
|
2054
2426
|
desc?: boolean;
|
|
2055
2427
|
}) => Promise<DtoRepos4User[]>;
|
|
2056
|
-
type
|
|
2428
|
+
type Starring_GetUserAllStaredRepos = (params?: {
|
|
2057
2429
|
page?: number;
|
|
2058
2430
|
page_size?: number;
|
|
2059
2431
|
search?: string;
|
|
2060
2432
|
desc?: boolean;
|
|
2061
|
-
order_by?: "created_at" | "last_updated_at" | "stars" | "forks";
|
|
2433
|
+
order_by?: "created_at" | "last_updated_at" | "stared_time" | "stars" | "forks";
|
|
2062
2434
|
}) => Promise<DtoRepos4User[]>;
|
|
2063
2435
|
type Users_GetUserInfoByName = (params: {
|
|
2064
2436
|
username: string;
|
|
@@ -2082,8 +2454,6 @@ type Organizations_GetGroupsByUserID = (params: {
|
|
|
2082
2454
|
search?: string;
|
|
2083
2455
|
page?: number;
|
|
2084
2456
|
page_size?: number;
|
|
2085
|
-
desc?: boolean;
|
|
2086
|
-
order_by?: "join_time" | "created_at";
|
|
2087
2457
|
}) => Promise<DtoOrganizationUnion>;
|
|
2088
2458
|
type Repositories_GetPinnedRepoByID = (params: {
|
|
2089
2459
|
username: string;
|
|
@@ -2097,6 +2467,9 @@ type Activities_GetUserRepoActivityDetails = (params: {
|
|
|
2097
2467
|
type Repositories_GetReposByUserName = (params: {
|
|
2098
2468
|
username: string;
|
|
2099
2469
|
search?: string;
|
|
2470
|
+
filter_type?: "private" | "public" | "secret";
|
|
2471
|
+
flags?: "KnowledgeBase";
|
|
2472
|
+
status?: "active" | "archived";
|
|
2100
2473
|
role?: "Reporter" | "Developer" | "Master" | "Owner";
|
|
2101
2474
|
page?: number;
|
|
2102
2475
|
page_size?: number;
|
|
@@ -2123,10 +2496,9 @@ type Workspace_ListWorkspaces = (params?: {
|
|
|
2123
2496
|
start?: string;
|
|
2124
2497
|
status?: string;
|
|
2125
2498
|
}) => Promise<DtoWorkspaceListResult>;
|
|
2126
|
-
type
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
}) => Promise<any>;
|
|
2499
|
+
type Workspace_WorkspaceStop = (params: {
|
|
2500
|
+
request: DtoWorkspaceStopReq;
|
|
2501
|
+
}) => Promise<DtoWorkspaceStopResult>;
|
|
2130
2502
|
type Organizations_GetGroup = (params: {
|
|
2131
2503
|
group: string;
|
|
2132
2504
|
}) => Promise<DtoOrganizationAccess>;
|
|
@@ -2134,6 +2506,10 @@ type Organizations_UpdateOrganization = (params: {
|
|
|
2134
2506
|
group: string;
|
|
2135
2507
|
request: DtoUpdateGroupReq;
|
|
2136
2508
|
}) => Promise<any>;
|
|
2509
|
+
type Organizations_DeleteOrganization = (params: {
|
|
2510
|
+
group: string;
|
|
2511
|
+
"x-cnb-identity-ticket"?: string;
|
|
2512
|
+
}) => Promise<any>;
|
|
2137
2513
|
type Collaborators_ListInheritMembersOfGroup = (params: {
|
|
2138
2514
|
group: string;
|
|
2139
2515
|
search?: string;
|
|
@@ -2156,63 +2532,25 @@ type Contributors_ListMemberAccessLevelOfGroup = (params: {
|
|
|
2156
2532
|
group: string;
|
|
2157
2533
|
username: string;
|
|
2158
2534
|
}) => Promise<DtoMemberAccessLevel[]>;
|
|
2159
|
-
type
|
|
2535
|
+
type Collaborators_UpdateMembersOfGroup = (params: {
|
|
2160
2536
|
group: string;
|
|
2161
2537
|
username: string;
|
|
2538
|
+
request: DtoUpdateMembersRequest;
|
|
2162
2539
|
}) => Promise<any>;
|
|
2163
2540
|
type Collaborators_AddMembersOfGroup = (params: {
|
|
2164
2541
|
group: string;
|
|
2165
2542
|
username: string;
|
|
2166
2543
|
request: DtoUpdateMembersRequest;
|
|
2167
2544
|
}) => Promise<any>;
|
|
2168
|
-
type
|
|
2545
|
+
type Collaborators_DeleteMembersOfGroup = (params: {
|
|
2169
2546
|
group: string;
|
|
2170
2547
|
username: string;
|
|
2171
|
-
request: DtoUpdateMembersRequest;
|
|
2172
|
-
}) => Promise<any>;
|
|
2173
|
-
type Missions_CreateMission = (params: {
|
|
2174
|
-
group: string;
|
|
2175
|
-
request: DtoCreateMissionReq;
|
|
2176
|
-
}) => Promise<any>;
|
|
2177
|
-
type Repositories_GetPinnedRepoByGroup = (params: {
|
|
2178
|
-
group: string;
|
|
2179
|
-
}) => Promise<DtoRepos4UserBase[]>;
|
|
2180
|
-
type Repositories_SetPinnedRepoByGroup = (params: {
|
|
2181
|
-
group: string;
|
|
2182
|
-
request: string[];
|
|
2183
|
-
}) => Promise<DtoRepos4UserBase[]>;
|
|
2184
|
-
type Repositories_GetGroupSubRepos = (params: {
|
|
2185
|
-
group: string;
|
|
2186
|
-
page?: number;
|
|
2187
|
-
page_size?: number;
|
|
2188
|
-
filter_type?: "private" | "public" | "secret";
|
|
2189
|
-
order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path";
|
|
2190
|
-
desc?: boolean;
|
|
2191
|
-
descendant?: "all" | "sub" | "grand";
|
|
2192
|
-
search?: string;
|
|
2193
|
-
}) => Promise<DtoRepos4User[]>;
|
|
2194
|
-
type Repositories_CreateRepo = (params: {
|
|
2195
|
-
group: string;
|
|
2196
|
-
request: DtoCreateRepoReq;
|
|
2197
|
-
}) => Promise<any>;
|
|
2198
|
-
type Organizations_GetGroupSetting = (params: {
|
|
2199
|
-
group: string;
|
|
2200
|
-
}) => Promise<DtoOrganizationSettingWithParent>;
|
|
2201
|
-
type Organizations_UpdateGroupSetting = (params: {
|
|
2202
|
-
group: string;
|
|
2203
|
-
request: DtoGroupSettingReq;
|
|
2204
2548
|
}) => Promise<any>;
|
|
2205
|
-
type Organizations_ListSubgroups = (params: {
|
|
2206
|
-
group: string;
|
|
2207
|
-
search?: string;
|
|
2208
|
-
page: number;
|
|
2209
|
-
page_size: number;
|
|
2210
|
-
}) => Promise<DtoOrganizationUnion[]>;
|
|
2211
2549
|
type Organizations_TransferGroup = (params: {
|
|
2212
2550
|
group: string;
|
|
2213
2551
|
request: DtoTransferSlugReq;
|
|
2214
2552
|
}) => Promise<any>;
|
|
2215
|
-
type
|
|
2553
|
+
type Organizations_UploadLogos = (params: {
|
|
2216
2554
|
group: string;
|
|
2217
2555
|
request: DtoUploadRequestParams;
|
|
2218
2556
|
}) => Promise<DtoUploadAssetsResponse>;
|
|
@@ -2236,15 +2574,19 @@ type Missions_PostMissionViewConfig = (params: {
|
|
|
2236
2574
|
type Missions_GetMissionViewList = (params: {
|
|
2237
2575
|
mission: string;
|
|
2238
2576
|
}) => Promise<DtoMissionView[]>;
|
|
2577
|
+
type Missions_PutMissionViewList = (params: {
|
|
2578
|
+
mission: string;
|
|
2579
|
+
request: DtoMissionView;
|
|
2580
|
+
}) => Promise<any>;
|
|
2239
2581
|
type Missions_PostMissionViewList = (params: {
|
|
2240
2582
|
mission: string;
|
|
2241
2583
|
request: DtoMissionPostViewReq;
|
|
2242
2584
|
}) => Promise<any>;
|
|
2243
|
-
type
|
|
2585
|
+
type Missions_SetMissionVisibility = (params: {
|
|
2244
2586
|
mission: string;
|
|
2245
|
-
|
|
2587
|
+
visibility: "Private" | "Public";
|
|
2246
2588
|
}) => Promise<any>;
|
|
2247
|
-
type
|
|
2589
|
+
type Registries_DeleteRegistry = (params: {
|
|
2248
2590
|
registry: string;
|
|
2249
2591
|
"x-cnb-identity-ticket"?: string;
|
|
2250
2592
|
}) => Promise<any>;
|
|
@@ -2253,25 +2595,43 @@ type Collaborators_AddMembersOfRegistry = (params: {
|
|
|
2253
2595
|
username: string;
|
|
2254
2596
|
request: DtoUpdateMembersRequest;
|
|
2255
2597
|
}) => Promise<any>;
|
|
2256
|
-
type
|
|
2257
|
-
|
|
2258
|
-
"
|
|
2598
|
+
type Registries_SetRegistryVisibility = (params: {
|
|
2599
|
+
registry: string;
|
|
2600
|
+
visibility: "Private" | "Public";
|
|
2259
2601
|
}) => Promise<any>;
|
|
2260
2602
|
type Repositories_GetByID = (params: {
|
|
2261
2603
|
repo: string;
|
|
2262
2604
|
}) => Promise<DtoRepos4User>;
|
|
2605
|
+
type Repositories_DeleteRepo = (params: {
|
|
2606
|
+
repo: string;
|
|
2607
|
+
"x-cnb-identity-ticket"?: string;
|
|
2608
|
+
}) => Promise<any>;
|
|
2263
2609
|
type Repositories_UpdateRepo = (params: {
|
|
2264
2610
|
repo: string;
|
|
2265
2611
|
request: DtoRepoPatch;
|
|
2266
2612
|
}) => Promise<any>;
|
|
2267
|
-
type
|
|
2613
|
+
type AI_AiChatCompletions = (params: {
|
|
2268
2614
|
repo: string;
|
|
2269
2615
|
request: DtoAiChatCompletionsReq;
|
|
2270
2616
|
}) => Promise<DtoAiChatCompletionsResult>;
|
|
2617
|
+
type Badge_GetBadge = (params: {
|
|
2618
|
+
repo: string;
|
|
2619
|
+
sha: string;
|
|
2620
|
+
badge: string;
|
|
2621
|
+
request: DtoGetBadgeReq;
|
|
2622
|
+
}) => Promise<DtoGetBadgeResult>;
|
|
2623
|
+
type Badge_ListBadge = (params: {
|
|
2624
|
+
repo: string;
|
|
2625
|
+
request: DtoListBadgeReq;
|
|
2626
|
+
}) => Promise<DtoListBadgeResult>;
|
|
2271
2627
|
type Badge_UploadBadge = (params: {
|
|
2272
2628
|
repo: string;
|
|
2273
2629
|
request: DtoUploadBadgeReq;
|
|
2274
2630
|
}) => Promise<DtoUploadBadgeResult>;
|
|
2631
|
+
type AI_AiAutoPr = (params: {
|
|
2632
|
+
repo: string;
|
|
2633
|
+
request: DtoAiAutoPrReq;
|
|
2634
|
+
}) => Promise<DtoAiAutoPrResult>;
|
|
2275
2635
|
type Build_GetBuildLogs = (params: {
|
|
2276
2636
|
repo: string;
|
|
2277
2637
|
createTime?: string;
|
|
@@ -2293,6 +2653,10 @@ type Build_GetBuildStage = (params: {
|
|
|
2293
2653
|
pipelineId: string;
|
|
2294
2654
|
stageId: string;
|
|
2295
2655
|
}) => Promise<DtoBuildStageResult>;
|
|
2656
|
+
type Build_BuildLogsDelete = (params: {
|
|
2657
|
+
repo: string;
|
|
2658
|
+
sn: string;
|
|
2659
|
+
}) => Promise<DtoBuildLogsDeleteResult>;
|
|
2296
2660
|
type Build_BuildRunnerDownloadLog = (params: {
|
|
2297
2661
|
repo: string;
|
|
2298
2662
|
pipelineId: string;
|
|
@@ -2315,29 +2679,24 @@ type Assets_GetCommitAssets = (params: {
|
|
|
2315
2679
|
filename: string;
|
|
2316
2680
|
share?: boolean;
|
|
2317
2681
|
}) => Promise<any>;
|
|
2318
|
-
type RepoContributor_GetRepoContributorTrend = (params: {
|
|
2319
|
-
repo: string;
|
|
2320
|
-
limit?: number;
|
|
2321
|
-
exclude_external_users?: boolean;
|
|
2322
|
-
}) => Promise<WebRepoContribTrend>;
|
|
2323
2682
|
type Repositories_ListForksRepos = (params: {
|
|
2324
2683
|
repo: string;
|
|
2325
2684
|
start_from_root?: boolean;
|
|
2326
|
-
page
|
|
2327
|
-
page_size
|
|
2685
|
+
page?: number;
|
|
2686
|
+
page_size?: number;
|
|
2328
2687
|
}) => Promise<DtoListForks>;
|
|
2329
|
-
type Repositories_CreateAFork = (params: {
|
|
2330
|
-
repo: string;
|
|
2331
|
-
request: DtoForkReq;
|
|
2332
|
-
}) => Promise<any>;
|
|
2333
2688
|
type Git_GetArchiveCommitChangedFiles = (params: {
|
|
2334
2689
|
repo: string;
|
|
2335
|
-
sha1
|
|
2690
|
+
sha1: string;
|
|
2336
2691
|
}) => Promise<any>;
|
|
2337
2692
|
type Git_GetArchiveCompareChangedFiles = (params: {
|
|
2338
2693
|
repo: string;
|
|
2339
2694
|
base_head: string;
|
|
2340
2695
|
}) => Promise<any>;
|
|
2696
|
+
type Git_GetArchive = (params: {
|
|
2697
|
+
repo: string;
|
|
2698
|
+
ref_with_path: string;
|
|
2699
|
+
}) => Promise<any>;
|
|
2341
2700
|
type Git_CreateBlob = (params: {
|
|
2342
2701
|
repo: string;
|
|
2343
2702
|
post_blob_form: ApiPostBlobForm;
|
|
@@ -2351,14 +2710,14 @@ type Git_CreateBranch = (params: {
|
|
|
2351
2710
|
repo: string;
|
|
2352
2711
|
create_branch_form: OpenapiCreateBranchForm;
|
|
2353
2712
|
}) => Promise<any>;
|
|
2713
|
+
type Git_GetBranch = (params: {
|
|
2714
|
+
repo: string;
|
|
2715
|
+
branch: string;
|
|
2716
|
+
}) => Promise<ApiBranchDetail>;
|
|
2354
2717
|
type Git_DeleteBranch = (params: {
|
|
2355
2718
|
repo: string;
|
|
2356
2719
|
branch: string;
|
|
2357
2720
|
}) => Promise<any>;
|
|
2358
|
-
type Git_GetBranch = (params: {
|
|
2359
|
-
repo: string;
|
|
2360
|
-
branch?: string;
|
|
2361
|
-
}) => Promise<ApiBranchDetail>;
|
|
2362
2721
|
type Git_GetCommitAnnotationsInBatch = (params: {
|
|
2363
2722
|
repo: string;
|
|
2364
2723
|
get_commit_annotations_form: WebGetCommitAnnotationsInBatchForm;
|
|
@@ -2400,7 +2759,7 @@ type Git_DeleteCommitAsset = (params: {
|
|
|
2400
2759
|
type Git_GetCommitStatuses = (params: {
|
|
2401
2760
|
repo: string;
|
|
2402
2761
|
commitish: string;
|
|
2403
|
-
}) => Promise<
|
|
2762
|
+
}) => Promise<GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus[]>;
|
|
2404
2763
|
type Git_ListCommits = (params: {
|
|
2405
2764
|
repo: string;
|
|
2406
2765
|
sha?: string;
|
|
@@ -2419,18 +2778,23 @@ type Git_GetCompareCommits = (params: {
|
|
|
2419
2778
|
repo: string;
|
|
2420
2779
|
base_head: string;
|
|
2421
2780
|
}) => Promise<ApiCompareResponse>;
|
|
2781
|
+
type Git_GetContentWithoutPath = (params: {
|
|
2782
|
+
repo: string;
|
|
2783
|
+
ref?: string;
|
|
2784
|
+
}) => Promise<ApiContent>;
|
|
2422
2785
|
type Git_GetContent = (params: {
|
|
2423
2786
|
repo: string;
|
|
2424
2787
|
file_path: string;
|
|
2425
2788
|
ref?: string;
|
|
2426
2789
|
}) => Promise<ApiContent>;
|
|
2427
|
-
type Git_ListDeferredCommits = (params: {
|
|
2428
|
-
repo: string;
|
|
2429
|
-
cs: string;
|
|
2430
|
-
}) => Promise<WebDeferredCommit[]>;
|
|
2431
2790
|
type Git_GetHead = (params: {
|
|
2432
2791
|
repo: string;
|
|
2433
2792
|
}) => Promise<OpenapiHeadRef>;
|
|
2793
|
+
type Git_GetRaw = (params: {
|
|
2794
|
+
repo: string;
|
|
2795
|
+
ref_with_path: string;
|
|
2796
|
+
max_in_byte?: number;
|
|
2797
|
+
}) => Promise<string>;
|
|
2434
2798
|
type Git_DeleteTagAnnotation = (params: {
|
|
2435
2799
|
repo: string;
|
|
2436
2800
|
tag_with_key: string;
|
|
@@ -2453,14 +2817,14 @@ type Git_CreateTag = (params: {
|
|
|
2453
2817
|
repo: string;
|
|
2454
2818
|
post_tag_form: ApiPostTagFrom;
|
|
2455
2819
|
}) => Promise<any>;
|
|
2456
|
-
type Git_DeleteTag = (params: {
|
|
2457
|
-
repo: string;
|
|
2458
|
-
tag: string;
|
|
2459
|
-
}) => Promise<any>;
|
|
2460
2820
|
type Git_GetTag = (params: {
|
|
2461
2821
|
repo: string;
|
|
2462
2822
|
tag: string;
|
|
2463
2823
|
}) => Promise<ApiTag>;
|
|
2824
|
+
type Git_DeleteTag = (params: {
|
|
2825
|
+
repo: string;
|
|
2826
|
+
tag: string;
|
|
2827
|
+
}) => Promise<any>;
|
|
2464
2828
|
type Collaborators_ListInheritMembersOfRepo = (params: {
|
|
2465
2829
|
repo: string;
|
|
2466
2830
|
search?: string;
|
|
@@ -2476,6 +2840,7 @@ type Issues_ListIssues = (params: {
|
|
|
2476
2840
|
keyword?: string;
|
|
2477
2841
|
priority?: string;
|
|
2478
2842
|
labels?: string;
|
|
2843
|
+
labels_operator?: string;
|
|
2479
2844
|
authors?: string;
|
|
2480
2845
|
assignees?: string;
|
|
2481
2846
|
updated_time_begin?: string;
|
|
@@ -2497,25 +2862,25 @@ type Issues_UpdateIssue = (params: {
|
|
|
2497
2862
|
number: number;
|
|
2498
2863
|
patch_issue_form: ApiPatchIssueForm;
|
|
2499
2864
|
}) => Promise<ApiIssueDetail>;
|
|
2865
|
+
type Issues_ListIssueAssignees = (params: {
|
|
2866
|
+
repo: string;
|
|
2867
|
+
number: string;
|
|
2868
|
+
}) => Promise<GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]>;
|
|
2869
|
+
type Issues_PostIssueAssignees = (params: {
|
|
2870
|
+
repo: string;
|
|
2871
|
+
number: string;
|
|
2872
|
+
post_issue_assignees_form: ApiPostIssueAssigneesForm;
|
|
2873
|
+
}) => Promise<any>;
|
|
2500
2874
|
type Issues_DeleteIssueAssignees = (params: {
|
|
2501
2875
|
repo: string;
|
|
2502
2876
|
number: string;
|
|
2503
2877
|
delete_issue_assignees_form: ApiDeleteIssueAssigneesForm;
|
|
2504
2878
|
}) => Promise<ApiIssueDetail>;
|
|
2505
|
-
type Issues_ListIssueAssignees = (params: {
|
|
2506
|
-
repo: string;
|
|
2507
|
-
number: string;
|
|
2508
|
-
}) => Promise<GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]>;
|
|
2509
2879
|
type Issues_PatchIssueAssignees = (params: {
|
|
2510
2880
|
repo: string;
|
|
2511
2881
|
number: string;
|
|
2512
2882
|
patch_issue_assignees_form: ApiPatchIssueAssigneesForm;
|
|
2513
2883
|
}) => Promise<ApiIssueDetail>;
|
|
2514
|
-
type Issues_PostIssueAssignees = (params: {
|
|
2515
|
-
repo: string;
|
|
2516
|
-
number: string;
|
|
2517
|
-
post_issue_assignees_form: ApiPostIssueAssigneesForm;
|
|
2518
|
-
}) => Promise<any>;
|
|
2519
2884
|
type Issues_CanUserBeAssignedToIssue = (params: {
|
|
2520
2885
|
repo: string;
|
|
2521
2886
|
number: string;
|
|
@@ -2543,37 +2908,37 @@ type Issues_PatchIssueComment = (params: {
|
|
|
2543
2908
|
comment_id: number;
|
|
2544
2909
|
patch_issue_comment_form: ApiPatchIssueCommentForm;
|
|
2545
2910
|
}) => Promise<ApiIssueComment>;
|
|
2546
|
-
type Issues_DeleteIssueLabels = (params: {
|
|
2547
|
-
repo: string;
|
|
2548
|
-
number: number;
|
|
2549
|
-
}) => Promise<any>;
|
|
2550
2911
|
type Issues_ListIssueLabels = (params: {
|
|
2551
2912
|
repo: string;
|
|
2552
2913
|
number: number;
|
|
2553
2914
|
page?: number;
|
|
2554
2915
|
page_size?: number;
|
|
2555
2916
|
}) => Promise<ApiLabel[]>;
|
|
2917
|
+
type Issues_PutIssueLabels = (params: {
|
|
2918
|
+
repo: string;
|
|
2919
|
+
number: number;
|
|
2920
|
+
put_issue_labels_form: ApiPutIssueLabelsForm;
|
|
2921
|
+
}) => Promise<ApiLabel>;
|
|
2556
2922
|
type Issues_PostIssueLabels = (params: {
|
|
2557
2923
|
repo: string;
|
|
2558
2924
|
number: number;
|
|
2559
2925
|
post_issue_labels_form: ApiPostIssueLabelsForm;
|
|
2560
2926
|
}) => Promise<ApiLabel>;
|
|
2561
|
-
type
|
|
2927
|
+
type Issues_DeleteIssueLabels = (params: {
|
|
2562
2928
|
repo: string;
|
|
2563
2929
|
number: number;
|
|
2564
|
-
|
|
2565
|
-
}) => Promise<ApiLabel>;
|
|
2930
|
+
}) => Promise<any>;
|
|
2566
2931
|
type Issues_DeleteIssueLabel = (params: {
|
|
2567
2932
|
repo: string;
|
|
2568
2933
|
number: number;
|
|
2569
2934
|
name: string;
|
|
2570
2935
|
}) => Promise<ApiLabel>;
|
|
2571
|
-
type KnowledgeBase_DeleteKnowledgeBase = (params: {
|
|
2572
|
-
repo: string;
|
|
2573
|
-
}) => Promise<any>;
|
|
2574
2936
|
type KnowledgeBase_GetKnowledgeBaseInfo = (params: {
|
|
2575
2937
|
repo: string;
|
|
2576
2938
|
}) => Promise<DtoKnowledgeBaseInfoRes>;
|
|
2939
|
+
type KnowledgeBase_DeleteKnowledgeBase = (params: {
|
|
2940
|
+
repo: string;
|
|
2941
|
+
}) => Promise<any>;
|
|
2577
2942
|
type KnowledgeBase_QueryKnowledgeBase = (params: {
|
|
2578
2943
|
repo: string;
|
|
2579
2944
|
query: DtoQueryKnowledgeBaseReq;
|
|
@@ -2600,21 +2965,6 @@ type RepoLabels_PatchLabel = (params: {
|
|
|
2600
2965
|
name: string;
|
|
2601
2966
|
patch_label_form: ApiPatchLabelForm;
|
|
2602
2967
|
}) => Promise<ApiLabel>;
|
|
2603
|
-
type Git_GetPresignedLFSDownloadLink = (params: {
|
|
2604
|
-
repo: string;
|
|
2605
|
-
oid: string;
|
|
2606
|
-
name: string;
|
|
2607
|
-
}) => Promise<any>;
|
|
2608
|
-
type Collaborators_ListAllMembers = (params: {
|
|
2609
|
-
repo: string;
|
|
2610
|
-
page?: number;
|
|
2611
|
-
page_size?: number;
|
|
2612
|
-
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
2613
|
-
search?: string;
|
|
2614
|
-
names?: string;
|
|
2615
|
-
order_by?: "created_at" | "stars" | "follower";
|
|
2616
|
-
desc?: boolean;
|
|
2617
|
-
}) => Promise<DtoUsersWithAccessLevelInSlug[]>;
|
|
2618
2968
|
type Collaborators_ListMembersOfRepo = (params: {
|
|
2619
2969
|
repo: string;
|
|
2620
2970
|
page?: number;
|
|
@@ -2630,39 +2980,23 @@ type Contributors_ListMemberAccessLevelOfRepo = (params: {
|
|
|
2630
2980
|
repo: string;
|
|
2631
2981
|
username: string;
|
|
2632
2982
|
}) => Promise<DtoMemberAccessLevel[]>;
|
|
2633
|
-
type Collaborators_DeleteMembersOfRepo = (params: {
|
|
2634
|
-
repo: string;
|
|
2635
|
-
username: string;
|
|
2636
|
-
}) => Promise<any>;
|
|
2637
|
-
type Collaborators_AddMembersOfRepo = (params: {
|
|
2638
|
-
repo: string;
|
|
2639
|
-
username: string;
|
|
2640
|
-
request: DtoUpdateMembersRequest;
|
|
2641
|
-
}) => Promise<any>;
|
|
2642
2983
|
type Collaborators_UpdateMembersOfRepo = (params: {
|
|
2643
2984
|
repo: string;
|
|
2644
2985
|
username: string;
|
|
2645
2986
|
request: DtoUpdateMembersRequest;
|
|
2646
2987
|
}) => Promise<any>;
|
|
2647
|
-
type
|
|
2648
|
-
repo: string;
|
|
2649
|
-
page?: number;
|
|
2650
|
-
page_size?: number;
|
|
2651
|
-
role?: "Guest" | "Reporter" | "Developer" | "Master";
|
|
2652
|
-
search?: string;
|
|
2653
|
-
}) => Promise<DtoOutsideCollaboratorInRepo[]>;
|
|
2654
|
-
type Collaborators_DeleteOutsideCollaborators = (params: {
|
|
2988
|
+
type Collaborators_AddMembersOfRepo = (params: {
|
|
2655
2989
|
repo: string;
|
|
2656
2990
|
username: string;
|
|
2991
|
+
request: DtoUpdateMembersRequest;
|
|
2657
2992
|
}) => Promise<any>;
|
|
2658
|
-
type
|
|
2993
|
+
type Collaborators_DeleteMembersOfRepo = (params: {
|
|
2659
2994
|
repo: string;
|
|
2660
2995
|
username: string;
|
|
2661
|
-
role: "Guest" | "Reporter" | "Developer";
|
|
2662
2996
|
}) => Promise<any>;
|
|
2663
2997
|
type Pulls_ListPullsByNumbers = (params: {
|
|
2664
2998
|
repo: string;
|
|
2665
|
-
n:
|
|
2999
|
+
n: number[];
|
|
2666
3000
|
}) => Promise<ApiPullRequestInfo[]>;
|
|
2667
3001
|
type Pulls_ListPulls = (params: {
|
|
2668
3002
|
repo: string;
|
|
@@ -2672,6 +3006,8 @@ type Pulls_ListPulls = (params: {
|
|
|
2672
3006
|
authors?: string;
|
|
2673
3007
|
reviewers?: string;
|
|
2674
3008
|
assignees?: string;
|
|
3009
|
+
labels?: string;
|
|
3010
|
+
labels_operator?: string;
|
|
2675
3011
|
base_ref?: string;
|
|
2676
3012
|
}) => Promise<ApiPullRequest[]>;
|
|
2677
3013
|
type Pulls_PostPull = (params: {
|
|
@@ -2687,11 +3023,6 @@ type Pulls_PatchPull = (params: {
|
|
|
2687
3023
|
number: string;
|
|
2688
3024
|
update_pull_request_form: ApiPatchPullRequest;
|
|
2689
3025
|
}) => Promise<ApiPull>;
|
|
2690
|
-
type Pulls_DeletePullAssignees = (params: {
|
|
2691
|
-
repo: string;
|
|
2692
|
-
number: string;
|
|
2693
|
-
delete_pull_assignees_form: ApiDeletePullAssigneesForm;
|
|
2694
|
-
}) => Promise<ApiPull>;
|
|
2695
3026
|
type Pulls_ListPullAssignees = (params: {
|
|
2696
3027
|
repo: string;
|
|
2697
3028
|
number: string;
|
|
@@ -2701,16 +3032,16 @@ type Pulls_PostPullAssignees = (params: {
|
|
|
2701
3032
|
number: string;
|
|
2702
3033
|
post_pull_assignees_form: ApiPostPullAssigneesForm;
|
|
2703
3034
|
}) => Promise<any>;
|
|
3035
|
+
type Pulls_DeletePullAssignees = (params: {
|
|
3036
|
+
repo: string;
|
|
3037
|
+
number: string;
|
|
3038
|
+
delete_pull_assignees_form: ApiDeletePullAssigneesForm;
|
|
3039
|
+
}) => Promise<ApiPull>;
|
|
2704
3040
|
type Pulls_CanUserBeAssignedToPull = (params: {
|
|
2705
3041
|
repo: string;
|
|
2706
3042
|
number: string;
|
|
2707
3043
|
assignee: string;
|
|
2708
3044
|
}) => Promise<any>;
|
|
2709
|
-
type Pulls_CherryPickPullRequest = (params: {
|
|
2710
|
-
repo: string;
|
|
2711
|
-
number: number;
|
|
2712
|
-
cherry_pick_pull_request_form: WebapiCherryPickPullRequestForm;
|
|
2713
|
-
}) => Promise<any>;
|
|
2714
3045
|
type Pulls_ListPullComments = (params: {
|
|
2715
3046
|
repo: string;
|
|
2716
3047
|
number: string;
|
|
@@ -2722,26 +3053,51 @@ type Pulls_PostPullComment = (params: {
|
|
|
2722
3053
|
number: string;
|
|
2723
3054
|
post_pull_comment_form: ApiPullCommentCreationForm;
|
|
2724
3055
|
}) => Promise<any>;
|
|
2725
|
-
type
|
|
3056
|
+
type Pulls_GetPullComment = (params: {
|
|
2726
3057
|
repo: string;
|
|
2727
3058
|
number: string;
|
|
2728
|
-
|
|
3059
|
+
comment_id: number;
|
|
3060
|
+
}) => Promise<ApiPullRequestComment>;
|
|
3061
|
+
type Pulls_PatchPullComment = (params: {
|
|
3062
|
+
repo: string;
|
|
3063
|
+
number: string;
|
|
3064
|
+
comment_id: number;
|
|
3065
|
+
patch_pull_comment_form: ApiPatchPullCommentForm;
|
|
3066
|
+
}) => Promise<ApiPullRequestComment>;
|
|
3067
|
+
type Pulls_ListPullCommitStatuses = (params: {
|
|
3068
|
+
repo: string;
|
|
3069
|
+
number: number;
|
|
3070
|
+
}) => Promise<ApiCommitStatuses>;
|
|
3071
|
+
type Pulls_ListPullCommits = (params: {
|
|
3072
|
+
repo: string;
|
|
3073
|
+
number: string;
|
|
3074
|
+
page?: number;
|
|
3075
|
+
page_size?: number;
|
|
3076
|
+
}) => Promise<ApiCommit[]>;
|
|
3077
|
+
type Pulls_ListPullFiles = (params: {
|
|
3078
|
+
repo: string;
|
|
3079
|
+
number: string;
|
|
3080
|
+
}) => Promise<ApiPullFile[]>;
|
|
2729
3081
|
type Pulls_ListPullLabels = (params: {
|
|
2730
3082
|
repo: string;
|
|
2731
3083
|
number: string;
|
|
2732
3084
|
page?: number;
|
|
2733
3085
|
page_size?: number;
|
|
2734
3086
|
}) => Promise<ApiLabel[]>;
|
|
3087
|
+
type Pulls_PutPullLabels = (params: {
|
|
3088
|
+
repo: string;
|
|
3089
|
+
number: string;
|
|
3090
|
+
put_pull_labels_form: ApiPutPullLabelsForm;
|
|
3091
|
+
}) => Promise<ApiLabel>;
|
|
2735
3092
|
type Pulls_PostPullLabels = (params: {
|
|
2736
3093
|
repo: string;
|
|
2737
3094
|
number: string;
|
|
2738
3095
|
post_pull_labels_form: ApiPostPullLabelsForm;
|
|
2739
3096
|
}) => Promise<ApiLabel>;
|
|
2740
|
-
type
|
|
3097
|
+
type Pulls_DeletePullLabels = (params: {
|
|
2741
3098
|
repo: string;
|
|
2742
3099
|
number: string;
|
|
2743
|
-
|
|
2744
|
-
}) => Promise<ApiLabel>;
|
|
3100
|
+
}) => Promise<any>;
|
|
2745
3101
|
type Pulls_DeletePullLabel = (params: {
|
|
2746
3102
|
repo: string;
|
|
2747
3103
|
number: string;
|
|
@@ -2752,11 +3108,6 @@ type Pulls_MergePull = (params: {
|
|
|
2752
3108
|
number: string;
|
|
2753
3109
|
merge_pull_request_form: ApiMergePullRequest;
|
|
2754
3110
|
}) => Promise<ApiMergePullResponse>;
|
|
2755
|
-
type Pulls_RevertPullRequest = (params: {
|
|
2756
|
-
repo: string;
|
|
2757
|
-
number: number;
|
|
2758
|
-
revert_pull_request_form: WebapiRevertPullRequestForm;
|
|
2759
|
-
}) => Promise<any>;
|
|
2760
3111
|
type Pulls_ListPullReviews = (params: {
|
|
2761
3112
|
repo: string;
|
|
2762
3113
|
number: string;
|
|
@@ -2801,14 +3152,14 @@ type Releases_GetReleaseByTag = (params: {
|
|
|
2801
3152
|
repo: string;
|
|
2802
3153
|
tag: string;
|
|
2803
3154
|
}) => Promise<ApiRelease>;
|
|
2804
|
-
type Releases_DeleteRelease = (params: {
|
|
2805
|
-
repo: string;
|
|
2806
|
-
release_id: string;
|
|
2807
|
-
}) => Promise<any>;
|
|
2808
3155
|
type Releases_GetReleaseByID = (params: {
|
|
2809
3156
|
repo: string;
|
|
2810
3157
|
release_id: string;
|
|
2811
3158
|
}) => Promise<ApiRelease>;
|
|
3159
|
+
type Releases_DeleteRelease = (params: {
|
|
3160
|
+
repo: string;
|
|
3161
|
+
release_id: string;
|
|
3162
|
+
}) => Promise<any>;
|
|
2812
3163
|
type Releases_PatchRelease = (params: {
|
|
2813
3164
|
repo: string;
|
|
2814
3165
|
release_id: string;
|
|
@@ -2825,19 +3176,21 @@ type Releases_PostReleaseAssetUploadURL = (params: {
|
|
|
2825
3176
|
release_id: string;
|
|
2826
3177
|
create_release_asset_upload_url_form: OpenapiPostReleaseAssetUploadUrlForm;
|
|
2827
3178
|
}) => Promise<any>;
|
|
2828
|
-
type
|
|
3179
|
+
type Releases_GetReleaseAsset = (params: {
|
|
2829
3180
|
repo: string;
|
|
2830
3181
|
release_id: string;
|
|
2831
3182
|
asset_id: string;
|
|
2832
|
-
}) => Promise<
|
|
2833
|
-
type
|
|
3183
|
+
}) => Promise<ApiReleaseAsset>;
|
|
3184
|
+
type Releases_DeleteReleaseAsset = (params: {
|
|
2834
3185
|
repo: string;
|
|
2835
3186
|
release_id: string;
|
|
2836
3187
|
asset_id: string;
|
|
2837
|
-
}) => Promise<ApiReleaseAsset>;
|
|
2838
|
-
type Repositories_ArchiveRepo = (params: {
|
|
2839
|
-
repo: string;
|
|
2840
3188
|
}) => Promise<any>;
|
|
3189
|
+
type Security_GetRepoSecurityOverview = (params: {
|
|
3190
|
+
repo: string;
|
|
3191
|
+
types?: string;
|
|
3192
|
+
tab?: string;
|
|
3193
|
+
}) => Promise<DtoRepoSecurityOverview>;
|
|
2841
3194
|
type GitSettings_ListBranchProtections = (params: {
|
|
2842
3195
|
repo: string;
|
|
2843
3196
|
}) => Promise<ApiBranchProtection[]>;
|
|
@@ -2845,14 +3198,14 @@ type GitSettings_PostBranchProtection = (params: {
|
|
|
2845
3198
|
repo: string;
|
|
2846
3199
|
branch_protection_form: ApiBranchProtection;
|
|
2847
3200
|
}) => Promise<any>;
|
|
2848
|
-
type GitSettings_DeleteBranchProtection = (params: {
|
|
2849
|
-
repo: string;
|
|
2850
|
-
id: string;
|
|
2851
|
-
}) => Promise<any>;
|
|
2852
3201
|
type GitSettings_GetBranchProtection = (params: {
|
|
2853
3202
|
repo: string;
|
|
2854
3203
|
id: string;
|
|
2855
3204
|
}) => Promise<ApiBranchProtection>;
|
|
3205
|
+
type GitSettings_DeleteBranchProtection = (params: {
|
|
3206
|
+
repo: string;
|
|
3207
|
+
id: string;
|
|
3208
|
+
}) => Promise<any>;
|
|
2856
3209
|
type GitSettings_PatchBranchProtection = (params: {
|
|
2857
3210
|
repo: string;
|
|
2858
3211
|
id: string;
|
|
@@ -2879,19 +3232,10 @@ type GitSettings_PutPushLimitSettings = (params: {
|
|
|
2879
3232
|
repo: string;
|
|
2880
3233
|
push_limit_form: ApiPushLimitSettings;
|
|
2881
3234
|
}) => Promise<any>;
|
|
2882
|
-
type
|
|
3235
|
+
type Repositories_SetRepoVisibility = (params: {
|
|
2883
3236
|
repo: string;
|
|
3237
|
+
visibility: "Private" | "Public" | "Secret";
|
|
2884
3238
|
}) => Promise<any>;
|
|
2885
|
-
type Starring_ListStarUsers = (params: {
|
|
2886
|
-
repo: string;
|
|
2887
|
-
filter_type: "all" | "followed";
|
|
2888
|
-
page: number;
|
|
2889
|
-
page_size: number;
|
|
2890
|
-
}) => Promise<DtoRepoStarUsers>;
|
|
2891
|
-
type Collaborators_TopContributors = (params: {
|
|
2892
|
-
repo: string;
|
|
2893
|
-
top?: number;
|
|
2894
|
-
}) => Promise<DtoUsersResult[]>;
|
|
2895
3239
|
type Repositories_TransferRepo = (params: {
|
|
2896
3240
|
repo: string;
|
|
2897
3241
|
request: DtoTransferSlugReq;
|
|
@@ -2904,15 +3248,6 @@ type Assets_UploadImgs = (params: {
|
|
|
2904
3248
|
repo: string;
|
|
2905
3249
|
request: DtoUploadRequestParams;
|
|
2906
3250
|
}) => Promise<DtoUploadAssetsResponse>;
|
|
2907
|
-
type Assets_UploadReleases = (params: {
|
|
2908
|
-
repo: string;
|
|
2909
|
-
tagName: string;
|
|
2910
|
-
request: DtoUploadRequestParams;
|
|
2911
|
-
}) => Promise<DtoUploadAssetsResponse>;
|
|
2912
|
-
type wiki_UploadWikiFile = (params: {
|
|
2913
|
-
repo: string;
|
|
2914
|
-
request: DtoUploadRequestParams;
|
|
2915
|
-
}) => Promise<DtoUploadAssetsResponse>;
|
|
2916
3251
|
type Workspace_GetWorkspaceDetail = (params: {
|
|
2917
3252
|
repo: string;
|
|
2918
3253
|
sn: string;
|
|
@@ -2921,69 +3256,168 @@ type Workspace_StartWorkspace = (params: {
|
|
|
2921
3256
|
repo: string;
|
|
2922
3257
|
request: DtoStartWorkspaceReq;
|
|
2923
3258
|
}) => Promise<DtoStartWorkspaceResult>;
|
|
2924
|
-
type
|
|
3259
|
+
type RepoContributor_GetRepoContributorTrend = (params: {
|
|
3260
|
+
slug: string;
|
|
3261
|
+
limit?: number;
|
|
3262
|
+
exclude_external_users?: boolean;
|
|
3263
|
+
}) => Promise<WebRepoContribTrend>;
|
|
3264
|
+
type Collaborators_ListAllMembers = (params: {
|
|
2925
3265
|
slug: string;
|
|
2926
|
-
type: "all" | "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
2927
3266
|
page?: number;
|
|
2928
3267
|
page_size?: number;
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
3268
|
+
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
3269
|
+
search?: string;
|
|
3270
|
+
names?: string;
|
|
3271
|
+
order_by?: "created_at" | "stars" | "follower";
|
|
3272
|
+
desc?: boolean;
|
|
3273
|
+
}) => Promise<DtoUsersWithAccessLevelInSlug[]>;
|
|
3274
|
+
type Missions_GetGroupSubMissions = (params: {
|
|
3275
|
+
slug: string;
|
|
3276
|
+
page?: number;
|
|
3277
|
+
page_size?: number;
|
|
3278
|
+
filter_type?: "private" | "public";
|
|
3279
|
+
order_by?: "created_at" | "name";
|
|
3280
|
+
desc?: boolean;
|
|
3281
|
+
descendant?: "all" | "sub" | "grand";
|
|
3282
|
+
search?: string;
|
|
3283
|
+
}) => Promise<DtoMissions4User[]>;
|
|
3284
|
+
type Missions_CreateMission = (params: {
|
|
3285
|
+
slug: string;
|
|
3286
|
+
request: DtoCreateMissionReq;
|
|
3287
|
+
}) => Promise<any>;
|
|
3288
|
+
type Collaborators_ListOutsideCollaborators = (params: {
|
|
3289
|
+
slug: string;
|
|
3290
|
+
page?: number;
|
|
3291
|
+
page_size?: number;
|
|
3292
|
+
role?: "Guest" | "Reporter" | "Developer" | "Master";
|
|
3293
|
+
search?: string;
|
|
3294
|
+
}) => Promise<DtoOutsideCollaboratorInRepo[]>;
|
|
3295
|
+
type Collaborators_UpdateOutsideCollaborators = (params: {
|
|
3296
|
+
slug: string;
|
|
3297
|
+
username: string;
|
|
3298
|
+
role: "Guest" | "Reporter" | "Developer";
|
|
3299
|
+
}) => Promise<any>;
|
|
3300
|
+
type Collaborators_DeleteOutsideCollaborators = (params: {
|
|
2933
3301
|
slug: string;
|
|
2934
|
-
|
|
3302
|
+
username: string;
|
|
3303
|
+
}) => Promise<any>;
|
|
3304
|
+
type Registries_ListPackages = (params: {
|
|
3305
|
+
slug: string;
|
|
3306
|
+
type: "all" | "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
2935
3307
|
page?: number;
|
|
2936
3308
|
page_size?: number;
|
|
2937
3309
|
ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
|
|
2938
3310
|
name?: string;
|
|
2939
|
-
}) => Promise<
|
|
2940
|
-
type
|
|
3311
|
+
}) => Promise<DtoPackage[]>;
|
|
3312
|
+
type Registries_GetPackage = (params: {
|
|
2941
3313
|
slug: string;
|
|
2942
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
3314
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
2943
3315
|
name: string;
|
|
2944
3316
|
}) => Promise<DtoPackageDetail>;
|
|
2945
|
-
type
|
|
3317
|
+
type Registries_DeletePackage = (params: {
|
|
2946
3318
|
slug: string;
|
|
2947
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
3319
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
2948
3320
|
name: string;
|
|
2949
|
-
tag: string;
|
|
2950
3321
|
}) => Promise<any>;
|
|
2951
|
-
type
|
|
3322
|
+
type Registries_GetPackageTagDetail = (params: {
|
|
2952
3323
|
slug: string;
|
|
2953
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
3324
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
2954
3325
|
name: string;
|
|
2955
3326
|
tag: string;
|
|
2956
3327
|
sha256?: string;
|
|
2957
3328
|
arch?: string;
|
|
2958
3329
|
}) => Promise<DtoTagDetail>;
|
|
2959
|
-
type
|
|
3330
|
+
type Registries_DeletePackageTag = (params: {
|
|
3331
|
+
slug: string;
|
|
3332
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
3333
|
+
name: string;
|
|
3334
|
+
tag: string;
|
|
3335
|
+
}) => Promise<any>;
|
|
3336
|
+
type Registries_ListPackageTags = (params: {
|
|
2960
3337
|
slug: string;
|
|
2961
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
2962
|
-
|
|
3338
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
3339
|
+
name: string;
|
|
2963
3340
|
page?: number;
|
|
2964
3341
|
page_size?: number;
|
|
2965
3342
|
ordering?: "pull_count" | "last_push_at";
|
|
2966
3343
|
name?: string;
|
|
2967
3344
|
}) => Promise<DtoTag>;
|
|
2968
|
-
type
|
|
3345
|
+
type Repositories_GetPinnedRepoByGroup = (params: {
|
|
3346
|
+
slug: string;
|
|
3347
|
+
}) => Promise<DtoRepos4UserBase[]>;
|
|
3348
|
+
type Repositories_SetPinnedRepoByGroup = (params: {
|
|
3349
|
+
slug: string;
|
|
3350
|
+
request: string[];
|
|
3351
|
+
}) => Promise<DtoRepos4UserBase[]>;
|
|
3352
|
+
type Registries_GetGroupSubRegistries = (params: {
|
|
3353
|
+
slug: string;
|
|
3354
|
+
page?: number;
|
|
3355
|
+
page_size?: number;
|
|
3356
|
+
registry_type?: "npm" | "maven" | "ohpm";
|
|
3357
|
+
filter_type?: "private" | "public";
|
|
3358
|
+
order_by?: "created_at" | "name";
|
|
3359
|
+
desc?: boolean;
|
|
3360
|
+
descendant?: "all" | "sub" | "grand";
|
|
3361
|
+
search?: string;
|
|
3362
|
+
}) => Promise<DtoRegistry4User[]>;
|
|
3363
|
+
type Repositories_GetGroupSubRepos = (params: {
|
|
3364
|
+
slug: string;
|
|
3365
|
+
page?: number;
|
|
3366
|
+
page_size?: number;
|
|
3367
|
+
filter_type?: "private" | "public" | "secret";
|
|
3368
|
+
flags?: "KnowledgeBase";
|
|
3369
|
+
status?: "active" | "archived";
|
|
3370
|
+
order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
|
|
3371
|
+
desc?: boolean;
|
|
3372
|
+
descendant?: "all" | "sub" | "grand";
|
|
3373
|
+
search?: string;
|
|
3374
|
+
}) => Promise<DtoRepos4User[]>;
|
|
3375
|
+
type Repositories_CreateRepo = (params: {
|
|
3376
|
+
slug: string;
|
|
3377
|
+
request: DtoCreateRepoReq;
|
|
3378
|
+
}) => Promise<any>;
|
|
3379
|
+
type Organizations_GetGroupSetting = (params: {
|
|
3380
|
+
slug: string;
|
|
3381
|
+
}) => Promise<DtoOrganizationSettingWithParent>;
|
|
3382
|
+
type Organizations_UpdateGroupSetting = (params: {
|
|
2969
3383
|
slug: string;
|
|
2970
|
-
|
|
2971
|
-
}) => Promise<
|
|
2972
|
-
type
|
|
3384
|
+
request: DtoGroupSettingReq;
|
|
3385
|
+
}) => Promise<any>;
|
|
3386
|
+
type Repositories_ArchiveRepo = (params: {
|
|
3387
|
+
slug: string;
|
|
3388
|
+
}) => Promise<any>;
|
|
3389
|
+
type Repositories_UnArchiveRepo = (params: {
|
|
3390
|
+
slug: string;
|
|
3391
|
+
}) => Promise<any>;
|
|
3392
|
+
type Starring_ListStarUsers = (params: {
|
|
2973
3393
|
slug: string;
|
|
2974
|
-
|
|
3394
|
+
filter_type: "all" | "followed";
|
|
2975
3395
|
page?: number;
|
|
2976
3396
|
page_size?: number;
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
type Artifactory_DownloadRegistryQuotas = (params: {
|
|
3397
|
+
}) => Promise<DtoRepoStarUsers>;
|
|
3398
|
+
type Organizations_ListSubgroups = (params: {
|
|
2980
3399
|
slug: string;
|
|
2981
|
-
|
|
3400
|
+
search?: string;
|
|
2982
3401
|
page?: number;
|
|
2983
3402
|
page_size?: number;
|
|
2984
|
-
|
|
2985
|
-
|
|
3403
|
+
}) => Promise<DtoOrganizationUnion[]>;
|
|
3404
|
+
type Collaborators_TopContributors = (params: {
|
|
3405
|
+
slug: string;
|
|
3406
|
+
top?: number;
|
|
3407
|
+
}) => Promise<DtoUsersResult[]>;
|
|
2986
3408
|
interface Client {
|
|
3409
|
+
events: {
|
|
3410
|
+
repo: {
|
|
3411
|
+
/***
|
|
3412
|
+
* 获取仓库动态预签名地址,并返回内容。Get events pre-signed URL and return content.
|
|
3413
|
+
*
|
|
3414
|
+
* undefined
|
|
3415
|
+
*
|
|
3416
|
+
* /events/{repo}/-/{date}
|
|
3417
|
+
*/
|
|
3418
|
+
get: Event_GetEvents;
|
|
3419
|
+
};
|
|
3420
|
+
};
|
|
2987
3421
|
groups: {
|
|
2988
3422
|
/***
|
|
2989
3423
|
* 创建新组织。Create new organization.
|
|
@@ -3026,6 +3460,17 @@ interface Client {
|
|
|
3026
3460
|
*/
|
|
3027
3461
|
list: Users_AutoCompleteSource;
|
|
3028
3462
|
};
|
|
3463
|
+
gpgKeys: {
|
|
3464
|
+
/***
|
|
3465
|
+
* 获取用户 GPG keys 列表。List GPG Keys.
|
|
3466
|
+
*
|
|
3467
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3468
|
+
* account-profile:r
|
|
3469
|
+
*
|
|
3470
|
+
* /user/gpg-keys
|
|
3471
|
+
*/
|
|
3472
|
+
get: Users_ListGPGKeys;
|
|
3473
|
+
};
|
|
3029
3474
|
groups: {
|
|
3030
3475
|
/***
|
|
3031
3476
|
* 获取当前用户拥有权限的顶层组织列表。Get top-level organizations list that the current user has access to.
|
|
@@ -3043,7 +3488,7 @@ interface Client {
|
|
|
3043
3488
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3044
3489
|
* account-engage:r
|
|
3045
3490
|
*
|
|
3046
|
-
* /user/groups/{
|
|
3491
|
+
* /user/groups/{slug}
|
|
3047
3492
|
*/
|
|
3048
3493
|
listByGroup: Organizations_ListGroups;
|
|
3049
3494
|
};
|
|
@@ -3067,7 +3512,7 @@ interface Client {
|
|
|
3067
3512
|
*
|
|
3068
3513
|
* /user/stared-repos
|
|
3069
3514
|
*/
|
|
3070
|
-
list:
|
|
3515
|
+
list: Starring_GetUserAllStaredRepos;
|
|
3071
3516
|
};
|
|
3072
3517
|
};
|
|
3073
3518
|
users: {
|
|
@@ -3082,7 +3527,7 @@ interface Client {
|
|
|
3082
3527
|
get: Users_GetUserInfoByName;
|
|
3083
3528
|
activities: {
|
|
3084
3529
|
/***
|
|
3085
|
-
*
|
|
3530
|
+
* 获取个人动态活跃详情汇总。Get user activities by date.
|
|
3086
3531
|
*
|
|
3087
3532
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3088
3533
|
* account-engage:r
|
|
@@ -3137,7 +3582,7 @@ interface Client {
|
|
|
3137
3582
|
};
|
|
3138
3583
|
repoActivities: {
|
|
3139
3584
|
/***
|
|
3140
|
-
*
|
|
3585
|
+
* 个人仓库动态详情列表。List of personal repository activity details.
|
|
3141
3586
|
*
|
|
3142
3587
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3143
3588
|
* account-engage:r
|
|
@@ -3192,37 +3637,48 @@ interface Client {
|
|
|
3192
3637
|
*/
|
|
3193
3638
|
get: Workspace_ListWorkspaces;
|
|
3194
3639
|
};
|
|
3640
|
+
stop: {
|
|
3641
|
+
/***
|
|
3642
|
+
* 停止/关闭我的云原生开发环境。Stop/close my workspace.
|
|
3643
|
+
*
|
|
3644
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3645
|
+
* account-engage:rw
|
|
3646
|
+
*
|
|
3647
|
+
* /workspace/stop
|
|
3648
|
+
*/
|
|
3649
|
+
post: Workspace_WorkspaceStop;
|
|
3650
|
+
};
|
|
3195
3651
|
};
|
|
3196
3652
|
group: {
|
|
3197
3653
|
/***
|
|
3198
|
-
*
|
|
3654
|
+
* 获取指定组织信息。Get information for the specified organization.
|
|
3199
3655
|
*
|
|
3200
3656
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3201
|
-
* group-
|
|
3657
|
+
* group-resource:r
|
|
3202
3658
|
*
|
|
3203
3659
|
* /{group}
|
|
3204
3660
|
*/
|
|
3205
|
-
|
|
3661
|
+
get: Organizations_GetGroup;
|
|
3206
3662
|
|
|
3207
3663
|
/***
|
|
3208
|
-
*
|
|
3664
|
+
* 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.
|
|
3209
3665
|
*
|
|
3210
3666
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3211
|
-
* group-
|
|
3667
|
+
* group-manage:rw
|
|
3212
3668
|
*
|
|
3213
3669
|
* /{group}
|
|
3214
3670
|
*/
|
|
3215
|
-
|
|
3671
|
+
put: Organizations_UpdateOrganization;
|
|
3216
3672
|
|
|
3217
3673
|
/***
|
|
3218
|
-
*
|
|
3674
|
+
* 删除指定组织。Delete the specified organization.
|
|
3219
3675
|
*
|
|
3220
3676
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3221
|
-
* group-
|
|
3677
|
+
* group-delete:rw
|
|
3222
3678
|
*
|
|
3223
3679
|
* /{group}
|
|
3224
3680
|
*/
|
|
3225
|
-
|
|
3681
|
+
delete: Organizations_DeleteOrganization;
|
|
3226
3682
|
inheritMembers: {
|
|
3227
3683
|
/***
|
|
3228
3684
|
* 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
|
|
@@ -3267,14 +3723,14 @@ interface Client {
|
|
|
3267
3723
|
};
|
|
3268
3724
|
|
|
3269
3725
|
/***
|
|
3270
|
-
*
|
|
3726
|
+
* 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
|
|
3271
3727
|
*
|
|
3272
3728
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3273
3729
|
* group-manage:rw
|
|
3274
3730
|
*
|
|
3275
3731
|
* /{group}/-/members/{username}
|
|
3276
3732
|
*/
|
|
3277
|
-
|
|
3733
|
+
put: Collaborators_UpdateMembersOfGroup;
|
|
3278
3734
|
|
|
3279
3735
|
/***
|
|
3280
3736
|
* 添加成员。Add members.
|
|
@@ -3287,103 +3743,18 @@ interface Client {
|
|
|
3287
3743
|
post: Collaborators_AddMembersOfGroup;
|
|
3288
3744
|
|
|
3289
3745
|
/***
|
|
3290
|
-
*
|
|
3746
|
+
* 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
|
|
3291
3747
|
*
|
|
3292
3748
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3293
3749
|
* group-manage:rw
|
|
3294
3750
|
*
|
|
3295
3751
|
* /{group}/-/members/{username}
|
|
3296
3752
|
*/
|
|
3297
|
-
|
|
3298
|
-
};
|
|
3299
|
-
missions: {
|
|
3300
|
-
/***
|
|
3301
|
-
* 创建任务集
|
|
3302
|
-
*
|
|
3303
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3304
|
-
* group-resource:rw
|
|
3305
|
-
*
|
|
3306
|
-
* /{group}/-/missions
|
|
3307
|
-
*/
|
|
3308
|
-
post: Missions_CreateMission;
|
|
3309
|
-
};
|
|
3310
|
-
pinnedRepos: {
|
|
3311
|
-
/***
|
|
3312
|
-
* 获取指定组织的仓库墙列表。List the pinned repositories of a group.
|
|
3313
|
-
*
|
|
3314
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3315
|
-
* group-manage:r
|
|
3316
|
-
*
|
|
3317
|
-
* /{group}/-/pinned-repos
|
|
3318
|
-
*/
|
|
3319
|
-
list: Repositories_GetPinnedRepoByGroup;
|
|
3320
|
-
|
|
3321
|
-
/***
|
|
3322
|
-
* 更新指定组织仓库墙。Update the pinned repositories of a group.
|
|
3323
|
-
*
|
|
3324
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3325
|
-
* group-manage:rw
|
|
3326
|
-
*
|
|
3327
|
-
* /{group}/-/pinned-repos
|
|
3328
|
-
*/
|
|
3329
|
-
put: Repositories_SetPinnedRepoByGroup;
|
|
3330
|
-
};
|
|
3331
|
-
repos: {
|
|
3332
|
-
/***
|
|
3333
|
-
* 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
|
|
3334
|
-
*
|
|
3335
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3336
|
-
* group-resource:r
|
|
3337
|
-
*
|
|
3338
|
-
* /{group}/-/repos
|
|
3339
|
-
*/
|
|
3340
|
-
list: Repositories_GetGroupSubRepos;
|
|
3341
|
-
|
|
3342
|
-
/***
|
|
3343
|
-
* 创建仓库。Create repositories.
|
|
3344
|
-
*
|
|
3345
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3346
|
-
* group-resource:rw
|
|
3347
|
-
*
|
|
3348
|
-
* /{group}/-/repos
|
|
3349
|
-
*/
|
|
3350
|
-
post: Repositories_CreateRepo;
|
|
3351
|
-
};
|
|
3352
|
-
settings: {
|
|
3353
|
-
/***
|
|
3354
|
-
* 获取指定组织的配置详情。Get the configuration details for the specified organization.
|
|
3355
|
-
*
|
|
3356
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3357
|
-
* group-manage:r
|
|
3358
|
-
*
|
|
3359
|
-
* /{group}/-/settings
|
|
3360
|
-
*/
|
|
3361
|
-
get: Organizations_GetGroupSetting;
|
|
3362
|
-
|
|
3363
|
-
/***
|
|
3364
|
-
* 更新指定组织的配置。Updates the configuration for the specified organization.
|
|
3365
|
-
*
|
|
3366
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3367
|
-
* group-manage:rw
|
|
3368
|
-
*
|
|
3369
|
-
* /{group}/-/settings
|
|
3370
|
-
*/
|
|
3371
|
-
put: Organizations_UpdateGroupSetting;
|
|
3372
|
-
};
|
|
3373
|
-
subGroups: {
|
|
3374
|
-
/***
|
|
3375
|
-
* 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
|
|
3376
|
-
*
|
|
3377
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3378
|
-
* group-resource:r
|
|
3379
|
-
*
|
|
3380
|
-
* /{group}/-/sub-groups
|
|
3381
|
-
*/
|
|
3382
|
-
list: Organizations_ListSubgroups;
|
|
3753
|
+
delete: Collaborators_DeleteMembersOfGroup;
|
|
3383
3754
|
};
|
|
3384
3755
|
transfer: {
|
|
3385
3756
|
/***
|
|
3386
|
-
*
|
|
3757
|
+
* 转移组织。Transfer an organization.
|
|
3387
3758
|
*
|
|
3388
3759
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3389
3760
|
* group-manage:rw
|
|
@@ -3402,7 +3773,7 @@ interface Client {
|
|
|
3402
3773
|
*
|
|
3403
3774
|
* /{group}/-/upload/logos
|
|
3404
3775
|
*/
|
|
3405
|
-
post:
|
|
3776
|
+
post: Organizations_UploadLogos;
|
|
3406
3777
|
};
|
|
3407
3778
|
};
|
|
3408
3779
|
};
|
|
@@ -3461,37 +3832,50 @@ interface Client {
|
|
|
3461
3832
|
list: Missions_GetMissionViewList;
|
|
3462
3833
|
|
|
3463
3834
|
/***
|
|
3464
|
-
*
|
|
3835
|
+
* 添加、修改任务集视图。Update a mission view or add a new one.
|
|
3465
3836
|
*
|
|
3466
3837
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3467
3838
|
* mission-manage:rw
|
|
3468
3839
|
*
|
|
3469
3840
|
* /{mission}/-/mission/view-list
|
|
3470
3841
|
*/
|
|
3471
|
-
|
|
3842
|
+
put: Missions_PutMissionViewList;
|
|
3472
3843
|
|
|
3473
3844
|
/***
|
|
3474
|
-
*
|
|
3845
|
+
* 排序任务集视图。Sort mission view list.
|
|
3475
3846
|
*
|
|
3476
3847
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3477
3848
|
* mission-manage:rw
|
|
3478
3849
|
*
|
|
3479
3850
|
* /{mission}/-/mission/view-list
|
|
3480
3851
|
*/
|
|
3481
|
-
|
|
3852
|
+
post: Missions_PostMissionViewList;
|
|
3853
|
+
};
|
|
3854
|
+
};
|
|
3855
|
+
settings: {
|
|
3856
|
+
setVisibility: {
|
|
3857
|
+
/***
|
|
3858
|
+
* 改变任务集可见性。Update the visibility of a mission.
|
|
3859
|
+
*
|
|
3860
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3861
|
+
* mission-manage:rw
|
|
3862
|
+
*
|
|
3863
|
+
* /{mission}/-/settings/set_visibility
|
|
3864
|
+
*/
|
|
3865
|
+
post: Missions_SetMissionVisibility;
|
|
3482
3866
|
};
|
|
3483
3867
|
};
|
|
3484
3868
|
};
|
|
3485
3869
|
registry: {
|
|
3486
3870
|
/***
|
|
3487
|
-
*
|
|
3871
|
+
* 删除制品库。Delete the registry.
|
|
3488
3872
|
*
|
|
3489
3873
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3490
3874
|
* registry-delete:rw
|
|
3491
3875
|
*
|
|
3492
3876
|
* /{registry}
|
|
3493
3877
|
*/
|
|
3494
|
-
delete:
|
|
3878
|
+
delete: Registries_DeleteRegistry;
|
|
3495
3879
|
members: {
|
|
3496
3880
|
/***
|
|
3497
3881
|
* 添加成员。Add members.
|
|
@@ -3503,27 +3887,40 @@ interface Client {
|
|
|
3503
3887
|
*/
|
|
3504
3888
|
post: Collaborators_AddMembersOfRegistry;
|
|
3505
3889
|
};
|
|
3890
|
+
settings: {
|
|
3891
|
+
setVisibility: {
|
|
3892
|
+
/***
|
|
3893
|
+
* 改变制品仓库可见性。Update visibility of registry.
|
|
3894
|
+
*
|
|
3895
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3896
|
+
* registry-manage:rw
|
|
3897
|
+
*
|
|
3898
|
+
* /{registry}/-/settings/set_visibility
|
|
3899
|
+
*/
|
|
3900
|
+
post: Registries_SetRegistryVisibility;
|
|
3901
|
+
};
|
|
3902
|
+
};
|
|
3506
3903
|
};
|
|
3507
3904
|
repo: {
|
|
3508
3905
|
/***
|
|
3509
|
-
*
|
|
3906
|
+
* 获取指定仓库信息。Get information for the specified repository.
|
|
3510
3907
|
*
|
|
3511
3908
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3512
|
-
* repo-
|
|
3909
|
+
* repo-basic-info:r
|
|
3513
3910
|
*
|
|
3514
3911
|
* /{repo}
|
|
3515
3912
|
*/
|
|
3516
|
-
|
|
3913
|
+
get: Repositories_GetByID;
|
|
3517
3914
|
|
|
3518
3915
|
/***
|
|
3519
|
-
*
|
|
3916
|
+
* 删除指定仓库。Delete the specified repository.
|
|
3520
3917
|
*
|
|
3521
3918
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3522
|
-
* repo-
|
|
3919
|
+
* repo-delete:rw
|
|
3523
3920
|
*
|
|
3524
3921
|
* /{repo}
|
|
3525
3922
|
*/
|
|
3526
|
-
|
|
3923
|
+
delete: Repositories_DeleteRepo;
|
|
3527
3924
|
|
|
3528
3925
|
/***
|
|
3529
3926
|
* 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.
|
|
@@ -3538,18 +3935,40 @@ interface Client {
|
|
|
3538
3935
|
chat: {
|
|
3539
3936
|
completions: {
|
|
3540
3937
|
/***
|
|
3541
|
-
*
|
|
3938
|
+
* AI 对话,参数根据模型不同会有区别。AI chat completions, params may differ by model.
|
|
3542
3939
|
*
|
|
3543
3940
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3544
|
-
* repo-code:
|
|
3941
|
+
* repo-code:rw
|
|
3545
3942
|
*
|
|
3546
3943
|
* /{repo}/-/ai/chat/completions
|
|
3547
3944
|
*/
|
|
3548
|
-
post:
|
|
3945
|
+
post: AI_AiChatCompletions;
|
|
3549
3946
|
};
|
|
3550
3947
|
};
|
|
3551
3948
|
};
|
|
3552
3949
|
badge: {
|
|
3950
|
+
git: {
|
|
3951
|
+
/***
|
|
3952
|
+
* 获取徽章 svg 或 JSON 数据。Get badge svg or JSON data.
|
|
3953
|
+
*
|
|
3954
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3955
|
+
* repo-commit-status:r
|
|
3956
|
+
*
|
|
3957
|
+
* /{repo}/-/badge/git/{sha}/{badge}
|
|
3958
|
+
*/
|
|
3959
|
+
get: Badge_GetBadge;
|
|
3960
|
+
};
|
|
3961
|
+
list: {
|
|
3962
|
+
/***
|
|
3963
|
+
* 获取徽章列表数据。List badge data
|
|
3964
|
+
*
|
|
3965
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3966
|
+
* repo-commit-status:r
|
|
3967
|
+
*
|
|
3968
|
+
* /{repo}/-/badge/list
|
|
3969
|
+
*/
|
|
3970
|
+
get: Badge_ListBadge;
|
|
3971
|
+
};
|
|
3553
3972
|
upload: {
|
|
3554
3973
|
/***
|
|
3555
3974
|
* 上传徽章数据。Upload badge data
|
|
@@ -3563,6 +3982,19 @@ interface Client {
|
|
|
3563
3982
|
};
|
|
3564
3983
|
};
|
|
3565
3984
|
build: {
|
|
3985
|
+
ai: {
|
|
3986
|
+
autoPr: {
|
|
3987
|
+
/***
|
|
3988
|
+
* 根据传入的需求内容和需求标题借助 AI 自动编码并提 PR。Automatically code and create a PR with AI based on the input requirement content and title.
|
|
3989
|
+
*
|
|
3990
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3991
|
+
* repo-code:rw
|
|
3992
|
+
*
|
|
3993
|
+
* /{repo}/-/build/ai/auto-pr
|
|
3994
|
+
*/
|
|
3995
|
+
post: AI_AiAutoPr;
|
|
3996
|
+
};
|
|
3997
|
+
};
|
|
3566
3998
|
logs: {
|
|
3567
3999
|
/***
|
|
3568
4000
|
* 查询流水线构建列表。List pipeline builds.
|
|
@@ -3584,6 +4016,16 @@ interface Client {
|
|
|
3584
4016
|
*/
|
|
3585
4017
|
get: Build_GetBuildStage;
|
|
3586
4018
|
};
|
|
4019
|
+
|
|
4020
|
+
/***
|
|
4021
|
+
* 删除流水线日志内容。Delete pipeline logs content.
|
|
4022
|
+
*
|
|
4023
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4024
|
+
* repo-cnb-trigger:rw
|
|
4025
|
+
*
|
|
4026
|
+
* /{repo}/-/build/logs/{sn}
|
|
4027
|
+
*/
|
|
4028
|
+
delete: Build_BuildLogsDelete;
|
|
3587
4029
|
};
|
|
3588
4030
|
runner: {
|
|
3589
4031
|
download: {
|
|
@@ -3647,19 +4089,6 @@ interface Client {
|
|
|
3647
4089
|
get: Assets_GetCommitAssets;
|
|
3648
4090
|
};
|
|
3649
4091
|
};
|
|
3650
|
-
contributor: {
|
|
3651
|
-
trend: {
|
|
3652
|
-
/***
|
|
3653
|
-
* 查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.
|
|
3654
|
-
*
|
|
3655
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3656
|
-
* repo-code:r
|
|
3657
|
-
*
|
|
3658
|
-
* /{repo}/-/contributor/trend
|
|
3659
|
-
*/
|
|
3660
|
-
get: RepoContributor_GetRepoContributorTrend;
|
|
3661
|
-
};
|
|
3662
|
-
};
|
|
3663
4092
|
forks: {
|
|
3664
4093
|
/***
|
|
3665
4094
|
* 获取指定仓库的 fork 列表。Get fork list for specified repository.
|
|
@@ -3670,16 +4099,6 @@ interface Client {
|
|
|
3670
4099
|
* /{repo}/-/forks
|
|
3671
4100
|
*/
|
|
3672
4101
|
get: Repositories_ListForksRepos;
|
|
3673
|
-
|
|
3674
|
-
/***
|
|
3675
|
-
* fork 仓库。Fork a repository.
|
|
3676
|
-
*
|
|
3677
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3678
|
-
* group-resource:rw
|
|
3679
|
-
*
|
|
3680
|
-
* /{repo}/-/forks
|
|
3681
|
-
*/
|
|
3682
|
-
post: Repositories_CreateAFork;
|
|
3683
4102
|
};
|
|
3684
4103
|
git: {
|
|
3685
4104
|
archiveCommitChangedFiles: {
|
|
@@ -3704,6 +4123,17 @@ interface Client {
|
|
|
3704
4123
|
*/
|
|
3705
4124
|
get: Git_GetArchiveCompareChangedFiles;
|
|
3706
4125
|
};
|
|
4126
|
+
archive: {
|
|
4127
|
+
/***
|
|
4128
|
+
* 下载仓库内容
|
|
4129
|
+
*
|
|
4130
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4131
|
+
* repo-code:r
|
|
4132
|
+
*
|
|
4133
|
+
* /{repo}/-/git/archive/{ref_with_path}
|
|
4134
|
+
*/
|
|
4135
|
+
get: Git_GetArchive;
|
|
4136
|
+
};
|
|
3707
4137
|
blobs: {
|
|
3708
4138
|
/***
|
|
3709
4139
|
* 创建一个 blob。Create a blob.
|
|
@@ -3737,24 +4167,24 @@ interface Client {
|
|
|
3737
4167
|
post: Git_CreateBranch;
|
|
3738
4168
|
|
|
3739
4169
|
/***
|
|
3740
|
-
*
|
|
4170
|
+
* 查询指定分支。Get a branch.
|
|
3741
4171
|
*
|
|
3742
4172
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3743
|
-
* repo-code:
|
|
4173
|
+
* repo-code:r
|
|
3744
4174
|
*
|
|
3745
4175
|
* /{repo}/-/git/branches/{branch}
|
|
3746
4176
|
*/
|
|
3747
|
-
|
|
4177
|
+
get: Git_GetBranch;
|
|
3748
4178
|
|
|
3749
4179
|
/***
|
|
3750
|
-
*
|
|
4180
|
+
* 删除指定分支。Delete the specified branch.
|
|
3751
4181
|
*
|
|
3752
4182
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3753
|
-
* repo-code:
|
|
4183
|
+
* repo-code:rw
|
|
3754
4184
|
*
|
|
3755
4185
|
* /{repo}/-/git/branches/{branch}
|
|
3756
4186
|
*/
|
|
3757
|
-
|
|
4187
|
+
delete: Git_DeleteBranch;
|
|
3758
4188
|
};
|
|
3759
4189
|
commitAnnotationsInBatch: {
|
|
3760
4190
|
/***
|
|
@@ -3810,7 +4240,7 @@ interface Client {
|
|
|
3810
4240
|
list: Git_GetCommitAssetsBySha;
|
|
3811
4241
|
assetUploadConfirmation: {
|
|
3812
4242
|
/***
|
|
3813
|
-
* 确认
|
|
4243
|
+
* 确认 commit 附件上传完成。Confirm commit asset upload.
|
|
3814
4244
|
*
|
|
3815
4245
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3816
4246
|
* repo-code:rw
|
|
@@ -3821,7 +4251,7 @@ interface Client {
|
|
|
3821
4251
|
};
|
|
3822
4252
|
assetUploadUrl: {
|
|
3823
4253
|
/***
|
|
3824
|
-
* 新增一个
|
|
4254
|
+
* 新增一个 commit 附件。Create a commit asset.
|
|
3825
4255
|
*
|
|
3826
4256
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3827
4257
|
* repo-code:rw
|
|
@@ -3843,7 +4273,7 @@ interface Client {
|
|
|
3843
4273
|
};
|
|
3844
4274
|
commitStatuses: {
|
|
3845
4275
|
/***
|
|
3846
|
-
* 查询指定 commit
|
|
4276
|
+
* 查询指定 commit 的提交状态。List commit check statuses.
|
|
3847
4277
|
*
|
|
3848
4278
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3849
4279
|
* repo-code:r
|
|
@@ -3875,7 +4305,7 @@ interface Client {
|
|
|
3875
4305
|
};
|
|
3876
4306
|
compare: {
|
|
3877
4307
|
/***
|
|
3878
|
-
*
|
|
4308
|
+
* 比较两个提交、分支或标签之间差异的接口。Compare two commits, branches, or tags.
|
|
3879
4309
|
*
|
|
3880
4310
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3881
4311
|
* repo-code:r
|
|
@@ -3886,25 +4316,24 @@ interface Client {
|
|
|
3886
4316
|
};
|
|
3887
4317
|
contents: {
|
|
3888
4318
|
/***
|
|
3889
|
-
*
|
|
4319
|
+
* 查询仓库文件和目录内容。List repository files and directories.
|
|
3890
4320
|
*
|
|
3891
4321
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3892
4322
|
* repo-code:r
|
|
3893
4323
|
*
|
|
3894
|
-
* /{repo}/-/git/contents
|
|
4324
|
+
* /{repo}/-/git/contents
|
|
3895
4325
|
*/
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
deferredCommits: {
|
|
4326
|
+
getWithoutPath: Git_GetContentWithoutPath;
|
|
4327
|
+
|
|
3899
4328
|
/***
|
|
3900
|
-
*
|
|
4329
|
+
* 查询仓库文件列表或文件。List repository files or file.
|
|
3901
4330
|
*
|
|
3902
4331
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3903
4332
|
* repo-code:r
|
|
3904
4333
|
*
|
|
3905
|
-
* /{repo}/-/git/
|
|
4334
|
+
* /{repo}/-/git/contents/{file_path}
|
|
3906
4335
|
*/
|
|
3907
|
-
|
|
4336
|
+
get: Git_GetContent;
|
|
3908
4337
|
};
|
|
3909
4338
|
head: {
|
|
3910
4339
|
/***
|
|
@@ -3917,6 +4346,17 @@ interface Client {
|
|
|
3917
4346
|
*/
|
|
3918
4347
|
get: Git_GetHead;
|
|
3919
4348
|
};
|
|
4349
|
+
raw: {
|
|
4350
|
+
/***
|
|
4351
|
+
* 获得仓库指定文件内容
|
|
4352
|
+
*
|
|
4353
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4354
|
+
* repo-code:r
|
|
4355
|
+
*
|
|
4356
|
+
* /{repo}/-/git/raw/{ref_with_path}
|
|
4357
|
+
*/
|
|
4358
|
+
get: Git_GetRaw;
|
|
4359
|
+
};
|
|
3920
4360
|
tagAnnotations: {
|
|
3921
4361
|
/***
|
|
3922
4362
|
* 删除指定 tag 的元数据。Delete the metadata of the specified tag.
|
|
@@ -3950,7 +4390,7 @@ interface Client {
|
|
|
3950
4390
|
};
|
|
3951
4391
|
tags: {
|
|
3952
4392
|
/***
|
|
3953
|
-
*
|
|
4393
|
+
* 查询 tag 列表。List tags.
|
|
3954
4394
|
*
|
|
3955
4395
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3956
4396
|
* repo-contents:r
|
|
@@ -3970,24 +4410,24 @@ interface Client {
|
|
|
3970
4410
|
post: Git_CreateTag;
|
|
3971
4411
|
|
|
3972
4412
|
/***
|
|
3973
|
-
*
|
|
4413
|
+
* 查询指定 tag。Get a tag.
|
|
3974
4414
|
*
|
|
3975
4415
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3976
|
-
* repo-contents:
|
|
4416
|
+
* repo-contents:r
|
|
3977
4417
|
*
|
|
3978
4418
|
* /{repo}/-/git/tags/{tag}
|
|
3979
4419
|
*/
|
|
3980
|
-
|
|
4420
|
+
get: Git_GetTag;
|
|
3981
4421
|
|
|
3982
4422
|
/***
|
|
3983
|
-
*
|
|
4423
|
+
* 删除指定 tag。Delete the specified tag.
|
|
3984
4424
|
*
|
|
3985
4425
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3986
|
-
* repo-contents:
|
|
4426
|
+
* repo-contents:rw
|
|
3987
4427
|
*
|
|
3988
4428
|
* /{repo}/-/git/tags/{tag}
|
|
3989
4429
|
*/
|
|
3990
|
-
|
|
4430
|
+
delete: Git_DeleteTag;
|
|
3991
4431
|
};
|
|
3992
4432
|
};
|
|
3993
4433
|
inheritMembers: {
|
|
@@ -4043,47 +4483,47 @@ interface Client {
|
|
|
4043
4483
|
patch: Issues_UpdateIssue;
|
|
4044
4484
|
assignees: {
|
|
4045
4485
|
/***
|
|
4046
|
-
*
|
|
4486
|
+
* 查询指定 issue 的处理人。 List repository issue assignees.
|
|
4047
4487
|
*
|
|
4048
4488
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4049
|
-
* repo-notes:
|
|
4489
|
+
* repo-notes:r
|
|
4050
4490
|
*
|
|
4051
4491
|
* /{repo}/-/issues/{number}/assignees
|
|
4052
4492
|
*/
|
|
4053
|
-
|
|
4493
|
+
list: Issues_ListIssueAssignees;
|
|
4054
4494
|
|
|
4055
4495
|
/***
|
|
4056
|
-
*
|
|
4496
|
+
* 添加处理人到指定的 issue。 Adds up to assignees to a issue, Users already assigned to an issue are not replaced.
|
|
4057
4497
|
*
|
|
4058
4498
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4059
|
-
* repo-notes:
|
|
4499
|
+
* repo-notes:rw
|
|
4060
4500
|
*
|
|
4061
4501
|
* /{repo}/-/issues/{number}/assignees
|
|
4062
4502
|
*/
|
|
4063
|
-
|
|
4503
|
+
post: Issues_PostIssueAssignees;
|
|
4064
4504
|
|
|
4065
4505
|
/***
|
|
4066
|
-
*
|
|
4506
|
+
* 删除 issue 中的处理人。 Removes one or more assignees from an issue.
|
|
4067
4507
|
*
|
|
4068
4508
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4069
4509
|
* repo-notes:rw
|
|
4070
4510
|
*
|
|
4071
4511
|
* /{repo}/-/issues/{number}/assignees
|
|
4072
4512
|
*/
|
|
4073
|
-
|
|
4513
|
+
delete: Issues_DeleteIssueAssignees;
|
|
4074
4514
|
|
|
4075
4515
|
/***
|
|
4076
|
-
*
|
|
4516
|
+
* 更新 issue 中的处理人。 Updates the assignees of an issue.
|
|
4077
4517
|
*
|
|
4078
4518
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4079
4519
|
* repo-notes:rw
|
|
4080
4520
|
*
|
|
4081
4521
|
* /{repo}/-/issues/{number}/assignees
|
|
4082
4522
|
*/
|
|
4083
|
-
|
|
4523
|
+
patch: Issues_PatchIssueAssignees;
|
|
4084
4524
|
|
|
4085
4525
|
/***
|
|
4086
|
-
* 检查用户是否可以被添加到
|
|
4526
|
+
* 检查用户是否可以被添加到 issue 的处理人中。 Checks if a user can be assigned to an issue.
|
|
4087
4527
|
*
|
|
4088
4528
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4089
4529
|
* repo-notes:r
|
|
@@ -4094,7 +4534,7 @@ interface Client {
|
|
|
4094
4534
|
};
|
|
4095
4535
|
comments: {
|
|
4096
4536
|
/***
|
|
4097
|
-
* 查询仓库的
|
|
4537
|
+
* 查询仓库的 issue 评论列表。List repository issue comments.
|
|
4098
4538
|
*
|
|
4099
4539
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4100
4540
|
* repo-notes:r
|
|
@@ -4104,7 +4544,7 @@ interface Client {
|
|
|
4104
4544
|
list: Issues_ListIssueComments;
|
|
4105
4545
|
|
|
4106
4546
|
/***
|
|
4107
|
-
* 创建一个
|
|
4547
|
+
* 创建一个 issue 评论。Create an issue comment.
|
|
4108
4548
|
*
|
|
4109
4549
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4110
4550
|
* repo-notes:rw
|
|
@@ -4114,7 +4554,7 @@ interface Client {
|
|
|
4114
4554
|
post: Issues_PostIssueComment;
|
|
4115
4555
|
|
|
4116
4556
|
/***
|
|
4117
|
-
*
|
|
4557
|
+
* 获取指定 issue 评论。Get an issue comment.
|
|
4118
4558
|
*
|
|
4119
4559
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4120
4560
|
* repo-notes:r
|
|
@@ -4124,7 +4564,7 @@ interface Client {
|
|
|
4124
4564
|
get: Issues_GetIssueComment;
|
|
4125
4565
|
|
|
4126
4566
|
/***
|
|
4127
|
-
* 修改一个
|
|
4567
|
+
* 修改一个 issue 评论。Update an issue comment.
|
|
4128
4568
|
*
|
|
4129
4569
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4130
4570
|
* repo-notes:rw
|
|
@@ -4135,27 +4575,27 @@ interface Client {
|
|
|
4135
4575
|
};
|
|
4136
4576
|
labels: {
|
|
4137
4577
|
/***
|
|
4138
|
-
*
|
|
4578
|
+
* 查询 issue 的标签列表。List labels for an issue.
|
|
4139
4579
|
*
|
|
4140
4580
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4141
|
-
* repo-notes:
|
|
4581
|
+
* repo-notes:r
|
|
4142
4582
|
*
|
|
4143
4583
|
* /{repo}/-/issues/{number}/labels
|
|
4144
4584
|
*/
|
|
4145
|
-
|
|
4585
|
+
list: Issues_ListIssueLabels;
|
|
4146
4586
|
|
|
4147
4587
|
/***
|
|
4148
|
-
*
|
|
4588
|
+
* 设置 issue 标签。 Set the new labels for an issue.
|
|
4149
4589
|
*
|
|
4150
4590
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4151
|
-
* repo-notes:
|
|
4591
|
+
* repo-notes:rw
|
|
4152
4592
|
*
|
|
4153
4593
|
* /{repo}/-/issues/{number}/labels
|
|
4154
4594
|
*/
|
|
4155
|
-
|
|
4595
|
+
put: Issues_PutIssueLabels;
|
|
4156
4596
|
|
|
4157
4597
|
/***
|
|
4158
|
-
* 新增
|
|
4598
|
+
* 新增 issue 标签。Add labels to an issue.
|
|
4159
4599
|
*
|
|
4160
4600
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4161
4601
|
* repo-notes:rw
|
|
@@ -4165,17 +4605,17 @@ interface Client {
|
|
|
4165
4605
|
post: Issues_PostIssueLabels;
|
|
4166
4606
|
|
|
4167
4607
|
/***
|
|
4168
|
-
*
|
|
4608
|
+
* 清空 issue 标签。Remove all labels from an issue.
|
|
4169
4609
|
*
|
|
4170
4610
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4171
4611
|
* repo-notes:rw
|
|
4172
4612
|
*
|
|
4173
4613
|
* /{repo}/-/issues/{number}/labels
|
|
4174
4614
|
*/
|
|
4175
|
-
|
|
4615
|
+
delete: Issues_DeleteIssueLabels;
|
|
4176
4616
|
|
|
4177
4617
|
/***
|
|
4178
|
-
* 删除
|
|
4618
|
+
* 删除 issue 标签。Remove a label from an issue.
|
|
4179
4619
|
*
|
|
4180
4620
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4181
4621
|
* repo-notes:rw
|
|
@@ -4188,24 +4628,24 @@ interface Client {
|
|
|
4188
4628
|
knowledge: {
|
|
4189
4629
|
base: {
|
|
4190
4630
|
/***
|
|
4191
|
-
*
|
|
4631
|
+
* 获取知识库信息
|
|
4192
4632
|
*
|
|
4193
4633
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4194
|
-
* repo-code:
|
|
4634
|
+
* repo-code:r
|
|
4195
4635
|
*
|
|
4196
4636
|
* /{repo}/-/knowledge/base
|
|
4197
4637
|
*/
|
|
4198
|
-
|
|
4638
|
+
get: KnowledgeBase_GetKnowledgeBaseInfo;
|
|
4199
4639
|
|
|
4200
4640
|
/***
|
|
4201
|
-
*
|
|
4641
|
+
* 删除知识库
|
|
4202
4642
|
*
|
|
4203
4643
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4204
|
-
* repo-code:
|
|
4644
|
+
* repo-code:rw
|
|
4205
4645
|
*
|
|
4206
4646
|
* /{repo}/-/knowledge/base
|
|
4207
4647
|
*/
|
|
4208
|
-
|
|
4648
|
+
delete: KnowledgeBase_DeleteKnowledgeBase;
|
|
4209
4649
|
query: {
|
|
4210
4650
|
/***
|
|
4211
4651
|
* 查询知识库,使用文档:https://docs.cnb.cool/zh/ai/knowledge-base.html
|
|
@@ -4234,7 +4674,7 @@ interface Client {
|
|
|
4234
4674
|
};
|
|
4235
4675
|
labels: {
|
|
4236
4676
|
/***
|
|
4237
|
-
*
|
|
4677
|
+
* 查询仓库的标签列表。List repository labels.
|
|
4238
4678
|
*
|
|
4239
4679
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4240
4680
|
* repo-notes:r
|
|
@@ -4254,7 +4694,7 @@ interface Client {
|
|
|
4254
4694
|
post: RepoLabels_PostLabel;
|
|
4255
4695
|
|
|
4256
4696
|
/***
|
|
4257
|
-
*
|
|
4697
|
+
* 删除指定的仓库标签。Delete the specified repository label.
|
|
4258
4698
|
*
|
|
4259
4699
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4260
4700
|
* repo-notes:rw
|
|
@@ -4273,28 +4713,6 @@ interface Client {
|
|
|
4273
4713
|
*/
|
|
4274
4714
|
patch: RepoLabels_PatchLabel;
|
|
4275
4715
|
};
|
|
4276
|
-
lfs: {
|
|
4277
|
-
/***
|
|
4278
|
-
* 获取 git lfs 文件下载链接
|
|
4279
|
-
*
|
|
4280
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4281
|
-
* repo-code:r
|
|
4282
|
-
*
|
|
4283
|
-
* /{repo}/-/lfs/{oid}
|
|
4284
|
-
*/
|
|
4285
|
-
get: Git_GetPresignedLFSDownloadLink;
|
|
4286
|
-
};
|
|
4287
|
-
listMembers: {
|
|
4288
|
-
/***
|
|
4289
|
-
* 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
|
|
4290
|
-
*
|
|
4291
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4292
|
-
* repo-manage:r
|
|
4293
|
-
*
|
|
4294
|
-
* /{repo}/-/list-members
|
|
4295
|
-
*/
|
|
4296
|
-
list: Collaborators_ListAllMembers;
|
|
4297
|
-
};
|
|
4298
4716
|
members: {
|
|
4299
4717
|
/***
|
|
4300
4718
|
* 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
|
|
@@ -4328,14 +4746,14 @@ interface Client {
|
|
|
4328
4746
|
};
|
|
4329
4747
|
|
|
4330
4748
|
/***
|
|
4331
|
-
*
|
|
4749
|
+
* 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
|
|
4332
4750
|
*
|
|
4333
4751
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4334
4752
|
* repo-manage:rw
|
|
4335
4753
|
*
|
|
4336
4754
|
* /{repo}/-/members/{username}
|
|
4337
4755
|
*/
|
|
4338
|
-
|
|
4756
|
+
put: Collaborators_UpdateMembersOfRepo;
|
|
4339
4757
|
|
|
4340
4758
|
/***
|
|
4341
4759
|
* 添加成员。Add members.
|
|
@@ -4348,49 +4766,18 @@ interface Client {
|
|
|
4348
4766
|
post: Collaborators_AddMembersOfRepo;
|
|
4349
4767
|
|
|
4350
4768
|
/***
|
|
4351
|
-
*
|
|
4769
|
+
* 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
|
|
4352
4770
|
*
|
|
4353
4771
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4354
4772
|
* repo-manage:rw
|
|
4355
4773
|
*
|
|
4356
4774
|
* /{repo}/-/members/{username}
|
|
4357
4775
|
*/
|
|
4358
|
-
|
|
4359
|
-
};
|
|
4360
|
-
outsideCollaborators: {
|
|
4361
|
-
/***
|
|
4362
|
-
* 获取指定仓库内的外部贡献者。List external contributors in specified repository.
|
|
4363
|
-
*
|
|
4364
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4365
|
-
* repo-manage:r
|
|
4366
|
-
*
|
|
4367
|
-
* /{repo}/-/outside-collaborators
|
|
4368
|
-
*/
|
|
4369
|
-
list: Collaborators_ListOutsideCollaborators;
|
|
4370
|
-
|
|
4371
|
-
/***
|
|
4372
|
-
* 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
|
|
4373
|
-
*
|
|
4374
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4375
|
-
* repo-manage:rw
|
|
4376
|
-
*
|
|
4377
|
-
* /{repo}/-/outside-collaborators/{username}
|
|
4378
|
-
*/
|
|
4379
|
-
delete: Collaborators_DeleteOutsideCollaborators;
|
|
4380
|
-
|
|
4381
|
-
/***
|
|
4382
|
-
* 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
|
|
4383
|
-
*
|
|
4384
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4385
|
-
* repo-manage:rw
|
|
4386
|
-
*
|
|
4387
|
-
* /{repo}/-/outside-collaborators/{username}
|
|
4388
|
-
*/
|
|
4389
|
-
put: Collaborators_UpdateOutsideCollaborators;
|
|
4776
|
+
delete: Collaborators_DeleteMembersOfRepo;
|
|
4390
4777
|
};
|
|
4391
4778
|
pullInBatch: {
|
|
4392
4779
|
/***
|
|
4393
|
-
* 根据
|
|
4780
|
+
* 根据 number 列表查询合并请求列表。List pull requests by numbers.
|
|
4394
4781
|
*
|
|
4395
4782
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4396
4783
|
* repo-pr:r
|
|
@@ -4401,7 +4788,7 @@ interface Client {
|
|
|
4401
4788
|
};
|
|
4402
4789
|
pulls: {
|
|
4403
4790
|
/***
|
|
4404
|
-
*
|
|
4791
|
+
* 查询合并请求列表。List pull requests.
|
|
4405
4792
|
*
|
|
4406
4793
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4407
4794
|
* repo-pr:r
|
|
@@ -4411,7 +4798,7 @@ interface Client {
|
|
|
4411
4798
|
list: Pulls_ListPulls;
|
|
4412
4799
|
|
|
4413
4800
|
/***
|
|
4414
|
-
*
|
|
4801
|
+
* 新增一个合并请求。Create a pull request.
|
|
4415
4802
|
*
|
|
4416
4803
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4417
4804
|
* repo-pr:rw
|
|
@@ -4421,7 +4808,7 @@ interface Client {
|
|
|
4421
4808
|
post: Pulls_PostPull;
|
|
4422
4809
|
|
|
4423
4810
|
/***
|
|
4424
|
-
*
|
|
4811
|
+
* 查询指定合并请求。Get a pull request.
|
|
4425
4812
|
*
|
|
4426
4813
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4427
4814
|
* repo-pr:r
|
|
@@ -4431,7 +4818,7 @@ interface Client {
|
|
|
4431
4818
|
get: Pulls_GetPull;
|
|
4432
4819
|
|
|
4433
4820
|
/***
|
|
4434
|
-
*
|
|
4821
|
+
* 更新一个合并请求。Update a pull request.
|
|
4435
4822
|
*
|
|
4436
4823
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4437
4824
|
* repo-pr:rw
|
|
@@ -4441,37 +4828,37 @@ interface Client {
|
|
|
4441
4828
|
patch: Pulls_PatchPull;
|
|
4442
4829
|
assignees: {
|
|
4443
4830
|
/***
|
|
4444
|
-
*
|
|
4831
|
+
* 查询指定合并请求的处理人。List repository pull request assignees.
|
|
4445
4832
|
*
|
|
4446
4833
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4447
|
-
* repo-notes:
|
|
4834
|
+
* repo-notes:r
|
|
4448
4835
|
*
|
|
4449
4836
|
* /{repo}/-/pulls/{number}/assignees
|
|
4450
4837
|
*/
|
|
4451
|
-
|
|
4838
|
+
list: Pulls_ListPullAssignees;
|
|
4452
4839
|
|
|
4453
4840
|
/***
|
|
4454
|
-
*
|
|
4841
|
+
* 添加处理人到指定的合并请求。 Adds up to assignees to a pull request. Users already assigned to an issue are not replaced.
|
|
4455
4842
|
*
|
|
4456
4843
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4457
|
-
* repo-notes:
|
|
4844
|
+
* repo-notes:rw
|
|
4458
4845
|
*
|
|
4459
4846
|
* /{repo}/-/pulls/{number}/assignees
|
|
4460
4847
|
*/
|
|
4461
|
-
|
|
4848
|
+
post: Pulls_PostPullAssignees;
|
|
4462
4849
|
|
|
4463
4850
|
/***
|
|
4464
|
-
*
|
|
4851
|
+
* 删除合并请求中的处理人 Removes one or more assignees from a pull request.
|
|
4465
4852
|
*
|
|
4466
4853
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4467
4854
|
* repo-notes:rw
|
|
4468
4855
|
*
|
|
4469
4856
|
* /{repo}/-/pulls/{number}/assignees
|
|
4470
4857
|
*/
|
|
4471
|
-
|
|
4858
|
+
delete: Pulls_DeletePullAssignees;
|
|
4472
4859
|
|
|
4473
4860
|
/***
|
|
4474
|
-
*
|
|
4861
|
+
* 检查用户是否可以被添加到合并请求的处理人中。 Checks if a user can be assigned to a pull request.
|
|
4475
4862
|
*
|
|
4476
4863
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4477
4864
|
* repo-notes:r
|
|
@@ -4480,20 +4867,9 @@ interface Client {
|
|
|
4480
4867
|
*/
|
|
4481
4868
|
get: Pulls_CanUserBeAssignedToPull;
|
|
4482
4869
|
};
|
|
4483
|
-
cherryPick: {
|
|
4484
|
-
/***
|
|
4485
|
-
* 拣选一个已合并的 Pull Request 的提交到选定的分支
|
|
4486
|
-
*
|
|
4487
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4488
|
-
* repo-pr:rw
|
|
4489
|
-
*
|
|
4490
|
-
* /{repo}/-/pulls/{number}/cherry-pick
|
|
4491
|
-
*/
|
|
4492
|
-
post: Pulls_CherryPickPullRequest;
|
|
4493
|
-
};
|
|
4494
4870
|
comments: {
|
|
4495
4871
|
/***
|
|
4496
|
-
*
|
|
4872
|
+
* 查询合并请求评论列表。List pull comments requests.
|
|
4497
4873
|
*
|
|
4498
4874
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4499
4875
|
* repo-notes:r
|
|
@@ -4503,7 +4879,7 @@ interface Client {
|
|
|
4503
4879
|
list: Pulls_ListPullComments;
|
|
4504
4880
|
|
|
4505
4881
|
/***
|
|
4506
|
-
*
|
|
4882
|
+
* 新增一个合并请求评论。Create a pull comment.
|
|
4507
4883
|
*
|
|
4508
4884
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4509
4885
|
* repo-notes:rw
|
|
@@ -4511,83 +4887,125 @@ interface Client {
|
|
|
4511
4887
|
* /{repo}/-/pulls/{number}/comments
|
|
4512
4888
|
*/
|
|
4513
4889
|
post: Pulls_PostPullComment;
|
|
4514
|
-
};
|
|
4515
|
-
labels: {
|
|
4516
|
-
/***
|
|
4517
|
-
* 清空 Pull 标签。Remove all labels from a pull.
|
|
4518
|
-
*
|
|
4519
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4520
|
-
* repo-notes:rw
|
|
4521
|
-
*
|
|
4522
|
-
* /{repo}/-/pulls/{number}/labels
|
|
4523
|
-
*/
|
|
4524
|
-
delete: Pulls_DeletePullLabels;
|
|
4525
4890
|
|
|
4526
4891
|
/***
|
|
4527
|
-
*
|
|
4892
|
+
* 获取一个合并请求评论。Get a pull comment.
|
|
4528
4893
|
*
|
|
4529
4894
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4530
4895
|
* repo-notes:r
|
|
4531
4896
|
*
|
|
4532
|
-
* /{repo}/-/pulls/{number}/
|
|
4897
|
+
* /{repo}/-/pulls/{number}/comments/{comment_id}
|
|
4533
4898
|
*/
|
|
4534
|
-
|
|
4899
|
+
get: Pulls_GetPullComment;
|
|
4535
4900
|
|
|
4536
4901
|
/***
|
|
4537
|
-
*
|
|
4902
|
+
* 更新一个合并请求评论。Update a pull comment.
|
|
4538
4903
|
*
|
|
4539
4904
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4540
4905
|
* repo-notes:rw
|
|
4541
4906
|
*
|
|
4542
|
-
* /{repo}/-/pulls/{number}/
|
|
4907
|
+
* /{repo}/-/pulls/{number}/comments/{comment_id}
|
|
4543
4908
|
*/
|
|
4544
|
-
|
|
4545
|
-
|
|
4909
|
+
patch: Pulls_PatchPullComment;
|
|
4910
|
+
};
|
|
4911
|
+
commitStatuses: {
|
|
4546
4912
|
/***
|
|
4547
|
-
*
|
|
4913
|
+
* 查询 Pull 的状态检查
|
|
4548
4914
|
*
|
|
4549
4915
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4550
|
-
* repo-
|
|
4916
|
+
* repo-pr:r
|
|
4551
4917
|
*
|
|
4552
|
-
* /{repo}/-/pulls/{number}/
|
|
4918
|
+
* /{repo}/-/pulls/{number}/commit-statuses
|
|
4553
4919
|
*/
|
|
4554
|
-
|
|
4555
|
-
|
|
4920
|
+
get: Pulls_ListPullCommitStatuses;
|
|
4921
|
+
};
|
|
4922
|
+
commits: {
|
|
4556
4923
|
/***
|
|
4557
|
-
*
|
|
4924
|
+
* 查询指定合并请求的提交列表。Lists the commits in a specified pull request.
|
|
4558
4925
|
*
|
|
4559
4926
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4560
|
-
* repo-notes:
|
|
4927
|
+
* repo-notes:r
|
|
4561
4928
|
*
|
|
4562
|
-
* /{repo}/-/pulls/{number}/
|
|
4929
|
+
* /{repo}/-/pulls/{number}/commits
|
|
4563
4930
|
*/
|
|
4564
|
-
|
|
4931
|
+
list: Pulls_ListPullCommits;
|
|
4565
4932
|
};
|
|
4566
|
-
|
|
4933
|
+
files: {
|
|
4567
4934
|
/***
|
|
4568
|
-
*
|
|
4935
|
+
* 查询指定合并请求的文件列表。Lists the files in a specified pull request.
|
|
4569
4936
|
*
|
|
4570
4937
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4571
|
-
* repo-
|
|
4938
|
+
* repo-notes:r
|
|
4572
4939
|
*
|
|
4573
|
-
* /{repo}/-/pulls/{number}/
|
|
4940
|
+
* /{repo}/-/pulls/{number}/files
|
|
4574
4941
|
*/
|
|
4575
|
-
|
|
4942
|
+
list: Pulls_ListPullFiles;
|
|
4943
|
+
};
|
|
4944
|
+
labels: {
|
|
4945
|
+
/***
|
|
4946
|
+
* 查询指定合并请求的标签列表。List labels for a pull.
|
|
4947
|
+
*
|
|
4948
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4949
|
+
* repo-notes:r
|
|
4950
|
+
*
|
|
4951
|
+
* /{repo}/-/pulls/{number}/labels
|
|
4952
|
+
*/
|
|
4953
|
+
list: Pulls_ListPullLabels;
|
|
4954
|
+
|
|
4955
|
+
/***
|
|
4956
|
+
* 设置合并请求标签。Set the new labels for a pull.
|
|
4957
|
+
*
|
|
4958
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4959
|
+
* repo-notes:rw
|
|
4960
|
+
*
|
|
4961
|
+
* /{repo}/-/pulls/{number}/labels
|
|
4962
|
+
*/
|
|
4963
|
+
put: Pulls_PutPullLabels;
|
|
4964
|
+
|
|
4965
|
+
/***
|
|
4966
|
+
* 新增合并请求标签。Add labels to a pull.
|
|
4967
|
+
*
|
|
4968
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4969
|
+
* repo-notes:rw
|
|
4970
|
+
*
|
|
4971
|
+
* /{repo}/-/pulls/{number}/labels
|
|
4972
|
+
*/
|
|
4973
|
+
post: Pulls_PostPullLabels;
|
|
4974
|
+
|
|
4975
|
+
/***
|
|
4976
|
+
* 清空合并请求标签。Remove all labels from a pull.
|
|
4977
|
+
*
|
|
4978
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4979
|
+
* repo-notes:rw
|
|
4980
|
+
*
|
|
4981
|
+
* /{repo}/-/pulls/{number}/labels
|
|
4982
|
+
*/
|
|
4983
|
+
delete: Pulls_DeletePullLabels;
|
|
4984
|
+
|
|
4985
|
+
/***
|
|
4986
|
+
* 删除合并请求标签。Remove a label from a pull.
|
|
4987
|
+
*
|
|
4988
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4989
|
+
* repo-notes:rw
|
|
4990
|
+
*
|
|
4991
|
+
* /{repo}/-/pulls/{number}/labels/{name}
|
|
4992
|
+
*/
|
|
4993
|
+
deleteByName: Pulls_DeletePullLabel;
|
|
4576
4994
|
};
|
|
4577
|
-
|
|
4995
|
+
merge: {
|
|
4578
4996
|
/***
|
|
4579
|
-
*
|
|
4997
|
+
* 合并一个合并请求。Merge a pull request.
|
|
4580
4998
|
*
|
|
4581
4999
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4582
5000
|
* repo-pr:rw
|
|
4583
5001
|
*
|
|
4584
|
-
* /{repo}/-/pulls/{number}/
|
|
5002
|
+
* /{repo}/-/pulls/{number}/merge
|
|
4585
5003
|
*/
|
|
4586
|
-
|
|
5004
|
+
put: Pulls_MergePull;
|
|
4587
5005
|
};
|
|
4588
5006
|
reviews: {
|
|
4589
5007
|
/***
|
|
4590
|
-
*
|
|
5008
|
+
* 查询特定合并请求的评审列表。List pull reviews.
|
|
4591
5009
|
*
|
|
4592
5010
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4593
5011
|
* repo-notes:r
|
|
@@ -4597,7 +5015,7 @@ interface Client {
|
|
|
4597
5015
|
list: Pulls_ListPullReviews;
|
|
4598
5016
|
|
|
4599
5017
|
/***
|
|
4600
|
-
*
|
|
5018
|
+
* 新增一次合并请求评审。Create a pull review.
|
|
4601
5019
|
*
|
|
4602
5020
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4603
5021
|
* repo-notes:rw
|
|
@@ -4607,7 +5025,7 @@ interface Client {
|
|
|
4607
5025
|
post: Pulls_PostPullReview;
|
|
4608
5026
|
comments: {
|
|
4609
5027
|
/***
|
|
4610
|
-
*
|
|
5028
|
+
* 查询指定合并请求评审评论列表。List pull review comments.
|
|
4611
5029
|
*
|
|
4612
5030
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4613
5031
|
* repo-notes:r
|
|
@@ -4630,7 +5048,7 @@ interface Client {
|
|
|
4630
5048
|
list: Releases_ListReleases;
|
|
4631
5049
|
|
|
4632
5050
|
/***
|
|
4633
|
-
* 新增一个
|
|
5051
|
+
* 新增一个 release。Create a release.
|
|
4634
5052
|
*
|
|
4635
5053
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4636
5054
|
* repo-code:rw
|
|
@@ -4651,7 +5069,7 @@ interface Client {
|
|
|
4651
5069
|
};
|
|
4652
5070
|
latest: {
|
|
4653
5071
|
/***
|
|
4654
|
-
*
|
|
5072
|
+
* 查询最新的 release。Query the latest release.
|
|
4655
5073
|
*
|
|
4656
5074
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4657
5075
|
* repo-code:r
|
|
@@ -4684,24 +5102,24 @@ interface Client {
|
|
|
4684
5102
|
};
|
|
4685
5103
|
|
|
4686
5104
|
/***
|
|
4687
|
-
*
|
|
5105
|
+
* 根据 id 查询指定 release, 包含附件信息。Get a release by id, include assets information.
|
|
4688
5106
|
*
|
|
4689
5107
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4690
|
-
* repo-code:
|
|
5108
|
+
* repo-code:r
|
|
4691
5109
|
*
|
|
4692
5110
|
* /{repo}/-/releases/{release_id}
|
|
4693
5111
|
*/
|
|
4694
|
-
|
|
5112
|
+
get: Releases_GetReleaseByID;
|
|
4695
5113
|
|
|
4696
5114
|
/***
|
|
4697
|
-
*
|
|
5115
|
+
* 删除指定的 release。Delete a release.
|
|
4698
5116
|
*
|
|
4699
5117
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4700
|
-
* repo-code:
|
|
5118
|
+
* repo-code:rw
|
|
4701
5119
|
*
|
|
4702
5120
|
* /{repo}/-/releases/{release_id}
|
|
4703
5121
|
*/
|
|
4704
|
-
|
|
5122
|
+
delete: Releases_DeleteRelease;
|
|
4705
5123
|
|
|
4706
5124
|
/***
|
|
4707
5125
|
* 更新 release。Update a release.
|
|
@@ -4714,7 +5132,7 @@ interface Client {
|
|
|
4714
5132
|
patch: Releases_PatchRelease;
|
|
4715
5133
|
assetUploadConfirmation: {
|
|
4716
5134
|
/***
|
|
4717
|
-
* 确认
|
|
5135
|
+
* 确认 release 附件上传完成。Confirm release asset upload.
|
|
4718
5136
|
*
|
|
4719
5137
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4720
5138
|
* repo-code:rw
|
|
@@ -4725,7 +5143,7 @@ interface Client {
|
|
|
4725
5143
|
};
|
|
4726
5144
|
assetUploadUrl: {
|
|
4727
5145
|
/***
|
|
4728
|
-
* 新增一个
|
|
5146
|
+
* 新增一个 release 附件。Create a release asset.
|
|
4729
5147
|
*
|
|
4730
5148
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4731
5149
|
* repo-code:rw
|
|
@@ -4736,38 +5154,40 @@ interface Client {
|
|
|
4736
5154
|
};
|
|
4737
5155
|
assets: {
|
|
4738
5156
|
/***
|
|
4739
|
-
*
|
|
5157
|
+
* 查询指定的 release 附件 the specified release asset.
|
|
4740
5158
|
*
|
|
4741
5159
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4742
|
-
* repo-code:
|
|
5160
|
+
* repo-code:r
|
|
4743
5161
|
*
|
|
4744
5162
|
* /{repo}/-/releases/{release_id}/assets/{asset_id}
|
|
4745
5163
|
*/
|
|
4746
|
-
|
|
5164
|
+
get: Releases_GetReleaseAsset;
|
|
4747
5165
|
|
|
4748
5166
|
/***
|
|
4749
|
-
*
|
|
5167
|
+
* 删除指定的 release 附件 the specified release asset.
|
|
4750
5168
|
*
|
|
4751
5169
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4752
|
-
* repo-code:
|
|
5170
|
+
* repo-code:rw
|
|
4753
5171
|
*
|
|
4754
5172
|
* /{repo}/-/releases/{release_id}/assets/{asset_id}
|
|
4755
5173
|
*/
|
|
4756
|
-
|
|
5174
|
+
delete: Releases_DeleteReleaseAsset;
|
|
4757
5175
|
};
|
|
4758
5176
|
};
|
|
4759
|
-
|
|
4760
|
-
|
|
5177
|
+
security: {
|
|
5178
|
+
overview: {
|
|
4761
5179
|
/***
|
|
4762
|
-
*
|
|
5180
|
+
* 查询仓库安全模块概览数据。Query the security overview data of a repository
|
|
4763
5181
|
*
|
|
4764
5182
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4765
|
-
* repo-
|
|
5183
|
+
* repo-security:r
|
|
4766
5184
|
*
|
|
4767
|
-
* /{repo}/-/
|
|
5185
|
+
* /{repo}/-/security/overview
|
|
4768
5186
|
*/
|
|
4769
|
-
|
|
5187
|
+
get: Security_GetRepoSecurityOverview;
|
|
4770
5188
|
};
|
|
5189
|
+
};
|
|
5190
|
+
settings: {
|
|
4771
5191
|
branchProtections: {
|
|
4772
5192
|
/***
|
|
4773
5193
|
* 查询仓库保护分支规则列表。List branch protection rules.
|
|
@@ -4790,24 +5210,24 @@ interface Client {
|
|
|
4790
5210
|
post: GitSettings_PostBranchProtection;
|
|
4791
5211
|
|
|
4792
5212
|
/***
|
|
4793
|
-
*
|
|
5213
|
+
* 查询仓库保护分支规则。Get branch protection rule.
|
|
4794
5214
|
*
|
|
4795
5215
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4796
|
-
* repo-manage:
|
|
5216
|
+
* repo-manage:r
|
|
4797
5217
|
*
|
|
4798
5218
|
* /{repo}/-/settings/branch-protections/{id}
|
|
4799
5219
|
*/
|
|
4800
|
-
|
|
5220
|
+
get: GitSettings_GetBranchProtection;
|
|
4801
5221
|
|
|
4802
5222
|
/***
|
|
4803
|
-
*
|
|
5223
|
+
* 删除仓库保护分支规则。 Delete branch protection rule.
|
|
4804
5224
|
*
|
|
4805
5225
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4806
|
-
* repo-manage:
|
|
5226
|
+
* repo-manage:rw
|
|
4807
5227
|
*
|
|
4808
5228
|
* /{repo}/-/settings/branch-protections/{id}
|
|
4809
5229
|
*/
|
|
4810
|
-
|
|
5230
|
+
delete: GitSettings_DeleteBranchProtection;
|
|
4811
5231
|
|
|
4812
5232
|
/***
|
|
4813
5233
|
* 更新仓库保护分支规则。Update branch protection rule.
|
|
@@ -4852,7 +5272,7 @@ interface Client {
|
|
|
4852
5272
|
get: GitSettings_GetPullRequestSettings;
|
|
4853
5273
|
|
|
4854
5274
|
/***
|
|
4855
|
-
*
|
|
5275
|
+
* 更新仓库合并请求设置。Set pull request settings.
|
|
4856
5276
|
*
|
|
4857
5277
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4858
5278
|
* repo-manage:rw
|
|
@@ -4882,43 +5302,21 @@ interface Client {
|
|
|
4882
5302
|
*/
|
|
4883
5303
|
put: GitSettings_PutPushLimitSettings;
|
|
4884
5304
|
};
|
|
4885
|
-
|
|
5305
|
+
setVisibility: {
|
|
4886
5306
|
/***
|
|
4887
|
-
*
|
|
5307
|
+
* 改变仓库可见性。Update visibility of repository.
|
|
4888
5308
|
*
|
|
4889
5309
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4890
|
-
* repo-manage:rw
|
|
5310
|
+
* repo-manage:rw
|
|
4891
5311
|
*
|
|
4892
|
-
* /{repo}/-/settings/
|
|
5312
|
+
* /{repo}/-/settings/set_visibility
|
|
4893
5313
|
*/
|
|
4894
|
-
post:
|
|
5314
|
+
post: Repositories_SetRepoVisibility;
|
|
4895
5315
|
};
|
|
4896
5316
|
};
|
|
4897
|
-
stars: {
|
|
4898
|
-
/***
|
|
4899
|
-
* 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
|
|
4900
|
-
*
|
|
4901
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4902
|
-
* repo-basic-info:r
|
|
4903
|
-
*
|
|
4904
|
-
* /{repo}/-/stars
|
|
4905
|
-
*/
|
|
4906
|
-
get: Starring_ListStarUsers;
|
|
4907
|
-
};
|
|
4908
|
-
topActivityUsers: {
|
|
4909
|
-
/***
|
|
4910
|
-
* 获取 top 贡献用户。List the top contributing users
|
|
4911
|
-
*
|
|
4912
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4913
|
-
* repo-base-info:r
|
|
4914
|
-
*
|
|
4915
|
-
* /{repo}/-/top-activity-users
|
|
4916
|
-
*/
|
|
4917
|
-
list: Collaborators_TopContributors;
|
|
4918
|
-
};
|
|
4919
5317
|
transfer: {
|
|
4920
5318
|
/***
|
|
4921
|
-
*
|
|
5319
|
+
* 转移仓库。Transfer a repository.
|
|
4922
5320
|
*
|
|
4923
5321
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4924
5322
|
* repo-manage:rw,repo-code:rw
|
|
@@ -4950,28 +5348,6 @@ interface Client {
|
|
|
4950
5348
|
*/
|
|
4951
5349
|
post: Assets_UploadImgs;
|
|
4952
5350
|
};
|
|
4953
|
-
releases: {
|
|
4954
|
-
/***
|
|
4955
|
-
* 发起一个上传 release 附件的请求,返回上传文件的url,附件上限是64GiB。请使用 put 发起流式上传。
|
|
4956
|
-
*
|
|
4957
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4958
|
-
* repo-contents:rw
|
|
4959
|
-
*
|
|
4960
|
-
* /{repo}/-/upload/releases/{tagName}
|
|
4961
|
-
*/
|
|
4962
|
-
post: Assets_UploadReleases;
|
|
4963
|
-
};
|
|
4964
|
-
wiki: {
|
|
4965
|
-
/***
|
|
4966
|
-
* 发起一个上传 wiki 文件的请求,返回上传文件的url,请使用 put 发起流式上传。Initiate a request to upload wiki files,returns upload URL.Use PUT to initiate a stream upload.
|
|
4967
|
-
*
|
|
4968
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4969
|
-
* repo-contents:rw
|
|
4970
|
-
*
|
|
4971
|
-
* /{repo}/-/upload/wiki
|
|
4972
|
-
*/
|
|
4973
|
-
post: wiki_UploadWikiFile;
|
|
4974
|
-
};
|
|
4975
5351
|
};
|
|
4976
5352
|
workspace: {
|
|
4977
5353
|
detail: {
|
|
@@ -4999,145 +5375,328 @@ interface Client {
|
|
|
4999
5375
|
};
|
|
5000
5376
|
};
|
|
5001
5377
|
slug: {
|
|
5378
|
+
contributor: {
|
|
5379
|
+
trend: {
|
|
5380
|
+
/***
|
|
5381
|
+
* 查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.
|
|
5382
|
+
*
|
|
5383
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5384
|
+
* repo-code:r
|
|
5385
|
+
*
|
|
5386
|
+
* /{slug}/-/contributor/trend
|
|
5387
|
+
*/
|
|
5388
|
+
get: RepoContributor_GetRepoContributorTrend;
|
|
5389
|
+
};
|
|
5390
|
+
};
|
|
5391
|
+
listMembers: {
|
|
5392
|
+
/***
|
|
5393
|
+
* 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
|
|
5394
|
+
*
|
|
5395
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5396
|
+
* repo-manage:r
|
|
5397
|
+
*
|
|
5398
|
+
* /{slug}/-/list-members
|
|
5399
|
+
*/
|
|
5400
|
+
list: Collaborators_ListAllMembers;
|
|
5401
|
+
};
|
|
5402
|
+
missions: {
|
|
5403
|
+
/***
|
|
5404
|
+
* 查询组织下面用户有权限查看到的任务集。Query all missions that the user has permission to see under the specific organization.
|
|
5405
|
+
*
|
|
5406
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5407
|
+
* group-resource:r
|
|
5408
|
+
*
|
|
5409
|
+
* /{slug}/-/missions
|
|
5410
|
+
*/
|
|
5411
|
+
list: Missions_GetGroupSubMissions;
|
|
5412
|
+
|
|
5413
|
+
/***
|
|
5414
|
+
* 创建任务集。Create a mission.
|
|
5415
|
+
*
|
|
5416
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5417
|
+
* group-resource:rw
|
|
5418
|
+
*
|
|
5419
|
+
* /{slug}/-/missions
|
|
5420
|
+
*/
|
|
5421
|
+
post: Missions_CreateMission;
|
|
5422
|
+
};
|
|
5423
|
+
outsideCollaborators: {
|
|
5424
|
+
/***
|
|
5425
|
+
* 获取指定仓库内的外部贡献者。List external contributors in specified repository.
|
|
5426
|
+
*
|
|
5427
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5428
|
+
* repo-manage:r
|
|
5429
|
+
*
|
|
5430
|
+
* /{slug}/-/outside-collaborators
|
|
5431
|
+
*/
|
|
5432
|
+
list: Collaborators_ListOutsideCollaborators;
|
|
5433
|
+
|
|
5434
|
+
/***
|
|
5435
|
+
* 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
|
|
5436
|
+
*
|
|
5437
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5438
|
+
* repo-manage:rw
|
|
5439
|
+
*
|
|
5440
|
+
* /{slug}/-/outside-collaborators/{username}
|
|
5441
|
+
*/
|
|
5442
|
+
put: Collaborators_UpdateOutsideCollaborators;
|
|
5443
|
+
|
|
5444
|
+
/***
|
|
5445
|
+
* 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
|
|
5446
|
+
*
|
|
5447
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5448
|
+
* repo-manage:rw
|
|
5449
|
+
*
|
|
5450
|
+
* /{slug}/-/outside-collaborators/{username}
|
|
5451
|
+
*/
|
|
5452
|
+
delete: Collaborators_DeleteOutsideCollaborators;
|
|
5453
|
+
};
|
|
5002
5454
|
packages: {
|
|
5003
5455
|
/***
|
|
5004
5456
|
* 查询制品列表。 List all packages.
|
|
5005
5457
|
*
|
|
5458
|
+
* 制品首页
|
|
5006
5459
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5007
5460
|
* registry-package:r
|
|
5008
5461
|
*
|
|
5009
5462
|
* /{slug}/-/packages
|
|
5010
5463
|
*/
|
|
5011
|
-
list:
|
|
5464
|
+
list: Registries_ListPackages;
|
|
5012
5465
|
|
|
5013
5466
|
/***
|
|
5014
|
-
*
|
|
5467
|
+
* 获取指定制品的详细信息。 Get the package detail.
|
|
5015
5468
|
*
|
|
5469
|
+
* 制品详情页
|
|
5016
5470
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5017
5471
|
* registry-package:r
|
|
5018
5472
|
*
|
|
5019
|
-
* /{slug}/-/packages
|
|
5473
|
+
* /{slug}/-/packages/{type}/{name}
|
|
5020
5474
|
*/
|
|
5021
|
-
|
|
5475
|
+
get: Registries_GetPackage;
|
|
5022
5476
|
|
|
5023
5477
|
/***
|
|
5024
|
-
*
|
|
5478
|
+
* 删除制品。 Delete the specific package.
|
|
5025
5479
|
*
|
|
5480
|
+
* 制品详情页-删除制品
|
|
5026
5481
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5027
|
-
* registry-package:
|
|
5482
|
+
* registry-package-delete:rw
|
|
5028
5483
|
*
|
|
5029
5484
|
* /{slug}/-/packages/{type}/{name}
|
|
5030
5485
|
*/
|
|
5031
|
-
|
|
5486
|
+
delete: Registries_DeletePackage;
|
|
5032
5487
|
name: {
|
|
5033
5488
|
tag: {
|
|
5034
5489
|
/***
|
|
5035
|
-
*
|
|
5490
|
+
* 获取制品标签详情。 Get the specific tag under specific package.
|
|
5036
5491
|
*
|
|
5492
|
+
* 制品详情页-版本详情
|
|
5037
5493
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5038
|
-
* registry-package
|
|
5494
|
+
* registry-package:r
|
|
5039
5495
|
*
|
|
5040
5496
|
* /{slug}/-/packages/{type}/{name}/-/tag/{tag}
|
|
5041
5497
|
*/
|
|
5042
|
-
|
|
5498
|
+
get: Registries_GetPackageTagDetail;
|
|
5043
5499
|
|
|
5044
5500
|
/***
|
|
5045
|
-
*
|
|
5501
|
+
* 删除制品标签。 Delete the specific tag under specific package
|
|
5046
5502
|
*
|
|
5503
|
+
* 制品详情页-版本详情-删除标签
|
|
5047
5504
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5048
|
-
* registry-package:
|
|
5505
|
+
* registry-package-delete:rw
|
|
5049
5506
|
*
|
|
5050
5507
|
* /{slug}/-/packages/{type}/{name}/-/tag/{tag}
|
|
5051
5508
|
*/
|
|
5052
|
-
|
|
5509
|
+
delete: Registries_DeletePackageTag;
|
|
5053
5510
|
};
|
|
5054
|
-
};
|
|
5055
|
-
pkgname: {
|
|
5056
5511
|
tags: {
|
|
5057
5512
|
/***
|
|
5058
5513
|
* 查询制品标签列表。 List all tags under specific package.
|
|
5059
5514
|
*
|
|
5515
|
+
* 制品详情页-版本列表
|
|
5060
5516
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5061
5517
|
* registry-package:r
|
|
5062
5518
|
*
|
|
5063
|
-
* /{slug}/-/packages/{type}/{
|
|
5519
|
+
* /{slug}/-/packages/{type}/{name}/-/tags
|
|
5064
5520
|
*/
|
|
5065
|
-
get:
|
|
5521
|
+
get: Registries_ListPackageTags;
|
|
5066
5522
|
};
|
|
5067
5523
|
};
|
|
5068
5524
|
};
|
|
5069
|
-
|
|
5070
|
-
|
|
5525
|
+
pinnedRepos: {
|
|
5526
|
+
/***
|
|
5527
|
+
* 获取指定组织的仓库墙列表。List the pinned repositories of a group.
|
|
5528
|
+
*
|
|
5529
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5530
|
+
* group-manage:r
|
|
5531
|
+
*
|
|
5532
|
+
* /{slug}/-/pinned-repos
|
|
5533
|
+
*/
|
|
5534
|
+
list: Repositories_GetPinnedRepoByGroup;
|
|
5535
|
+
|
|
5536
|
+
/***
|
|
5537
|
+
* 更新指定组织仓库墙。Update the pinned repositories of a group.
|
|
5538
|
+
*
|
|
5539
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5540
|
+
* group-manage:rw
|
|
5541
|
+
*
|
|
5542
|
+
* /{slug}/-/pinned-repos
|
|
5543
|
+
*/
|
|
5544
|
+
put: Repositories_SetPinnedRepoByGroup;
|
|
5545
|
+
};
|
|
5546
|
+
registries: {
|
|
5547
|
+
/***
|
|
5548
|
+
* 查询组织下面用户有权限查看到的制品仓库。Query all registries that the user has permission to see under specific organization.
|
|
5549
|
+
*
|
|
5550
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5551
|
+
* group-resource:r
|
|
5552
|
+
*
|
|
5553
|
+
* /{slug}/-/registries
|
|
5554
|
+
*/
|
|
5555
|
+
list: Registries_GetGroupSubRegistries;
|
|
5556
|
+
};
|
|
5557
|
+
repos: {
|
|
5558
|
+
/***
|
|
5559
|
+
* 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
|
|
5560
|
+
*
|
|
5561
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5562
|
+
* group-resource:r
|
|
5563
|
+
*
|
|
5564
|
+
* /{slug}/-/repos
|
|
5565
|
+
*/
|
|
5566
|
+
list: Repositories_GetGroupSubRepos;
|
|
5567
|
+
|
|
5568
|
+
/***
|
|
5569
|
+
* 创建仓库。Create repositories.
|
|
5570
|
+
*
|
|
5571
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5572
|
+
* group-resource:rw
|
|
5573
|
+
*
|
|
5574
|
+
* /{slug}/-/repos
|
|
5575
|
+
*/
|
|
5576
|
+
post: Repositories_CreateRepo;
|
|
5577
|
+
};
|
|
5578
|
+
settings: {
|
|
5579
|
+
/***
|
|
5580
|
+
* 获取指定组织的配置详情。Get the configuration details for the specified organization.
|
|
5581
|
+
*
|
|
5582
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5583
|
+
* group-manage:r
|
|
5584
|
+
*
|
|
5585
|
+
* /{slug}/-/settings
|
|
5586
|
+
*/
|
|
5587
|
+
get: Organizations_GetGroupSetting;
|
|
5588
|
+
|
|
5589
|
+
/***
|
|
5590
|
+
* 更新指定组织的配置。Updates the configuration for the specified organization.
|
|
5591
|
+
*
|
|
5592
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5593
|
+
* group-manage:rw
|
|
5594
|
+
*
|
|
5595
|
+
* /{slug}/-/settings
|
|
5596
|
+
*/
|
|
5597
|
+
put: Organizations_UpdateGroupSetting;
|
|
5598
|
+
archive: {
|
|
5071
5599
|
/***
|
|
5072
|
-
*
|
|
5600
|
+
* 仓库归档。Archive a repository.
|
|
5073
5601
|
*
|
|
5074
5602
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5075
|
-
*
|
|
5603
|
+
* repo-manage:rw,repo-code:rw
|
|
5076
5604
|
*
|
|
5077
|
-
* /{slug}/-/
|
|
5605
|
+
* /{slug}/-/settings/archive
|
|
5078
5606
|
*/
|
|
5079
|
-
|
|
5607
|
+
post: Repositories_ArchiveRepo;
|
|
5080
5608
|
};
|
|
5081
|
-
|
|
5609
|
+
unarchive: {
|
|
5082
5610
|
/***
|
|
5083
|
-
*
|
|
5611
|
+
* 解除仓库归档。Unarchive a repository.
|
|
5084
5612
|
*
|
|
5085
5613
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5086
|
-
*
|
|
5614
|
+
* repo-manage:rw,repo-code:rw
|
|
5087
5615
|
*
|
|
5088
|
-
* /{slug}/-/
|
|
5616
|
+
* /{slug}/-/settings/unarchive
|
|
5089
5617
|
*/
|
|
5090
|
-
|
|
5091
|
-
download: {
|
|
5092
|
-
/***
|
|
5093
|
-
* 下载制品配额信息。 Download registry quota details.
|
|
5094
|
-
*
|
|
5095
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5096
|
-
* registry-package:r
|
|
5097
|
-
*
|
|
5098
|
-
* /{slug}/-/registry/-/quotas/download
|
|
5099
|
-
*/
|
|
5100
|
-
list: Artifactory_DownloadRegistryQuotas;
|
|
5101
|
-
};
|
|
5618
|
+
post: Repositories_UnArchiveRepo;
|
|
5102
5619
|
};
|
|
5103
5620
|
};
|
|
5621
|
+
stars: {
|
|
5622
|
+
/***
|
|
5623
|
+
* 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
|
|
5624
|
+
*
|
|
5625
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5626
|
+
* repo-basic-info:r
|
|
5627
|
+
*
|
|
5628
|
+
* /{slug}/-/stars
|
|
5629
|
+
*/
|
|
5630
|
+
get: Starring_ListStarUsers;
|
|
5631
|
+
};
|
|
5632
|
+
subGroups: {
|
|
5633
|
+
/***
|
|
5634
|
+
* 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
|
|
5635
|
+
*
|
|
5636
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5637
|
+
* group-resource:r
|
|
5638
|
+
*
|
|
5639
|
+
* /{slug}/-/sub-groups
|
|
5640
|
+
*/
|
|
5641
|
+
list: Organizations_ListSubgroups;
|
|
5642
|
+
};
|
|
5643
|
+
topActivityUsers: {
|
|
5644
|
+
/***
|
|
5645
|
+
* 获取 top 贡献用户。List the top contributing users
|
|
5646
|
+
*
|
|
5647
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5648
|
+
* repo-base-info:r
|
|
5649
|
+
*
|
|
5650
|
+
* /{slug}/-/top-activity-users
|
|
5651
|
+
*/
|
|
5652
|
+
list: Collaborators_TopContributors;
|
|
5653
|
+
};
|
|
5654
|
+
};
|
|
5655
|
+
Event: {
|
|
5656
|
+
GetEvents: Event_GetEvents;
|
|
5104
5657
|
};
|
|
5105
5658
|
Organizations: {
|
|
5106
5659
|
CreateOrganization: Organizations_CreateOrganization;
|
|
5107
5660
|
ListTopGroups: Organizations_ListTopGroups;
|
|
5108
5661
|
ListGroups: Organizations_ListGroups;
|
|
5109
5662
|
GetGroupsByUserID: Organizations_GetGroupsByUserID;
|
|
5110
|
-
DeleteOrganization: Organizations_DeleteOrganization;
|
|
5111
5663
|
GetGroup: Organizations_GetGroup;
|
|
5112
5664
|
UpdateOrganization: Organizations_UpdateOrganization;
|
|
5665
|
+
DeleteOrganization: Organizations_DeleteOrganization;
|
|
5666
|
+
TransferGroup: Organizations_TransferGroup;
|
|
5667
|
+
UploadLogos: Organizations_UploadLogos;
|
|
5113
5668
|
GetGroupSetting: Organizations_GetGroupSetting;
|
|
5114
5669
|
UpdateGroupSetting: Organizations_UpdateGroupSetting;
|
|
5115
5670
|
ListSubgroups: Organizations_ListSubgroups;
|
|
5116
|
-
TransferGroup: Organizations_TransferGroup;
|
|
5117
5671
|
};
|
|
5118
5672
|
Users: {
|
|
5119
5673
|
GetUserInfo: Users_GetUserInfo;
|
|
5120
5674
|
UpdateUserInfo: Users_UpdateUserInfo;
|
|
5121
5675
|
AutoCompleteSource: Users_AutoCompleteSource;
|
|
5676
|
+
ListGPGKeys: Users_ListGPGKeys;
|
|
5122
5677
|
GetUserInfoByName: Users_GetUserInfoByName;
|
|
5123
5678
|
};
|
|
5124
5679
|
Repositories: {
|
|
5125
5680
|
GetRepos: Repositories_GetRepos;
|
|
5126
|
-
GetUserAllStaredRepos: Repositories_GetUserAllStaredRepos;
|
|
5127
5681
|
GetPinnedRepoByID: Repositories_GetPinnedRepoByID;
|
|
5128
5682
|
GetReposByUserName: Repositories_GetReposByUserName;
|
|
5683
|
+
GetByID: Repositories_GetByID;
|
|
5684
|
+
DeleteRepo: Repositories_DeleteRepo;
|
|
5685
|
+
UpdateRepo: Repositories_UpdateRepo;
|
|
5686
|
+
ListForksRepos: Repositories_ListForksRepos;
|
|
5687
|
+
SetRepoVisibility: Repositories_SetRepoVisibility;
|
|
5688
|
+
TransferRepo: Repositories_TransferRepo;
|
|
5129
5689
|
GetPinnedRepoByGroup: Repositories_GetPinnedRepoByGroup;
|
|
5130
5690
|
SetPinnedRepoByGroup: Repositories_SetPinnedRepoByGroup;
|
|
5131
5691
|
GetGroupSubRepos: Repositories_GetGroupSubRepos;
|
|
5132
5692
|
CreateRepo: Repositories_CreateRepo;
|
|
5133
|
-
DeleteRepo: Repositories_DeleteRepo;
|
|
5134
|
-
GetByID: Repositories_GetByID;
|
|
5135
|
-
UpdateRepo: Repositories_UpdateRepo;
|
|
5136
|
-
ListForksRepos: Repositories_ListForksRepos;
|
|
5137
|
-
CreateAFork: Repositories_CreateAFork;
|
|
5138
5693
|
ArchiveRepo: Repositories_ArchiveRepo;
|
|
5139
5694
|
UnArchiveRepo: Repositories_UnArchiveRepo;
|
|
5140
|
-
|
|
5695
|
+
};
|
|
5696
|
+
Starring: {
|
|
5697
|
+
GetUserAllStaredRepos: Starring_GetUserAllStaredRepos;
|
|
5698
|
+
GetUserStaredRepos: Starring_GetUserStaredRepos;
|
|
5699
|
+
ListStarUsers: Starring_ListStarUsers;
|
|
5141
5700
|
};
|
|
5142
5701
|
Activities: {
|
|
5143
5702
|
GetUserActivitiesByDate: Activities_GetUserActivitiesByDate;
|
|
@@ -5147,33 +5706,30 @@ interface Client {
|
|
|
5147
5706
|
GetFollowersByUserID: Followers_GetFollowersByUserID;
|
|
5148
5707
|
GetFollowingByUserID: Followers_GetFollowingByUserID;
|
|
5149
5708
|
};
|
|
5150
|
-
Starring: {
|
|
5151
|
-
GetUserStaredRepos: Starring_GetUserStaredRepos;
|
|
5152
|
-
ListStarUsers: Starring_ListStarUsers;
|
|
5153
|
-
};
|
|
5154
5709
|
Workspace: {
|
|
5155
5710
|
DeleteWorkspace: Workspace_DeleteWorkspace;
|
|
5156
5711
|
ListWorkspaces: Workspace_ListWorkspaces;
|
|
5712
|
+
WorkspaceStop: Workspace_WorkspaceStop;
|
|
5157
5713
|
GetWorkspaceDetail: Workspace_GetWorkspaceDetail;
|
|
5158
5714
|
StartWorkspace: Workspace_StartWorkspace;
|
|
5159
5715
|
};
|
|
5160
5716
|
Collaborators: {
|
|
5161
5717
|
ListInheritMembersOfGroup: Collaborators_ListInheritMembersOfGroup;
|
|
5162
5718
|
ListMembersOfGroup: Collaborators_ListMembersOfGroup;
|
|
5163
|
-
DeleteMembersOfGroup: Collaborators_DeleteMembersOfGroup;
|
|
5164
|
-
AddMembersOfGroup: Collaborators_AddMembersOfGroup;
|
|
5165
5719
|
UpdateMembersOfGroup: Collaborators_UpdateMembersOfGroup;
|
|
5720
|
+
AddMembersOfGroup: Collaborators_AddMembersOfGroup;
|
|
5721
|
+
DeleteMembersOfGroup: Collaborators_DeleteMembersOfGroup;
|
|
5166
5722
|
AddMembersOfMission: Collaborators_AddMembersOfMission;
|
|
5167
5723
|
AddMembersOfRegistry: Collaborators_AddMembersOfRegistry;
|
|
5168
5724
|
ListInheritMembersOfRepo: Collaborators_ListInheritMembersOfRepo;
|
|
5169
|
-
ListAllMembers: Collaborators_ListAllMembers;
|
|
5170
5725
|
ListMembersOfRepo: Collaborators_ListMembersOfRepo;
|
|
5171
|
-
DeleteMembersOfRepo: Collaborators_DeleteMembersOfRepo;
|
|
5172
|
-
AddMembersOfRepo: Collaborators_AddMembersOfRepo;
|
|
5173
5726
|
UpdateMembersOfRepo: Collaborators_UpdateMembersOfRepo;
|
|
5727
|
+
AddMembersOfRepo: Collaborators_AddMembersOfRepo;
|
|
5728
|
+
DeleteMembersOfRepo: Collaborators_DeleteMembersOfRepo;
|
|
5729
|
+
ListAllMembers: Collaborators_ListAllMembers;
|
|
5174
5730
|
ListOutsideCollaborators: Collaborators_ListOutsideCollaborators;
|
|
5175
|
-
DeleteOutsideCollaborators: Collaborators_DeleteOutsideCollaborators;
|
|
5176
5731
|
UpdateOutsideCollaborators: Collaborators_UpdateOutsideCollaborators;
|
|
5732
|
+
DeleteOutsideCollaborators: Collaborators_DeleteOutsideCollaborators;
|
|
5177
5733
|
TopContributors: Collaborators_TopContributors;
|
|
5178
5734
|
};
|
|
5179
5735
|
Contributors: {
|
|
@@ -5183,60 +5739,61 @@ interface Client {
|
|
|
5183
5739
|
ListMemberAccessLevelOfRepo: Contributors_ListMemberAccessLevelOfRepo;
|
|
5184
5740
|
};
|
|
5185
5741
|
Missions: {
|
|
5186
|
-
CreateMission: Missions_CreateMission;
|
|
5187
5742
|
DeleteMission: Missions_DeleteMission;
|
|
5188
5743
|
GetMissionViewConfig: Missions_GetMissionViewConfig;
|
|
5189
5744
|
PostMissionViewConfig: Missions_PostMissionViewConfig;
|
|
5190
5745
|
GetMissionViewList: Missions_GetMissionViewList;
|
|
5191
|
-
PostMissionViewList: Missions_PostMissionViewList;
|
|
5192
5746
|
PutMissionViewList: Missions_PutMissionViewList;
|
|
5747
|
+
PostMissionViewList: Missions_PostMissionViewList;
|
|
5748
|
+
SetMissionVisibility: Missions_SetMissionVisibility;
|
|
5749
|
+
GetGroupSubMissions: Missions_GetGroupSubMissions;
|
|
5750
|
+
CreateMission: Missions_CreateMission;
|
|
5193
5751
|
};
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
DeleteRegistry: Artifactory_DeleteRegistry;
|
|
5205
|
-
ListPackages: Artifactory_ListPackages;
|
|
5206
|
-
HeadPackages: Artifactory_HeadPackages;
|
|
5207
|
-
GetPackage: Artifactory_GetPackage;
|
|
5208
|
-
DeletePackageTag: Artifactory_DeletePackageTag;
|
|
5209
|
-
GetPackageTagDetail: Artifactory_GetPackageTagDetail;
|
|
5210
|
-
ListPackageTags: Artifactory_ListPackageTags;
|
|
5211
|
-
GetRegistryQuota: Artifactory_GetRegistryQuota;
|
|
5212
|
-
GetRegistryQuotas: Artifactory_GetRegistryQuotas;
|
|
5213
|
-
DownloadRegistryQuotas: Artifactory_DownloadRegistryQuotas;
|
|
5752
|
+
Registries: {
|
|
5753
|
+
DeleteRegistry: Registries_DeleteRegistry;
|
|
5754
|
+
SetRegistryVisibility: Registries_SetRegistryVisibility;
|
|
5755
|
+
ListPackages: Registries_ListPackages;
|
|
5756
|
+
GetPackage: Registries_GetPackage;
|
|
5757
|
+
DeletePackage: Registries_DeletePackage;
|
|
5758
|
+
GetPackageTagDetail: Registries_GetPackageTagDetail;
|
|
5759
|
+
DeletePackageTag: Registries_DeletePackageTag;
|
|
5760
|
+
ListPackageTags: Registries_ListPackageTags;
|
|
5761
|
+
GetGroupSubRegistries: Registries_GetGroupSubRegistries;
|
|
5214
5762
|
};
|
|
5215
|
-
|
|
5216
|
-
AiChatCompletions:
|
|
5763
|
+
AI: {
|
|
5764
|
+
AiChatCompletions: AI_AiChatCompletions;
|
|
5765
|
+
AiAutoPr: AI_AiAutoPr;
|
|
5217
5766
|
};
|
|
5218
5767
|
Badge: {
|
|
5768
|
+
GetBadge: Badge_GetBadge;
|
|
5769
|
+
ListBadge: Badge_ListBadge;
|
|
5219
5770
|
UploadBadge: Badge_UploadBadge;
|
|
5220
5771
|
};
|
|
5221
5772
|
Build: {
|
|
5222
5773
|
GetBuildLogs: Build_GetBuildLogs;
|
|
5223
5774
|
GetBuildStage: Build_GetBuildStage;
|
|
5775
|
+
BuildLogsDelete: Build_BuildLogsDelete;
|
|
5224
5776
|
BuildRunnerDownloadLog: Build_BuildRunnerDownloadLog;
|
|
5225
5777
|
StartBuild: Build_StartBuild;
|
|
5226
5778
|
GetBuildStatus: Build_GetBuildStatus;
|
|
5227
5779
|
StopBuild: Build_StopBuild;
|
|
5228
5780
|
};
|
|
5229
|
-
|
|
5230
|
-
|
|
5781
|
+
Assets: {
|
|
5782
|
+
GetCommitAssets: Assets_GetCommitAssets;
|
|
5783
|
+
GetReleasesAsset: Assets_GetReleasesAsset;
|
|
5784
|
+
GetLatestReleasesAsset: Assets_GetLatestReleasesAsset;
|
|
5785
|
+
UploadFiles: Assets_UploadFiles;
|
|
5786
|
+
UploadImgs: Assets_UploadImgs;
|
|
5231
5787
|
};
|
|
5232
5788
|
Git: {
|
|
5233
5789
|
GetArchiveCommitChangedFiles: Git_GetArchiveCommitChangedFiles;
|
|
5234
5790
|
GetArchiveCompareChangedFiles: Git_GetArchiveCompareChangedFiles;
|
|
5791
|
+
GetArchive: Git_GetArchive;
|
|
5235
5792
|
CreateBlob: Git_CreateBlob;
|
|
5236
5793
|
ListBranches: Git_ListBranches;
|
|
5237
5794
|
CreateBranch: Git_CreateBranch;
|
|
5238
|
-
DeleteBranch: Git_DeleteBranch;
|
|
5239
5795
|
GetBranch: Git_GetBranch;
|
|
5796
|
+
DeleteBranch: Git_DeleteBranch;
|
|
5240
5797
|
GetCommitAnnotationsInBatch: Git_GetCommitAnnotationsInBatch;
|
|
5241
5798
|
GetCommitAnnotations: Git_GetCommitAnnotations;
|
|
5242
5799
|
PutCommitAnnotations: Git_PutCommitAnnotations;
|
|
@@ -5249,41 +5806,41 @@ interface Client {
|
|
|
5249
5806
|
ListCommits: Git_ListCommits;
|
|
5250
5807
|
GetCommit: Git_GetCommit;
|
|
5251
5808
|
GetCompareCommits: Git_GetCompareCommits;
|
|
5809
|
+
GetContentWithoutPath: Git_GetContentWithoutPath;
|
|
5252
5810
|
GetContent: Git_GetContent;
|
|
5253
|
-
ListDeferredCommits: Git_ListDeferredCommits;
|
|
5254
5811
|
GetHead: Git_GetHead;
|
|
5812
|
+
GetRaw: Git_GetRaw;
|
|
5255
5813
|
DeleteTagAnnotation: Git_DeleteTagAnnotation;
|
|
5256
5814
|
GetTagAnnotations: Git_GetTagAnnotations;
|
|
5257
5815
|
PutTagAnnotations: Git_PutTagAnnotations;
|
|
5258
5816
|
ListTags: Git_ListTags;
|
|
5259
5817
|
CreateTag: Git_CreateTag;
|
|
5260
|
-
DeleteTag: Git_DeleteTag;
|
|
5261
5818
|
GetTag: Git_GetTag;
|
|
5262
|
-
|
|
5819
|
+
DeleteTag: Git_DeleteTag;
|
|
5263
5820
|
};
|
|
5264
5821
|
Issues: {
|
|
5265
5822
|
ListIssues: Issues_ListIssues;
|
|
5266
5823
|
CreateIssue: Issues_CreateIssue;
|
|
5267
5824
|
GetIssue: Issues_GetIssue;
|
|
5268
5825
|
UpdateIssue: Issues_UpdateIssue;
|
|
5269
|
-
DeleteIssueAssignees: Issues_DeleteIssueAssignees;
|
|
5270
5826
|
ListIssueAssignees: Issues_ListIssueAssignees;
|
|
5271
|
-
PatchIssueAssignees: Issues_PatchIssueAssignees;
|
|
5272
5827
|
PostIssueAssignees: Issues_PostIssueAssignees;
|
|
5828
|
+
DeleteIssueAssignees: Issues_DeleteIssueAssignees;
|
|
5829
|
+
PatchIssueAssignees: Issues_PatchIssueAssignees;
|
|
5273
5830
|
CanUserBeAssignedToIssue: Issues_CanUserBeAssignedToIssue;
|
|
5274
5831
|
ListIssueComments: Issues_ListIssueComments;
|
|
5275
5832
|
PostIssueComment: Issues_PostIssueComment;
|
|
5276
5833
|
GetIssueComment: Issues_GetIssueComment;
|
|
5277
5834
|
PatchIssueComment: Issues_PatchIssueComment;
|
|
5278
|
-
DeleteIssueLabels: Issues_DeleteIssueLabels;
|
|
5279
5835
|
ListIssueLabels: Issues_ListIssueLabels;
|
|
5280
|
-
PostIssueLabels: Issues_PostIssueLabels;
|
|
5281
5836
|
PutIssueLabels: Issues_PutIssueLabels;
|
|
5837
|
+
PostIssueLabels: Issues_PostIssueLabels;
|
|
5838
|
+
DeleteIssueLabels: Issues_DeleteIssueLabels;
|
|
5282
5839
|
DeleteIssueLabel: Issues_DeleteIssueLabel;
|
|
5283
5840
|
};
|
|
5284
5841
|
KnowledgeBase: {
|
|
5285
|
-
DeleteKnowledgeBase: KnowledgeBase_DeleteKnowledgeBase;
|
|
5286
5842
|
GetKnowledgeBaseInfo: KnowledgeBase_GetKnowledgeBaseInfo;
|
|
5843
|
+
DeleteKnowledgeBase: KnowledgeBase_DeleteKnowledgeBase;
|
|
5287
5844
|
QueryKnowledgeBase: KnowledgeBase_QueryKnowledgeBase;
|
|
5288
5845
|
GetModels: KnowledgeBase_GetModels;
|
|
5289
5846
|
};
|
|
@@ -5299,20 +5856,23 @@ interface Client {
|
|
|
5299
5856
|
PostPull: Pulls_PostPull;
|
|
5300
5857
|
GetPull: Pulls_GetPull;
|
|
5301
5858
|
PatchPull: Pulls_PatchPull;
|
|
5302
|
-
DeletePullAssignees: Pulls_DeletePullAssignees;
|
|
5303
5859
|
ListPullAssignees: Pulls_ListPullAssignees;
|
|
5304
5860
|
PostPullAssignees: Pulls_PostPullAssignees;
|
|
5861
|
+
DeletePullAssignees: Pulls_DeletePullAssignees;
|
|
5305
5862
|
CanUserBeAssignedToPull: Pulls_CanUserBeAssignedToPull;
|
|
5306
|
-
CherryPickPullRequest: Pulls_CherryPickPullRequest;
|
|
5307
5863
|
ListPullComments: Pulls_ListPullComments;
|
|
5308
5864
|
PostPullComment: Pulls_PostPullComment;
|
|
5309
|
-
|
|
5865
|
+
GetPullComment: Pulls_GetPullComment;
|
|
5866
|
+
PatchPullComment: Pulls_PatchPullComment;
|
|
5867
|
+
ListPullCommitStatuses: Pulls_ListPullCommitStatuses;
|
|
5868
|
+
ListPullCommits: Pulls_ListPullCommits;
|
|
5869
|
+
ListPullFiles: Pulls_ListPullFiles;
|
|
5310
5870
|
ListPullLabels: Pulls_ListPullLabels;
|
|
5311
|
-
PostPullLabels: Pulls_PostPullLabels;
|
|
5312
5871
|
PutPullLabels: Pulls_PutPullLabels;
|
|
5872
|
+
PostPullLabels: Pulls_PostPullLabels;
|
|
5873
|
+
DeletePullLabels: Pulls_DeletePullLabels;
|
|
5313
5874
|
DeletePullLabel: Pulls_DeletePullLabel;
|
|
5314
5875
|
MergePull: Pulls_MergePull;
|
|
5315
|
-
RevertPullRequest: Pulls_RevertPullRequest;
|
|
5316
5876
|
ListPullReviews: Pulls_ListPullReviews;
|
|
5317
5877
|
PostPullReview: Pulls_PostPullReview;
|
|
5318
5878
|
ListPullReviewComments: Pulls_ListPullReviewComments;
|
|
@@ -5322,19 +5882,22 @@ interface Client {
|
|
|
5322
5882
|
PostRelease: Releases_PostRelease;
|
|
5323
5883
|
GetLatestRelease: Releases_GetLatestRelease;
|
|
5324
5884
|
GetReleaseByTag: Releases_GetReleaseByTag;
|
|
5325
|
-
DeleteRelease: Releases_DeleteRelease;
|
|
5326
5885
|
GetReleaseByID: Releases_GetReleaseByID;
|
|
5886
|
+
DeleteRelease: Releases_DeleteRelease;
|
|
5327
5887
|
PatchRelease: Releases_PatchRelease;
|
|
5328
5888
|
PostReleaseAssetUploadConfirmation: Releases_PostReleaseAssetUploadConfirmation;
|
|
5329
5889
|
PostReleaseAssetUploadURL: Releases_PostReleaseAssetUploadURL;
|
|
5330
|
-
DeleteReleaseAsset: Releases_DeleteReleaseAsset;
|
|
5331
5890
|
GetReleaseAsset: Releases_GetReleaseAsset;
|
|
5891
|
+
DeleteReleaseAsset: Releases_DeleteReleaseAsset;
|
|
5892
|
+
};
|
|
5893
|
+
Security: {
|
|
5894
|
+
GetRepoSecurityOverview: Security_GetRepoSecurityOverview;
|
|
5332
5895
|
};
|
|
5333
5896
|
GitSettings: {
|
|
5334
5897
|
ListBranchProtections: GitSettings_ListBranchProtections;
|
|
5335
5898
|
PostBranchProtection: GitSettings_PostBranchProtection;
|
|
5336
|
-
DeleteBranchProtection: GitSettings_DeleteBranchProtection;
|
|
5337
5899
|
GetBranchProtection: GitSettings_GetBranchProtection;
|
|
5900
|
+
DeleteBranchProtection: GitSettings_DeleteBranchProtection;
|
|
5338
5901
|
PatchBranchProtection: GitSettings_PatchBranchProtection;
|
|
5339
5902
|
GetPipelineSettings: GitSettings_GetPipelineSettings;
|
|
5340
5903
|
PutPipelineSettings: GitSettings_PutPipelineSettings;
|
|
@@ -5343,8 +5906,8 @@ interface Client {
|
|
|
5343
5906
|
GetPushLimitSettings: GitSettings_GetPushLimitSettings;
|
|
5344
5907
|
PutPushLimitSettings: GitSettings_PutPushLimitSettings;
|
|
5345
5908
|
};
|
|
5346
|
-
|
|
5347
|
-
|
|
5909
|
+
RepoContributor: {
|
|
5910
|
+
GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
|
|
5348
5911
|
};
|
|
5349
5912
|
}
|
|
5350
5913
|
//#endregion
|