ksyun-sdk-node 1.0.5 → 1.4.8
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/.claude/settings.local.json +12 -0
- package/dist/base/BaseClient.js +133 -52
- package/dist/index.js +9 -12
- package/dist/lib/fetch.js +4 -5
- package/dist/lib/sign.js +31 -33
- package/dist/lib/signautreV4.js +167 -0
- package/dist/service/Actiontrail/v20190401/index.js +34 -37
- package/dist/service/Aicp/v20240612/index.js +511 -0
- package/dist/service/Bill/v20180601/index.js +49 -88
- package/dist/service/Bill/v20220601/index.js +64 -0
- package/dist/service/Bill_union/v20200101/index.js +151 -77
- package/dist/service/Bill_union/v20221222/index.js +142 -0
- package/dist/service/Bill_union/v20250801/index.js +66 -0
- package/dist/service/Bws/v20160304/index.js +111 -94
- package/dist/service/Cdn/v20160901/index.js +89 -0
- package/dist/service/Cdn/v20200630/index.js +410 -0
- package/dist/service/Cdn/v20200901/index.js +162 -0
- package/dist/service/Cdn/v20211201/index.js +45 -0
- package/dist/service/Cdn/v20250503/index.js +71 -0
- package/dist/service/Cen/v20160304/index.js +460 -0
- package/dist/service/Clickhouse/v20210101/index.js +546 -0
- package/dist/service/Ebs/v20160304/index.js +265 -268
- package/dist/service/Eip/v20160304/index.js +104 -107
- package/dist/service/Epc/v20151101/index.js +1735 -784
- package/dist/service/Iam/v20151101/index.js +872 -711
- package/dist/service/Iam/v20240513/index.js +47 -0
- package/dist/service/Iam/v20240703/index.js +44 -0
- package/dist/service/Kad/v20161122/index.js +84 -87
- package/dist/service/Kce/v20180314/index.js +320 -0
- package/dist/service/Kce/v20190806/index.js +482 -0
- package/dist/service/Kce/v20201231/index.js +63 -0
- package/dist/service/Kcf/v20211215/index.js +203 -0
- package/dist/service/Kcm/v20160304/index.js +120 -0
- package/dist/service/Kcrs/v20211109/index.js +851 -0
- package/dist/service/Kcs/v20160701/index.js +1106 -0
- package/dist/service/Kcs/v20170401/index.js +81 -0
- package/dist/service/Kead/v20200101/index.js +28 -31
- package/dist/service/Kec/v20160304/index.js +1695 -1466
- package/dist/service/Kes/v20201215/index.js +171 -0
- package/dist/service/Ket/v20170101/index.js +141 -0
- package/dist/service/Kkms/v20160304/index.js +167 -0
- package/dist/service/Klog/v20200731/index.js +331 -0
- package/dist/service/Kls/v20170101/index.js +194 -0
- package/dist/service/Kmr/v20210902/index.js +422 -0
- package/dist/service/Kmr/v20231231/index.js +154 -0
- package/dist/service/Kmr/v20240814/index.js +370 -0
- package/dist/service/Krds/v20160701/index.js +1302 -0
- package/dist/service/Krds/v20200825/index.js +174 -0
- package/dist/service/Memcached/v20180627/index.js +249 -0
- package/dist/service/Mongodb/v20170101/index.js +516 -501
- package/dist/service/Monitor/v20100525/index.js +70 -0
- package/dist/service/Monitor/v20181114/index.js +49 -0
- package/dist/service/Monitor/v20210101/index.js +216 -0
- package/dist/service/Monitor/v20220101/index.js +58 -0
- package/dist/service/Monitor/v20250101/index.js +71 -0
- package/dist/service/Rabbitmq/v20191017/index.js +242 -0
- package/dist/service/Resourcemanager/v20210320/index.js +113 -116
- package/dist/service/Sks/v20151101/index.js +72 -75
- package/dist/service/Slb/v20160304/index.js +1299 -790
- package/dist/service/Sts/v20151101/index.js +26 -29
- package/dist/service/Tagv2/v20200901/index.js +174 -0
- package/dist/service/Tidb/v20210520/index.js +363 -0
- package/dist/service/Trade/v20200114/index.js +23 -26
- package/dist/service/Trade/v20200831/index.js +25 -28
- package/dist/service/Vpc/v20160304/index.js +2015 -1045
- package/dist/service/Waf/v20200707/index.js +248 -0
- package/example/iam.js +2 -1
- package/example/res.js +2 -1
- package/package.json +1 -1
- package/src/base/BaseClient.js +131 -35
- package/src/lib/signautreV4.js +166 -0
- package/src/service/Actiontrail/v20190401/index.js +42 -42
- package/src/service/Aicp/v20240612/index.js +503 -0
- package/src/service/Bill/v20180601/index.js +61 -102
- package/src/service/Bill/v20220601/index.js +56 -0
- package/src/service/Bill_union/v20200101/index.js +181 -109
- package/src/service/Bill_union/v20221222/index.js +134 -0
- package/src/service/Bill_union/v20250801/index.js +58 -0
- package/src/service/Bws/v20160304/index.js +139 -119
- package/src/service/Cdn/v20160901/index.js +81 -0
- package/src/service/Cdn/v20200630/index.js +402 -0
- package/src/service/Cdn/v20200901/index.js +154 -0
- package/src/service/Cdn/v20211201/index.js +37 -0
- package/src/service/Cdn/v20250503/index.js +63 -0
- package/src/service/Cen/v20160304/index.js +452 -0
- package/src/service/Clickhouse/v20210101/index.js +538 -0
- package/src/service/Ebs/v20160304/index.js +365 -368
- package/src/service/Eip/v20160304/index.js +135 -136
- package/src/service/Epc/v20151101/index.js +1984 -1033
- package/src/service/Iam/v20151101/index.js +1155 -993
- package/src/service/Iam/v20240513/index.js +39 -0
- package/src/service/Iam/v20240703/index.js +36 -0
- package/src/service/Kad/v20161122/index.js +112 -112
- package/src/service/Kce/v20180314/index.js +312 -0
- package/src/service/Kce/v20190806/index.js +474 -0
- package/src/service/Kce/v20201231/index.js +55 -0
- package/src/service/Kcf/v20211215/index.js +195 -0
- package/src/service/Kcm/v20160304/index.js +112 -0
- package/src/service/Kcrs/v20211109/index.js +843 -0
- package/src/service/Kcs/v20160701/index.js +1098 -0
- package/src/service/Kcs/v20170401/index.js +73 -0
- package/src/service/Kead/v20200101/index.js +36 -36
- package/src/service/Kec/v20160304/index.js +2061 -1838
- package/src/service/Kes/v20201215/index.js +163 -0
- package/src/service/Ket/v20170101/index.js +133 -0
- package/src/service/Kkms/v20160304/index.js +159 -0
- package/src/service/Klog/v20200731/index.js +323 -0
- package/src/service/Kls/v20170101/index.js +186 -0
- package/src/service/Kmr/v20210902/index.js +414 -0
- package/src/service/Kmr/v20231231/index.js +146 -0
- package/src/service/Kmr/v20240814/index.js +362 -0
- package/src/service/Krds/v20160701/index.js +1294 -0
- package/src/service/Krds/v20200825/index.js +166 -0
- package/src/service/Memcached/v20180627/index.js +241 -0
- package/src/service/Mongodb/v20170101/index.js +672 -654
- package/src/service/Monitor/v20100525/index.js +62 -0
- package/src/service/Monitor/v20181114/index.js +41 -0
- package/src/service/Monitor/v20210101/index.js +208 -0
- package/src/service/Monitor/v20220101/index.js +50 -0
- package/src/service/Monitor/v20250101/index.js +63 -0
- package/src/service/Rabbitmq/v20191017/index.js +234 -0
- package/src/service/Resourcemanager/v20210320/index.js +157 -158
- package/src/service/Sks/v20151101/index.js +95 -96
- package/src/service/Slb/v20160304/index.js +1471 -959
- package/src/service/Sts/v20151101/index.js +34 -34
- package/src/service/Tagv2/v20200901/index.js +166 -0
- package/src/service/Tidb/v20210520/index.js +355 -0
- package/src/service/Trade/v20200114/index.js +31 -31
- package/src/service/Trade/v20200831/index.js +33 -33
- package/src/service/Vpc/v20160304/index.js +2404 -1432
- package/src/service/Waf/v20200707/index.js +240 -0
- package/src/service/Bill_union/v20211209/index.js +0 -35
- package/src/service/Slb/v20171210/index.js +0 -39
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
2
|
+
|
|
3
|
+
module.exports = class Client extends BaseClient {
|
|
4
|
+
_baseConfig = {
|
|
5
|
+
protocol: "http://",
|
|
6
|
+
endpoint: "iam.api.ksyun.com",
|
|
7
|
+
config: {
|
|
8
|
+
timeout: 60, //设置timeout
|
|
9
|
+
headers: {
|
|
10
|
+
Accept: "application/json",
|
|
11
|
+
},
|
|
12
|
+
credentials: {
|
|
13
|
+
region: "cn-shanghai-3",
|
|
14
|
+
service: "iam",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
_apiList = {
|
|
19
|
+
GetProjectInstanceListNew: {
|
|
20
|
+
url: "/",
|
|
21
|
+
method: "GET",
|
|
22
|
+
config: {
|
|
23
|
+
query: {
|
|
24
|
+
Version: "2024-05-13",
|
|
25
|
+
Action: "GetProjectInstanceListNew",
|
|
26
|
+
},
|
|
27
|
+
headers: {
|
|
28
|
+
"Content-Type": "application/json",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
paramsType: {
|
|
32
|
+
ProjectId: "Int",
|
|
33
|
+
ProductLine: "String",
|
|
34
|
+
Ps: "Int",
|
|
35
|
+
Pn: "Int",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
2
|
+
|
|
3
|
+
module.exports = class Client extends BaseClient {
|
|
4
|
+
_baseConfig = {
|
|
5
|
+
protocol: "http://",
|
|
6
|
+
endpoint: "iam.api.ksyun.com",
|
|
7
|
+
config: {
|
|
8
|
+
timeout: 60, //设置timeout
|
|
9
|
+
headers: {
|
|
10
|
+
Accept: "application/json",
|
|
11
|
+
},
|
|
12
|
+
credentials: {
|
|
13
|
+
region: "cn-shanghai-3",
|
|
14
|
+
service: "iam",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
_apiList = {
|
|
19
|
+
ProjectsInfoByInstanceIds: {
|
|
20
|
+
url: "/",
|
|
21
|
+
method: "GET",
|
|
22
|
+
config: {
|
|
23
|
+
query: {
|
|
24
|
+
Version: "2024-07-03",
|
|
25
|
+
Action: "ProjectsInfoByInstanceIds",
|
|
26
|
+
},
|
|
27
|
+
headers: {
|
|
28
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
paramsType: {
|
|
32
|
+
InstanceIds: "String",
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -1,122 +1,122 @@
|
|
|
1
1
|
const BaseClient = require("../../../base/BaseClient.js");
|
|
2
2
|
|
|
3
3
|
module.exports = class Client extends BaseClient {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
_baseConfig = {
|
|
5
|
+
protocol: "http://",
|
|
6
|
+
endpoint: "kad.api.ksyun.com",
|
|
7
|
+
config: {
|
|
8
|
+
timeout: 60, //设置timeout
|
|
9
|
+
headers: {
|
|
10
|
+
Accept: "application/json",
|
|
11
|
+
},
|
|
12
|
+
credentials: {
|
|
13
|
+
region: "cn-shanghai-3",
|
|
14
|
+
service: "kad",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
_apiList = {
|
|
19
|
+
CreateForwardConf: {
|
|
20
|
+
url: "/",
|
|
21
|
+
method: "POST",
|
|
22
|
+
config: {
|
|
23
|
+
query: {
|
|
24
|
+
Version: "2016-11-22",
|
|
25
|
+
Action: "CreateForwardConf",
|
|
16
26
|
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
'CreateForwardConf': {
|
|
20
|
-
'url': '/',
|
|
21
|
-
'method': 'POST',
|
|
22
|
-
'config': {
|
|
23
|
-
'query': {
|
|
24
|
-
'Version': '2016-11-22',
|
|
25
|
-
'Action': 'CreateForwardConf',
|
|
26
|
-
},
|
|
27
|
-
'headers': {
|
|
28
|
-
'Content-Type': 'application/x-www-form-urlencoded'
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
'paramsType': {
|
|
32
|
-
'KadId': 'String',
|
|
33
|
-
'Protocol': 'String',
|
|
34
|
-
'ServicePort': 'Int',
|
|
35
|
-
}
|
|
27
|
+
headers: {
|
|
28
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
36
29
|
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
30
|
+
},
|
|
31
|
+
paramsType: {
|
|
32
|
+
KadId: "String",
|
|
33
|
+
Protocol: "String",
|
|
34
|
+
ServicePort: "Int",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
DeleteForwardConf: {
|
|
38
|
+
url: "/",
|
|
39
|
+
method: "POST",
|
|
40
|
+
config: {
|
|
41
|
+
query: {
|
|
42
|
+
Version: "2016-11-22",
|
|
43
|
+
Action: "DeleteForwardConf",
|
|
52
44
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
'method': 'GET',
|
|
56
|
-
'config': {
|
|
57
|
-
'query': {
|
|
58
|
-
'Version': '2016-11-22',
|
|
59
|
-
'Action': 'DescribeForwardConf',
|
|
60
|
-
},
|
|
61
|
-
'headers': {
|
|
62
|
-
'Content-Type': 'application/json'
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
'paramsType': {
|
|
66
|
-
'KadId': 'String',
|
|
67
|
-
'ForwardConfId': 'Filter',
|
|
68
|
-
}
|
|
45
|
+
headers: {
|
|
46
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
69
47
|
},
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
'paramsType': {
|
|
83
|
-
'ForwardConfId': 'String',
|
|
84
|
-
'SourceIp': 'String',
|
|
85
|
-
'SourcePort': 'String',
|
|
86
|
-
}
|
|
48
|
+
},
|
|
49
|
+
paramsType: {
|
|
50
|
+
ForwardConfId: "String",
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
DescribeForwardConf: {
|
|
54
|
+
url: "/",
|
|
55
|
+
method: "GET",
|
|
56
|
+
config: {
|
|
57
|
+
query: {
|
|
58
|
+
Version: "2016-11-22",
|
|
59
|
+
Action: "DescribeForwardConf",
|
|
87
60
|
},
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
'method': 'POST',
|
|
91
|
-
'config': {
|
|
92
|
-
'query': {
|
|
93
|
-
'Version': '2016-11-22',
|
|
94
|
-
'Action': 'DeleteForwardSource',
|
|
95
|
-
},
|
|
96
|
-
'headers': {
|
|
97
|
-
'Content-Type': 'application/x-www-form-urlencoded'
|
|
98
|
-
},
|
|
99
|
-
},
|
|
100
|
-
'paramsType': {
|
|
101
|
-
'ForwardSourceId': 'String',
|
|
102
|
-
}
|
|
61
|
+
headers: {
|
|
62
|
+
"Content-Type": "application/json",
|
|
103
63
|
},
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
'ForwardConfId': 'String',
|
|
118
|
-
'ForwardSourceId': 'Filter',
|
|
119
|
-
}
|
|
64
|
+
},
|
|
65
|
+
paramsType: {
|
|
66
|
+
KadId: "String",
|
|
67
|
+
ForwardConfId: "Filter",
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
CreateForwardSource: {
|
|
71
|
+
url: "/",
|
|
72
|
+
method: "POST",
|
|
73
|
+
config: {
|
|
74
|
+
query: {
|
|
75
|
+
Version: "2016-11-22",
|
|
76
|
+
Action: "CreateForwardSource",
|
|
120
77
|
},
|
|
121
|
-
|
|
122
|
-
|
|
78
|
+
headers: {
|
|
79
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
paramsType: {
|
|
83
|
+
ForwardConfId: "String",
|
|
84
|
+
SourceIp: "String",
|
|
85
|
+
SourcePort: "String",
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
DeleteForwardSource: {
|
|
89
|
+
url: "/",
|
|
90
|
+
method: "POST",
|
|
91
|
+
config: {
|
|
92
|
+
query: {
|
|
93
|
+
Version: "2016-11-22",
|
|
94
|
+
Action: "DeleteForwardSource",
|
|
95
|
+
},
|
|
96
|
+
headers: {
|
|
97
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
paramsType: {
|
|
101
|
+
ForwardSourceId: "String",
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
DescribeForwardSource: {
|
|
105
|
+
url: "/",
|
|
106
|
+
method: "GET",
|
|
107
|
+
config: {
|
|
108
|
+
query: {
|
|
109
|
+
Version: "2016-11-22",
|
|
110
|
+
Action: "DescribeForwardSource",
|
|
111
|
+
},
|
|
112
|
+
headers: {
|
|
113
|
+
"Content-Type": "application/json",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
paramsType: {
|
|
117
|
+
ForwardConfId: "String",
|
|
118
|
+
ForwardSourceId: "Filter",
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
};
|
|
122
|
+
};
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
2
|
+
|
|
3
|
+
module.exports = class Client extends BaseClient {
|
|
4
|
+
_baseConfig = {
|
|
5
|
+
protocol: "http://",
|
|
6
|
+
endpoint: "kce.api.ksyun.com",
|
|
7
|
+
config: {
|
|
8
|
+
timeout: 60, //设置timeout
|
|
9
|
+
headers: {
|
|
10
|
+
Accept: "application/json",
|
|
11
|
+
},
|
|
12
|
+
credentials: {
|
|
13
|
+
region: "cn-shanghai-3",
|
|
14
|
+
service: "kce",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
_apiList = {
|
|
19
|
+
CreateRepoNamespace: {
|
|
20
|
+
url: "/",
|
|
21
|
+
method: "GET",
|
|
22
|
+
config: {
|
|
23
|
+
query: {
|
|
24
|
+
Version: "2018-03-14",
|
|
25
|
+
Action: "CreateRepoNamespace",
|
|
26
|
+
},
|
|
27
|
+
headers: {
|
|
28
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
paramsType: {
|
|
32
|
+
Namespace: "String",
|
|
33
|
+
Public: "String",
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
DescribeRepoNamespace: {
|
|
37
|
+
url: "/",
|
|
38
|
+
method: "GET",
|
|
39
|
+
config: {
|
|
40
|
+
query: {
|
|
41
|
+
Version: "2018-03-14",
|
|
42
|
+
Action: "DescribeRepoNamespace",
|
|
43
|
+
},
|
|
44
|
+
headers: {
|
|
45
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
paramsType: {
|
|
49
|
+
Namespace: "String",
|
|
50
|
+
MaxResults: "String",
|
|
51
|
+
Marker: "String",
|
|
52
|
+
Filter: "Filter",
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
ModifyRepoNamespaceType: {
|
|
56
|
+
url: "/",
|
|
57
|
+
method: "GET",
|
|
58
|
+
config: {
|
|
59
|
+
query: {
|
|
60
|
+
Version: "2018-03-14",
|
|
61
|
+
Action: "ModifyRepoNamespaceType",
|
|
62
|
+
},
|
|
63
|
+
headers: {
|
|
64
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
paramsType: {
|
|
68
|
+
Namespace: "String",
|
|
69
|
+
Public: "Boolean",
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
RepoNamespaceExist: {
|
|
73
|
+
url: "/",
|
|
74
|
+
method: "GET",
|
|
75
|
+
config: {
|
|
76
|
+
query: {
|
|
77
|
+
Version: "2018-03-14",
|
|
78
|
+
Action: "RepoNamespaceExist",
|
|
79
|
+
},
|
|
80
|
+
headers: {
|
|
81
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
paramsType: {
|
|
85
|
+
Namespace: "String",
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
CreateRepository: {
|
|
89
|
+
url: "/",
|
|
90
|
+
method: "GET",
|
|
91
|
+
config: {
|
|
92
|
+
query: {
|
|
93
|
+
Version: "2018-03-14",
|
|
94
|
+
Action: "CreateRepository",
|
|
95
|
+
},
|
|
96
|
+
headers: {
|
|
97
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
paramsType: {
|
|
101
|
+
RepoName: "String",
|
|
102
|
+
Description: "String",
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
DeleteRepository: {
|
|
106
|
+
url: "/",
|
|
107
|
+
method: "GET",
|
|
108
|
+
config: {
|
|
109
|
+
query: {
|
|
110
|
+
Version: "2018-03-14",
|
|
111
|
+
Action: "DeleteRepository",
|
|
112
|
+
},
|
|
113
|
+
headers: {
|
|
114
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
paramsType: {
|
|
118
|
+
RepoName: "String",
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
DescribeRepository: {
|
|
122
|
+
url: "/",
|
|
123
|
+
method: "GET",
|
|
124
|
+
config: {
|
|
125
|
+
query: {
|
|
126
|
+
Version: "2018-03-14",
|
|
127
|
+
Action: "DescribeRepository",
|
|
128
|
+
},
|
|
129
|
+
headers: {
|
|
130
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
paramsType: {
|
|
134
|
+
RepoName: "Filter",
|
|
135
|
+
MaxResults: "Int",
|
|
136
|
+
Marker: "Int",
|
|
137
|
+
Filter: "Filter",
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
DescribePublicRepository: {
|
|
141
|
+
url: "/",
|
|
142
|
+
method: "GET",
|
|
143
|
+
config: {
|
|
144
|
+
query: {
|
|
145
|
+
Version: "2018-03-14",
|
|
146
|
+
Action: "DescribePublicRepository",
|
|
147
|
+
},
|
|
148
|
+
headers: {
|
|
149
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
paramsType: {
|
|
153
|
+
RepoName: "Filter",
|
|
154
|
+
MaxResults: "Int",
|
|
155
|
+
Marker: "Int",
|
|
156
|
+
Filter: "Filter",
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
UpdateRepoDesc: {
|
|
160
|
+
url: "/",
|
|
161
|
+
method: "GET",
|
|
162
|
+
config: {
|
|
163
|
+
query: {
|
|
164
|
+
Version: "2018-03-14",
|
|
165
|
+
Action: "UpdateRepoDesc",
|
|
166
|
+
},
|
|
167
|
+
headers: {
|
|
168
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
paramsType: {
|
|
172
|
+
RepoName: "String",
|
|
173
|
+
Description: "String",
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
DescribeTag: {
|
|
177
|
+
url: "/",
|
|
178
|
+
method: "GET",
|
|
179
|
+
config: {
|
|
180
|
+
query: {
|
|
181
|
+
Version: "2018-03-14",
|
|
182
|
+
Action: "DescribeTag",
|
|
183
|
+
},
|
|
184
|
+
headers: {
|
|
185
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
paramsType: {
|
|
189
|
+
RepoName: "String",
|
|
190
|
+
MaxResults: "String",
|
|
191
|
+
Marker: "String",
|
|
192
|
+
Filter: "Filter",
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
DeleteTags: {
|
|
196
|
+
url: "/",
|
|
197
|
+
method: "GET",
|
|
198
|
+
config: {
|
|
199
|
+
query: {
|
|
200
|
+
Version: "2018-03-14",
|
|
201
|
+
Action: "DeleteTags",
|
|
202
|
+
},
|
|
203
|
+
headers: {
|
|
204
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
paramsType: {
|
|
208
|
+
RepoName: "String",
|
|
209
|
+
Tag: "Filter",
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
AddFavor: {
|
|
213
|
+
url: "/",
|
|
214
|
+
method: "GET",
|
|
215
|
+
config: {
|
|
216
|
+
query: {
|
|
217
|
+
Version: "2018-03-14",
|
|
218
|
+
Action: "AddFavor",
|
|
219
|
+
},
|
|
220
|
+
headers: {
|
|
221
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
paramsType: {
|
|
225
|
+
RepoName: "String",
|
|
226
|
+
RepoType: "String",
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
DeleteFavor: {
|
|
230
|
+
url: "/",
|
|
231
|
+
method: "GET",
|
|
232
|
+
config: {
|
|
233
|
+
query: {
|
|
234
|
+
Version: "2018-03-14",
|
|
235
|
+
Action: "DeleteFavor",
|
|
236
|
+
},
|
|
237
|
+
headers: {
|
|
238
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
paramsType: {
|
|
242
|
+
RepoName: "String",
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
GetFavor: {
|
|
246
|
+
url: "/",
|
|
247
|
+
method: "GET",
|
|
248
|
+
config: {
|
|
249
|
+
query: {
|
|
250
|
+
Version: "2018-03-14",
|
|
251
|
+
Action: "GetFavor",
|
|
252
|
+
},
|
|
253
|
+
headers: {
|
|
254
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
paramsType: {
|
|
258
|
+
MaxResults: "Int",
|
|
259
|
+
Marker: "Int",
|
|
260
|
+
Keyword: "String",
|
|
261
|
+
},
|
|
262
|
+
},
|
|
263
|
+
RegisterRepositoryAccount: {
|
|
264
|
+
url: "/",
|
|
265
|
+
method: "GET",
|
|
266
|
+
config: {
|
|
267
|
+
query: {
|
|
268
|
+
Version: "2018-03-14",
|
|
269
|
+
Action: "RegisterRepositoryAccount",
|
|
270
|
+
},
|
|
271
|
+
headers: {
|
|
272
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
paramsType: {
|
|
276
|
+
Password: "String",
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
ModifyPassword: {
|
|
280
|
+
url: "/",
|
|
281
|
+
method: "GET",
|
|
282
|
+
config: {
|
|
283
|
+
query: {
|
|
284
|
+
Version: "2018-03-14",
|
|
285
|
+
Action: "ModifyPassword",
|
|
286
|
+
},
|
|
287
|
+
headers: {
|
|
288
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
paramsType: {
|
|
292
|
+
Password: "String",
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
DeleteRepoNamespace: {
|
|
296
|
+
url: "/",
|
|
297
|
+
method: "GET",
|
|
298
|
+
config: {
|
|
299
|
+
query: {
|
|
300
|
+
Version: "2018-03-14",
|
|
301
|
+
Action: "DeleteRepoNamespace",
|
|
302
|
+
},
|
|
303
|
+
headers: {
|
|
304
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
paramsType: {
|
|
308
|
+
Namespace: "String",
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
};
|
|
312
|
+
};
|