node-cnb 1.16.0 → 1.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/paths.json CHANGED
@@ -57,7 +57,7 @@
57
57
  "name": "request",
58
58
  "required": true,
59
59
  "schema": {
60
- "$ref": "#/definitions/http.UpdateUserInfoPayload"
60
+ "$ref": "#/definitions/dto.UpdateUserInfoPayload"
61
61
  }
62
62
  }
63
63
  ],
@@ -296,7 +296,7 @@
296
296
  "enum": [
297
297
  "private",
298
298
  "public",
299
- "encrypted"
299
+ "secret"
300
300
  ],
301
301
  "in": "query",
302
302
  "name": "filter_type",
@@ -324,6 +324,16 @@
324
324
  "name": "flags",
325
325
  "type": "string"
326
326
  },
327
+ {
328
+ "description": "仓库状态。Repository status",
329
+ "enum": [
330
+ "active",
331
+ "archived"
332
+ ],
333
+ "in": "query",
334
+ "name": "status",
335
+ "type": "string"
336
+ },
327
337
  {
328
338
  "description": "Order field,default(last_updated_at)",
329
339
  "enum": [
@@ -1516,7 +1526,7 @@
1516
1526
  "enum": [
1517
1527
  "private",
1518
1528
  "public",
1519
- "encrypted"
1529
+ "secret"
1520
1530
  ],
1521
1531
  "in": "query",
1522
1532
  "name": "filter_type",
@@ -1759,7 +1769,7 @@
1759
1769
  "tags": [
1760
1770
  "Assets"
1761
1771
  ],
1762
- "summary": "发起一个上传 logo 的请求,返回上传 cos 的 url form 内容。Post a request to upload a logo.",
1772
+ "summary": "发起一个上传 logo 的请求,返回上传文件的url,请使用 put 发起流式上传。Initiate a request to upload logo,returns upload URL.Use PUT to initiate a stream upload.",
1763
1773
  "parameters": [
1764
1774
  {
1765
1775
  "default": "test-group",
@@ -1860,6 +1870,169 @@
1860
1870
  "path": "/{mission}/-/members/{username}",
1861
1871
  "method": "post"
1862
1872
  },
1873
+ "mission.mission.view.get": {
1874
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nmission-manage:r",
1875
+ "operationId": "GetMissionViewConfig",
1876
+ "tags": [
1877
+ "Missions"
1878
+ ],
1879
+ "summary": "查询任务集视图配置信息。Get mission view config.",
1880
+ "parameters": [
1881
+ {
1882
+ "description": "Mission slug",
1883
+ "in": "path",
1884
+ "name": "mission",
1885
+ "required": true,
1886
+ "type": "string"
1887
+ },
1888
+ {
1889
+ "description": "View ID",
1890
+ "in": "query",
1891
+ "name": "id",
1892
+ "required": true,
1893
+ "type": "string"
1894
+ }
1895
+ ],
1896
+ "responses": {
1897
+ "200": {
1898
+ "description": "OK",
1899
+ "schema": {
1900
+ "$ref": "#/definitions/dto.MissionViewConfig"
1901
+ }
1902
+ }
1903
+ },
1904
+ "path": "/{mission}/-/mission/view",
1905
+ "method": "get"
1906
+ },
1907
+ "mission.mission.view.post": {
1908
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nmission-manage:rw",
1909
+ "operationId": "PostMissionViewConfig",
1910
+ "tags": [
1911
+ "Missions"
1912
+ ],
1913
+ "summary": "设置任务集视图配置信息。Set mission view config.",
1914
+ "parameters": [
1915
+ {
1916
+ "description": "Mission slug",
1917
+ "in": "path",
1918
+ "name": "mission",
1919
+ "required": true,
1920
+ "type": "string"
1921
+ },
1922
+ {
1923
+ "description": "Params",
1924
+ "in": "body",
1925
+ "name": "request",
1926
+ "required": true,
1927
+ "schema": {
1928
+ "$ref": "#/definitions/dto.MissionViewConfig"
1929
+ }
1930
+ }
1931
+ ],
1932
+ "responses": {
1933
+ "200": {
1934
+ "description": "OK"
1935
+ }
1936
+ },
1937
+ "path": "/{mission}/-/mission/view",
1938
+ "method": "post"
1939
+ },
1940
+ "mission.mission.viewList.list": {
1941
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nmission-manage:r",
1942
+ "operationId": "GetMissionViewList",
1943
+ "tags": [
1944
+ "Missions"
1945
+ ],
1946
+ "summary": "获取任务集视图列表。Get view list of a mission.",
1947
+ "parameters": [
1948
+ {
1949
+ "description": "mission",
1950
+ "in": "path",
1951
+ "name": "mission",
1952
+ "required": true,
1953
+ "type": "string"
1954
+ }
1955
+ ],
1956
+ "responses": {
1957
+ "200": {
1958
+ "description": "OK",
1959
+ "schema": {
1960
+ "items": {
1961
+ "$ref": "#/definitions/dto.MissionView"
1962
+ },
1963
+ "type": "array"
1964
+ }
1965
+ }
1966
+ },
1967
+ "path": "/{mission}/-/mission/view-list",
1968
+ "method": "get"
1969
+ },
1970
+ "mission.mission.viewList.post": {
1971
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nmission-manage:rw",
1972
+ "operationId": "PostMissionViewList",
1973
+ "tags": [
1974
+ "Missions"
1975
+ ],
1976
+ "summary": "排序任务集视图。Sort mission view list.",
1977
+ "parameters": [
1978
+ {
1979
+ "description": "Mission slug",
1980
+ "in": "path",
1981
+ "name": "mission",
1982
+ "required": true,
1983
+ "type": "string"
1984
+ },
1985
+ {
1986
+ "description": "Params",
1987
+ "in": "body",
1988
+ "name": "request",
1989
+ "required": true,
1990
+ "schema": {
1991
+ "$ref": "#/definitions/dto.MissionPostViewReq"
1992
+ }
1993
+ }
1994
+ ],
1995
+ "responses": {
1996
+ "200": {
1997
+ "description": "OK"
1998
+ }
1999
+ },
2000
+ "path": "/{mission}/-/mission/view-list",
2001
+ "method": "post"
2002
+ },
2003
+ "mission.mission.viewList.put": {
2004
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nmission-manage:rw",
2005
+ "operationId": "PutMissionViewList",
2006
+ "tags": [
2007
+ "Missions"
2008
+ ],
2009
+ "summary": "添加、修改任务集视图。Update a mission view or add a new one.",
2010
+ "parameters": [
2011
+ {
2012
+ "description": "Mission slug",
2013
+ "in": "path",
2014
+ "name": "mission",
2015
+ "required": true,
2016
+ "type": "string"
2017
+ },
2018
+ {
2019
+ "description": "Params",
2020
+ "in": "body",
2021
+ "name": "request",
2022
+ "required": true,
2023
+ "schema": {
2024
+ "$ref": "#/definitions/dto.MissionView"
2025
+ }
2026
+ }
2027
+ ],
2028
+ "responses": {
2029
+ "200": {
2030
+ "description": "OK"
2031
+ }
2032
+ },
2033
+ "path": "/{mission}/-/mission/view-list",
2034
+ "method": "put"
2035
+ },
1863
2036
  "registry.delete": {
1864
2037
  "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nregistry-delete:rw",
1865
2038
  "operationId": "DeleteRegistry",
@@ -2020,6 +2193,78 @@
2020
2193
  "path": "/{repo}",
2021
2194
  "method": "patch"
2022
2195
  },
2196
+ "repo.ai.chat.completions.post": {
2197
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
2198
+ "operationId": "AiChatCompletions",
2199
+ "tags": [
2200
+ "Ai"
2201
+ ],
2202
+ "summary": "Ai 对话,参数根据模型不同会有区别。Ai chat completions, params may differ by model.",
2203
+ "parameters": [
2204
+ {
2205
+ "description": "仓库完整路径",
2206
+ "in": "path",
2207
+ "name": "repo",
2208
+ "required": true,
2209
+ "type": "string"
2210
+ },
2211
+ {
2212
+ "description": "AI chat completions params",
2213
+ "in": "body",
2214
+ "name": "request",
2215
+ "required": true,
2216
+ "schema": {
2217
+ "$ref": "#/definitions/dto.AiChatCompletionsReq"
2218
+ }
2219
+ }
2220
+ ],
2221
+ "responses": {
2222
+ "200": {
2223
+ "description": "OK",
2224
+ "schema": {
2225
+ "$ref": "#/definitions/dto.AiChatCompletionsResult"
2226
+ }
2227
+ }
2228
+ },
2229
+ "path": "/{repo}/-/ai/chat/completions",
2230
+ "method": "post"
2231
+ },
2232
+ "repo.badge.upload.post": {
2233
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-commit-status:rw",
2234
+ "operationId": "UploadBadge",
2235
+ "tags": [
2236
+ "Badge"
2237
+ ],
2238
+ "summary": "上传徽章数据。Upload badge data",
2239
+ "parameters": [
2240
+ {
2241
+ "description": "仓库完整路径",
2242
+ "in": "path",
2243
+ "name": "repo",
2244
+ "required": true,
2245
+ "type": "string"
2246
+ },
2247
+ {
2248
+ "description": "UploadBadge params",
2249
+ "in": "body",
2250
+ "name": "request",
2251
+ "required": true,
2252
+ "schema": {
2253
+ "$ref": "#/definitions/dto.UploadBadgeReq"
2254
+ }
2255
+ }
2256
+ ],
2257
+ "responses": {
2258
+ "200": {
2259
+ "description": "OK",
2260
+ "schema": {
2261
+ "$ref": "#/definitions/dto.UploadBadgeResult"
2262
+ }
2263
+ }
2264
+ },
2265
+ "path": "/{repo}/-/badge/upload",
2266
+ "method": "post"
2267
+ },
2023
2268
  "repo.build.logs.get": {
2024
2269
  "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-cnb-trigger:r",
2025
2270
  "operationId": "GetBuildLogs",
@@ -2060,7 +2305,7 @@
2060
2305
  "type": "integer"
2061
2306
  },
2062
2307
  {
2063
- "description": "Pagination page size, default(20), max(100)",
2308
+ "description": "Pagination page size, default(30), max(100)",
2064
2309
  "in": "query",
2065
2310
  "name": "pagesize",
2066
2311
  "type": "integer"
@@ -2149,7 +2394,7 @@
2149
2394
  "type": "string"
2150
2395
  },
2151
2396
  {
2152
- "description": "prepare、beforeEnd or 'stage-{{index}}'",
2397
+ "description": "stageId",
2153
2398
  "in": "path",
2154
2399
  "name": "stageId",
2155
2400
  "required": true,
@@ -2167,6 +2412,46 @@
2167
2412
  "path": "/{repo}/-/build/logs/stage/{sn}/{pipelineId}/{stageId}",
2168
2413
  "method": "get"
2169
2414
  },
2415
+ "repo.build.runner.download.log.get": {
2416
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-cnb-trigger:r",
2417
+ "operationId": "BuildRunnerDownloadLog",
2418
+ "tags": [
2419
+ "Build"
2420
+ ],
2421
+ "summary": "流水线runner日志下载。Pipeline runner log download.",
2422
+ "parameters": [
2423
+ {
2424
+ "description": "Repo path",
2425
+ "in": "path",
2426
+ "name": "repo",
2427
+ "required": true,
2428
+ "type": "string"
2429
+ },
2430
+ {
2431
+ "description": "PipelineId",
2432
+ "in": "path",
2433
+ "name": "pipelineId",
2434
+ "required": true,
2435
+ "type": "string"
2436
+ }
2437
+ ],
2438
+ "responses": {
2439
+ "404": {
2440
+ "description": "Not Found",
2441
+ "schema": {
2442
+ "$ref": "#/definitions/die.WebError"
2443
+ }
2444
+ },
2445
+ "500": {
2446
+ "description": "Internal Server Error",
2447
+ "schema": {
2448
+ "$ref": "#/definitions/die.WebError"
2449
+ }
2450
+ }
2451
+ },
2452
+ "path": "/{repo}/-/build/runner/download/log/{pipelineId}",
2453
+ "method": "get"
2454
+ },
2170
2455
  "repo.build.start.post": {
2171
2456
  "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-cnb-trigger:rw",
2172
2457
  "operationId": "StartBuild",
@@ -3045,12 +3330,12 @@
3045
3330
  {
3046
3331
  "description": "upload token",
3047
3332
  "in": "path",
3048
- "name": "token",
3333
+ "name": "upload_token",
3049
3334
  "required": true,
3050
3335
  "type": "string"
3051
3336
  },
3052
3337
  {
3053
- "description": "release asset path",
3338
+ "description": "commit asset path",
3054
3339
  "in": "path",
3055
3340
  "name": "asset_path",
3056
3341
  "required": true,
@@ -6925,6 +7210,75 @@
6925
7210
  "path": "/{repo}/-/pulls/{number}/revert",
6926
7211
  "method": "post"
6927
7212
  },
7213
+ "repo.pulls.reviews.list": {
7214
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
7215
+ "operationId": "ListPullReviews",
7216
+ "tags": [
7217
+ "Pulls"
7218
+ ],
7219
+ "summary": "查询特定 pull reviews 列表。List pull reviews.",
7220
+ "parameters": [
7221
+ {
7222
+ "description": "repo",
7223
+ "in": "path",
7224
+ "name": "repo",
7225
+ "required": true,
7226
+ "type": "string"
7227
+ },
7228
+ {
7229
+ "description": "number",
7230
+ "in": "path",
7231
+ "name": "number",
7232
+ "required": true,
7233
+ "type": "string"
7234
+ },
7235
+ {
7236
+ "default": 1,
7237
+ "description": "pagination page number",
7238
+ "in": "query",
7239
+ "name": "page",
7240
+ "type": "integer"
7241
+ },
7242
+ {
7243
+ "default": 30,
7244
+ "description": "pagination page size",
7245
+ "in": "query",
7246
+ "name": "page_size",
7247
+ "type": "integer"
7248
+ }
7249
+ ],
7250
+ "responses": {
7251
+ "200": {
7252
+ "description": "OK",
7253
+ "schema": {
7254
+ "items": {
7255
+ "$ref": "#/definitions/api.PullReview"
7256
+ },
7257
+ "type": "array"
7258
+ }
7259
+ },
7260
+ "403": {
7261
+ "description": "Forbidden",
7262
+ "schema": {
7263
+ "$ref": "#/definitions/die.WebError"
7264
+ }
7265
+ },
7266
+ "404": {
7267
+ "description": "Not Found",
7268
+ "schema": {
7269
+ "$ref": "#/definitions/die.WebError"
7270
+ }
7271
+ },
7272
+ "500": {
7273
+ "description": "Internal Server Error",
7274
+ "schema": {
7275
+ "$ref": "#/definitions/die.WebError"
7276
+ }
7277
+ }
7278
+ },
7279
+ "path": "/{repo}/-/pulls/{number}/reviews",
7280
+ "method": "get"
7281
+ },
6928
7282
  "repo.pulls.reviews.post": {
6929
7283
  "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
6930
7284
  "operationId": "PostPullReview",
@@ -6983,6 +7337,76 @@
6983
7337
  "path": "/{repo}/-/pulls/{number}/reviews",
6984
7338
  "method": "post"
6985
7339
  },
7340
+ "repo.pulls.reviews.comments.list": {
7341
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:r",
7342
+ "operationId": "ListPullReviewComments",
7343
+ "tags": [
7344
+ "Pulls"
7345
+ ],
7346
+ "summary": "查询指定 Pull Review Comments 列表评论。List pull review comments.",
7347
+ "parameters": [
7348
+ {
7349
+ "description": "repo",
7350
+ "in": "path",
7351
+ "name": "repo",
7352
+ "required": true,
7353
+ "type": "string"
7354
+ },
7355
+ {
7356
+ "description": "pull request number",
7357
+ "in": "path",
7358
+ "name": "number",
7359
+ "required": true,
7360
+ "type": "integer"
7361
+ },
7362
+ {
7363
+ "description": "pull request review id",
7364
+ "in": "path",
7365
+ "name": "review_id",
7366
+ "required": true,
7367
+ "type": "integer"
7368
+ },
7369
+ {
7370
+ "default": 1,
7371
+ "description": "pagination page number",
7372
+ "in": "query",
7373
+ "name": "page",
7374
+ "type": "integer"
7375
+ },
7376
+ {
7377
+ "default": 30,
7378
+ "description": "pagination page size",
7379
+ "in": "query",
7380
+ "name": "page_size",
7381
+ "type": "integer"
7382
+ }
7383
+ ],
7384
+ "responses": {
7385
+ "200": {
7386
+ "description": "OK",
7387
+ "schema": {
7388
+ "items": {
7389
+ "$ref": "#/definitions/api.PullReviewComment"
7390
+ },
7391
+ "type": "array"
7392
+ }
7393
+ },
7394
+ "404": {
7395
+ "description": "Not Found",
7396
+ "schema": {
7397
+ "$ref": "#/definitions/die.WebError"
7398
+ }
7399
+ },
7400
+ "500": {
7401
+ "description": "Internal Server Error",
7402
+ "schema": {
7403
+ "$ref": "#/definitions/die.WebError"
7404
+ }
7405
+ }
7406
+ },
7407
+ "path": "/{repo}/-/pulls/{number}/reviews/{review_id}/comments",
7408
+ "method": "get"
7409
+ },
6986
7410
  "repo.releases.list": {
6987
7411
  "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
6988
7412
  "operationId": "ListReleases",
@@ -7416,7 +7840,7 @@
7416
7840
  {
7417
7841
  "description": "upload token",
7418
7842
  "in": "path",
7419
- "name": "token",
7843
+ "name": "upload_token",
7420
7844
  "required": true,
7421
7845
  "type": "string"
7422
7846
  },
@@ -8264,7 +8688,7 @@
8264
8688
  "tags": [
8265
8689
  "Assets"
8266
8690
  ],
8267
- "summary": "发起一个上传 files 的请求,返回上传 cos 的 url form 内容。Initiate a request to upload files,returns COS upload URL and form data.",
8691
+ "summary": "发起一个上传 files 的请求,返回上传文件的url,请使用 put 发起流式上传。Initiate a request to upload files,returns upload URL.Use PUT to initiate a stream upload.",
8268
8692
  "parameters": [
8269
8693
  {
8270
8694
  "default": "test-group/test-repo",
@@ -8301,7 +8725,7 @@
8301
8725
  "tags": [
8302
8726
  "Assets"
8303
8727
  ],
8304
- "summary": "发起一个上传 imgs 的请求,返回上传 cos url form 内容。发起一个上传 imgs 的请求,返回上传 cos url form 内容.",
8728
+ "summary": "发起一个上传 imgs 的请求,返回上传文件的url,请使用 put 发起流式上传。Initiate a request to upload images,returns upload URL.Use PUT to initiate a stream upload.",
8305
8729
  "parameters": [
8306
8730
  {
8307
8731
  "default": "test-group/test-repo",
@@ -8338,7 +8762,7 @@
8338
8762
  "tags": [
8339
8763
  "Assets"
8340
8764
  ],
8341
- "summary": "发起一个上传 release 附件的请求,返回上传 cos 的 url 。Initiate a request to upload release attachments,",
8765
+ "summary": "发起一个上传 release 附件的请求,返回上传文件的url,附件上限是64GiB。请使用 put 发起流式上传。",
8342
8766
  "parameters": [
8343
8767
  {
8344
8768
  "default": "test-group/test-repo",
@@ -8376,6 +8800,43 @@
8376
8800
  "path": "/{repo}/-/upload/releases/{tagName}",
8377
8801
  "method": "post"
8378
8802
  },
8803
+ "repo.upload.wiki.post": {
8804
+ "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-contents:rw",
8805
+ "operationId": "UploadWikiFile",
8806
+ "tags": [
8807
+ "wiki"
8808
+ ],
8809
+ "summary": "发起一个上传 wiki 文件的请求,返回上传文件的url,请使用 put 发起流式上传。Initiate a request to upload wiki files,returns upload URL.Use PUT to initiate a stream upload.",
8810
+ "parameters": [
8811
+ {
8812
+ "default": "test-group/test-repo",
8813
+ "description": "Repo",
8814
+ "in": "path",
8815
+ "name": "repo",
8816
+ "required": true,
8817
+ "type": "string"
8818
+ },
8819
+ {
8820
+ "description": "UploadRequestParams",
8821
+ "in": "body",
8822
+ "name": "request",
8823
+ "required": true,
8824
+ "schema": {
8825
+ "$ref": "#/definitions/dto.UploadRequestParams"
8826
+ }
8827
+ }
8828
+ ],
8829
+ "responses": {
8830
+ "200": {
8831
+ "description": "OK",
8832
+ "schema": {
8833
+ "$ref": "#/definitions/dto.UploadAssetsResponse"
8834
+ }
8835
+ }
8836
+ },
8837
+ "path": "/{repo}/-/upload/wiki",
8838
+ "method": "post"
8839
+ },
8379
8840
  "repo.workspace.detail.get": {
8380
8841
  "description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-cnb-detail:r",
8381
8842
  "operationId": "GetWorkspaceDetail",
@@ -8419,7 +8880,7 @@
8419
8880
  "summary": "启动云原生开发环境,已存在环境则直接打开,否则重新创建开发环境。Start cloud-native dev. Opens existing env or creates a new one.",
8420
8881
  "parameters": [
8421
8882
  {
8422
- "description": "repo",
8883
+ "description": "仓库完整路径",
8423
8884
  "in": "path",
8424
8885
  "name": "repo",
8425
8886
  "required": true,
@@ -8462,11 +8923,12 @@
8462
8923
  "type": "string"
8463
8924
  },
8464
8925
  {
8465
- "description": "Type",
8926
+ "description": "Type 当前,选项all仅包含仓库下的docker/helm/docker-model类型",
8466
8927
  "enum": [
8467
8928
  "all",
8468
8929
  "docker",
8469
8930
  "helm",
8931
+ "docker-model",
8470
8932
  "maven",
8471
8933
  "npm",
8472
8934
  "ohpm",
@@ -8552,7 +9014,8 @@
8552
9014
  "enum": [
8553
9015
  "all",
8554
9016
  "docker",
8555
- "helm"
9017
+ "helm",
9018
+ "docker-model"
8556
9019
  ],
8557
9020
  "in": "query",
8558
9021
  "name": "type",
@@ -8623,6 +9086,7 @@
8623
9086
  "enum": [
8624
9087
  "docker",
8625
9088
  "helm",
9089
+ "docker-model",
8626
9090
  "maven",
8627
9091
  "npm",
8628
9092
  "ohpm",
@@ -8674,6 +9138,7 @@
8674
9138
  "enum": [
8675
9139
  "docker",
8676
9140
  "helm",
9141
+ "docker-model",
8677
9142
  "maven",
8678
9143
  "npm",
8679
9144
  "ohpm",
@@ -8729,6 +9194,7 @@
8729
9194
  "enum": [
8730
9195
  "docker",
8731
9196
  "helm",
9197
+ "docker-model",
8732
9198
  "maven",
8733
9199
  "npm",
8734
9200
  "ohpm",
@@ -8756,10 +9222,16 @@
8756
9222
  "type": "string"
8757
9223
  },
8758
9224
  {
8759
- "description": "摘要,容器制品时必须。Digest (SHA256), required for container artifacts.",
9225
+ "description": "摘要",
8760
9226
  "in": "query",
8761
9227
  "name": "sha256",
8762
9228
  "type": "string"
9229
+ },
9230
+ {
9231
+ "description": "架构,docker制品必需,例: linux/amd64/v3。required for docker artifacts",
9232
+ "in": "query",
9233
+ "name": "arch",
9234
+ "type": "string"
8763
9235
  }
8764
9236
  ],
8765
9237
  "responses": {
@@ -8793,6 +9265,7 @@
8793
9265
  "enum": [
8794
9266
  "docker",
8795
9267
  "helm",
9268
+ "docker-model",
8796
9269
  "maven",
8797
9270
  "npm",
8798
9271
  "ohpm",
@@ -8874,6 +9347,7 @@
8874
9347
  "enum": [
8875
9348
  "docker",
8876
9349
  "helm",
9350
+ "docker-model",
8877
9351
  "maven",
8878
9352
  "npm",
8879
9353
  "ohpm",
@@ -8924,6 +9398,7 @@
8924
9398
  "enum": [
8925
9399
  "docker",
8926
9400
  "helm",
9401
+ "docker-model",
8927
9402
  "maven",
8928
9403
  "npm",
8929
9404
  "ohpm",
@@ -9001,6 +9476,7 @@
9001
9476
  "enum": [
9002
9477
  "docker",
9003
9478
  "helm",
9479
+ "docker-model",
9004
9480
  "maven",
9005
9481
  "npm",
9006
9482
  "ohpm",