node-cnb 1.20.0 → 1.21.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 +1013 -250
- package/dist/index.d.ts +1013 -250
- package/dist/index.js +640 -333
- package/dist/index.mjs +640 -333
- package/dist/paths.json +713 -337
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ var events_repo_get = {
|
|
|
13
13
|
"required": true
|
|
14
14
|
}, {
|
|
15
15
|
"type": "string",
|
|
16
|
-
"description": "
|
|
16
|
+
"description": "动态日期,支持按天或小时为维度获取,格式为yy-mm-dd-h or yy-mm-dd, eg:2025-09-11-5",
|
|
17
17
|
"name": "date",
|
|
18
18
|
"in": "path",
|
|
19
19
|
"required": true
|
|
@@ -102,6 +102,7 @@ var user_autocompleteSource_list = {
|
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"enum": [
|
|
105
|
+
"Guest",
|
|
105
106
|
"Reporter",
|
|
106
107
|
"Developer",
|
|
107
108
|
"Master",
|
|
@@ -318,6 +319,7 @@ var user_repos_list = {
|
|
|
318
319
|
},
|
|
319
320
|
{
|
|
320
321
|
"enum": [
|
|
322
|
+
"Guest",
|
|
321
323
|
"Reporter",
|
|
322
324
|
"Developer",
|
|
323
325
|
"Master",
|
|
@@ -714,6 +716,7 @@ var users_repos_list = {
|
|
|
714
716
|
},
|
|
715
717
|
{
|
|
716
718
|
"enum": [
|
|
719
|
+
"Guest",
|
|
717
720
|
"Reporter",
|
|
718
721
|
"Developer",
|
|
719
722
|
"Master",
|
|
@@ -882,7 +885,7 @@ var workspace_list_get = {
|
|
|
882
885
|
{
|
|
883
886
|
"type": "integer",
|
|
884
887
|
"description": "Pagination page size, default(20), max(100)",
|
|
885
|
-
"name": "
|
|
888
|
+
"name": "page_size",
|
|
886
889
|
"in": "query"
|
|
887
890
|
},
|
|
888
891
|
{
|
|
@@ -1647,6 +1650,35 @@ var repo_ai_chat_completions_post = {
|
|
|
1647
1650
|
"path": "/{repo}/-/ai/chat/completions",
|
|
1648
1651
|
"method": "post"
|
|
1649
1652
|
};
|
|
1653
|
+
var repo_assets_delete = {
|
|
1654
|
+
"description": "通过 asset 记录 id 删除一个 asset,release和commit附件不能通过该接口删除\n访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
|
|
1655
|
+
"tags": ["Assets"],
|
|
1656
|
+
"summary": "通过 asset 记录 id 删除一个 asset",
|
|
1657
|
+
"operationId": "DeleteAsset",
|
|
1658
|
+
"parameters": [{
|
|
1659
|
+
"type": "string",
|
|
1660
|
+
"description": "repo",
|
|
1661
|
+
"name": "repo",
|
|
1662
|
+
"in": "path",
|
|
1663
|
+
"required": true
|
|
1664
|
+
}, {
|
|
1665
|
+
"type": "integer",
|
|
1666
|
+
"format": "int64",
|
|
1667
|
+
"description": "asset id",
|
|
1668
|
+
"name": "assetID",
|
|
1669
|
+
"in": "path",
|
|
1670
|
+
"required": true
|
|
1671
|
+
}],
|
|
1672
|
+
"responses": {
|
|
1673
|
+
"200": { "description": "OK" },
|
|
1674
|
+
"422": {
|
|
1675
|
+
"description": "release和commit附件不能通过该接口删除",
|
|
1676
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
1677
|
+
}
|
|
1678
|
+
},
|
|
1679
|
+
"path": "/{repo}/-/assets/{assetID}",
|
|
1680
|
+
"method": "delete"
|
|
1681
|
+
};
|
|
1650
1682
|
var repo_badge_git_get = {
|
|
1651
1683
|
"tags": ["Badge"],
|
|
1652
1684
|
"summary": "获取徽章 svg 或 JSON 数据。Get badge svg or JSON data.",
|
|
@@ -1828,7 +1860,7 @@ var repo_build_logs_get = {
|
|
|
1828
1860
|
{
|
|
1829
1861
|
"type": "integer",
|
|
1830
1862
|
"description": "Pagination page size, default(30), max(100)",
|
|
1831
|
-
"name": "
|
|
1863
|
+
"name": "page_size",
|
|
1832
1864
|
"in": "query"
|
|
1833
1865
|
},
|
|
1834
1866
|
{
|
|
@@ -2062,21 +2094,21 @@ var repo_commitAssets_download_get = {
|
|
|
2062
2094
|
"parameters": [
|
|
2063
2095
|
{
|
|
2064
2096
|
"type": "string",
|
|
2065
|
-
"description": "
|
|
2097
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2066
2098
|
"name": "repo",
|
|
2067
2099
|
"in": "path",
|
|
2068
2100
|
"required": true
|
|
2069
2101
|
},
|
|
2070
2102
|
{
|
|
2071
2103
|
"type": "string",
|
|
2072
|
-
"description": "
|
|
2104
|
+
"description": "提交的哈希值。",
|
|
2073
2105
|
"name": "commit_id",
|
|
2074
2106
|
"in": "path",
|
|
2075
2107
|
"required": true
|
|
2076
2108
|
},
|
|
2077
2109
|
{
|
|
2078
2110
|
"type": "string",
|
|
2079
|
-
"description": "
|
|
2111
|
+
"description": "文件名称。示例:`test.png`",
|
|
2080
2112
|
"name": "filename",
|
|
2081
2113
|
"in": "path",
|
|
2082
2114
|
"required": true
|
|
@@ -2084,7 +2116,7 @@ var repo_commitAssets_download_get = {
|
|
|
2084
2116
|
{
|
|
2085
2117
|
"type": "boolean",
|
|
2086
2118
|
"default": false,
|
|
2087
|
-
"description": "true
|
|
2119
|
+
"description": "是否可以下载,true表示302的下载地址有效期12小时,最多下载10次。",
|
|
2088
2120
|
"name": "share",
|
|
2089
2121
|
"in": "query"
|
|
2090
2122
|
}
|
|
@@ -2094,6 +2126,28 @@ var repo_commitAssets_download_get = {
|
|
|
2094
2126
|
"path": "/{repo}/-/commit-assets/download/{commit_id}/{filename}",
|
|
2095
2127
|
"method": "get"
|
|
2096
2128
|
};
|
|
2129
|
+
var repo_files_delete = {
|
|
2130
|
+
"description": "删除 UploadFiles 上传的附件\n访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
|
|
2131
|
+
"tags": ["Pulls", "Issues"],
|
|
2132
|
+
"summary": "删除 UploadFiles 上传的附件",
|
|
2133
|
+
"operationId": "DeleteRepoFiles",
|
|
2134
|
+
"parameters": [{
|
|
2135
|
+
"type": "string",
|
|
2136
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2137
|
+
"name": "repo",
|
|
2138
|
+
"in": "path",
|
|
2139
|
+
"required": true
|
|
2140
|
+
}, {
|
|
2141
|
+
"type": "string",
|
|
2142
|
+
"description": "文件访问链接的files后半部分,比如链接是 https://cnb.cool/cnb/feedback/-/files/abc/1234abcd/test.zip,filePath 就是 abc/1234abcd/test.zip。",
|
|
2143
|
+
"name": "filePath",
|
|
2144
|
+
"in": "path",
|
|
2145
|
+
"required": true
|
|
2146
|
+
}],
|
|
2147
|
+
"responses": { "200": { "description": "OK" } },
|
|
2148
|
+
"path": "/{repo}/-/files/{filePath}",
|
|
2149
|
+
"method": "delete"
|
|
2150
|
+
};
|
|
2097
2151
|
var repo_forks_get = {
|
|
2098
2152
|
"tags": ["Repositories"],
|
|
2099
2153
|
"summary": "获取指定仓库的 fork 列表。Get fork list for specified repository.",
|
|
@@ -2142,13 +2196,13 @@ var repo_git_archiveCommitChangedFiles_get = {
|
|
|
2142
2196
|
"operationId": "GetArchiveCommitChangedFiles",
|
|
2143
2197
|
"parameters": [{
|
|
2144
2198
|
"type": "string",
|
|
2145
|
-
"description": "
|
|
2199
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2146
2200
|
"name": "repo",
|
|
2147
2201
|
"in": "path",
|
|
2148
2202
|
"required": true
|
|
2149
2203
|
}, {
|
|
2150
2204
|
"type": "string",
|
|
2151
|
-
"description": "
|
|
2205
|
+
"description": "提交的哈希值。",
|
|
2152
2206
|
"name": "sha1",
|
|
2153
2207
|
"in": "path",
|
|
2154
2208
|
"required": true
|
|
@@ -2173,13 +2227,13 @@ var repo_git_archiveCompareChangedFiles_get = {
|
|
|
2173
2227
|
"operationId": "GetArchiveCompareChangedFiles",
|
|
2174
2228
|
"parameters": [{
|
|
2175
2229
|
"type": "string",
|
|
2176
|
-
"description": "
|
|
2230
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2177
2231
|
"name": "repo",
|
|
2178
2232
|
"in": "path",
|
|
2179
2233
|
"required": true
|
|
2180
2234
|
}, {
|
|
2181
2235
|
"type": "string",
|
|
2182
|
-
"description": "base...head",
|
|
2236
|
+
"description": "用于Git比较操作的基准和头部分支或提交的SHA值。格式:`base...head`",
|
|
2183
2237
|
"name": "base_head",
|
|
2184
2238
|
"in": "path",
|
|
2185
2239
|
"required": true
|
|
@@ -2204,13 +2258,13 @@ var repo_git_archive_get = {
|
|
|
2204
2258
|
"operationId": "GetArchive",
|
|
2205
2259
|
"parameters": [{
|
|
2206
2260
|
"type": "string",
|
|
2207
|
-
"description": "
|
|
2261
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2208
2262
|
"name": "repo",
|
|
2209
2263
|
"in": "path",
|
|
2210
2264
|
"required": true
|
|
2211
2265
|
}, {
|
|
2212
2266
|
"type": "string",
|
|
2213
|
-
"description": "
|
|
2267
|
+
"description": "包含路径的Git引用。格式:`分支名`,`标签名`,`提交哈希`,`分支名/文件路径`",
|
|
2214
2268
|
"name": "ref_with_path",
|
|
2215
2269
|
"in": "path",
|
|
2216
2270
|
"required": true
|
|
@@ -2235,7 +2289,7 @@ var repo_git_blobs_post = {
|
|
|
2235
2289
|
"operationId": "CreateBlob",
|
|
2236
2290
|
"parameters": [{
|
|
2237
2291
|
"type": "string",
|
|
2238
|
-
"description": "
|
|
2292
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2239
2293
|
"name": "repo",
|
|
2240
2294
|
"in": "path",
|
|
2241
2295
|
"required": true
|
|
@@ -2264,6 +2318,70 @@ var repo_git_blobs_post = {
|
|
|
2264
2318
|
"path": "/{repo}/-/git/blobs",
|
|
2265
2319
|
"method": "post"
|
|
2266
2320
|
};
|
|
2321
|
+
var repo_git_branchLocks_post = {
|
|
2322
|
+
"tags": ["Git"],
|
|
2323
|
+
"summary": "锁定分支",
|
|
2324
|
+
"operationId": "CreateBranchLock",
|
|
2325
|
+
"parameters": [{
|
|
2326
|
+
"type": "string",
|
|
2327
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2328
|
+
"name": "repo",
|
|
2329
|
+
"in": "path",
|
|
2330
|
+
"required": true
|
|
2331
|
+
}, {
|
|
2332
|
+
"type": "string",
|
|
2333
|
+
"description": "分支名称",
|
|
2334
|
+
"name": "branch",
|
|
2335
|
+
"in": "path",
|
|
2336
|
+
"required": true
|
|
2337
|
+
}],
|
|
2338
|
+
"responses": {
|
|
2339
|
+
"201": { "description": "Created" },
|
|
2340
|
+
"404": {
|
|
2341
|
+
"description": "Not Found",
|
|
2342
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
2343
|
+
},
|
|
2344
|
+
"500": {
|
|
2345
|
+
"description": "Internal Server Error",
|
|
2346
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
2347
|
+
}
|
|
2348
|
+
},
|
|
2349
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
|
|
2350
|
+
"path": "/{repo}/-/git/branch-locks/{branch}",
|
|
2351
|
+
"method": "post"
|
|
2352
|
+
};
|
|
2353
|
+
var repo_git_branchLocks_delete = {
|
|
2354
|
+
"tags": ["Git"],
|
|
2355
|
+
"summary": "解除锁定分支",
|
|
2356
|
+
"operationId": "DeleteBranchLock",
|
|
2357
|
+
"parameters": [{
|
|
2358
|
+
"type": "string",
|
|
2359
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2360
|
+
"name": "repo",
|
|
2361
|
+
"in": "path",
|
|
2362
|
+
"required": true
|
|
2363
|
+
}, {
|
|
2364
|
+
"type": "string",
|
|
2365
|
+
"description": "分支名称",
|
|
2366
|
+
"name": "branch",
|
|
2367
|
+
"in": "path",
|
|
2368
|
+
"required": true
|
|
2369
|
+
}],
|
|
2370
|
+
"responses": {
|
|
2371
|
+
"204": { "description": "No Content" },
|
|
2372
|
+
"404": {
|
|
2373
|
+
"description": "Not Found",
|
|
2374
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
2375
|
+
},
|
|
2376
|
+
"500": {
|
|
2377
|
+
"description": "Internal Server Error",
|
|
2378
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
2379
|
+
}
|
|
2380
|
+
},
|
|
2381
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:rw",
|
|
2382
|
+
"path": "/{repo}/-/git/branch-locks/{branch}",
|
|
2383
|
+
"method": "delete"
|
|
2384
|
+
};
|
|
2267
2385
|
var repo_git_branches_list = {
|
|
2268
2386
|
"tags": ["Git"],
|
|
2269
2387
|
"summary": "查询分支列表。List branches.",
|
|
@@ -2271,7 +2389,7 @@ var repo_git_branches_list = {
|
|
|
2271
2389
|
"parameters": [
|
|
2272
2390
|
{
|
|
2273
2391
|
"type": "string",
|
|
2274
|
-
"description": "
|
|
2392
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2275
2393
|
"name": "repo",
|
|
2276
2394
|
"in": "path",
|
|
2277
2395
|
"required": true
|
|
@@ -2279,14 +2397,14 @@ var repo_git_branches_list = {
|
|
|
2279
2397
|
{
|
|
2280
2398
|
"type": "integer",
|
|
2281
2399
|
"default": 1,
|
|
2282
|
-
"description": "
|
|
2400
|
+
"description": "分页页码。",
|
|
2283
2401
|
"name": "page",
|
|
2284
2402
|
"in": "query"
|
|
2285
2403
|
},
|
|
2286
2404
|
{
|
|
2287
2405
|
"type": "integer",
|
|
2288
2406
|
"default": 30,
|
|
2289
|
-
"description": "
|
|
2407
|
+
"description": "分页页大小。",
|
|
2290
2408
|
"name": "page_size",
|
|
2291
2409
|
"in": "query"
|
|
2292
2410
|
}
|
|
@@ -2318,12 +2436,12 @@ var repo_git_branches_post = {
|
|
|
2318
2436
|
"operationId": "CreateBranch",
|
|
2319
2437
|
"parameters": [{
|
|
2320
2438
|
"type": "string",
|
|
2321
|
-
"description": "
|
|
2439
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2322
2440
|
"name": "repo",
|
|
2323
2441
|
"in": "path",
|
|
2324
2442
|
"required": true
|
|
2325
2443
|
}, {
|
|
2326
|
-
"description": "Create
|
|
2444
|
+
"description": "Create Branch Form",
|
|
2327
2445
|
"name": "create_branch_form",
|
|
2328
2446
|
"in": "body",
|
|
2329
2447
|
"required": true,
|
|
@@ -2350,13 +2468,13 @@ var repo_git_branches_get = {
|
|
|
2350
2468
|
"operationId": "GetBranch",
|
|
2351
2469
|
"parameters": [{
|
|
2352
2470
|
"type": "string",
|
|
2353
|
-
"description": "
|
|
2471
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2354
2472
|
"name": "repo",
|
|
2355
2473
|
"in": "path",
|
|
2356
2474
|
"required": true
|
|
2357
2475
|
}, {
|
|
2358
2476
|
"type": "string",
|
|
2359
|
-
"description": "
|
|
2477
|
+
"description": "分支名称。",
|
|
2360
2478
|
"name": "branch",
|
|
2361
2479
|
"in": "path",
|
|
2362
2480
|
"required": true
|
|
@@ -2385,13 +2503,13 @@ var repo_git_branches_delete = {
|
|
|
2385
2503
|
"operationId": "DeleteBranch",
|
|
2386
2504
|
"parameters": [{
|
|
2387
2505
|
"type": "string",
|
|
2388
|
-
"description": "
|
|
2506
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2389
2507
|
"name": "repo",
|
|
2390
2508
|
"in": "path",
|
|
2391
2509
|
"required": true
|
|
2392
2510
|
}, {
|
|
2393
2511
|
"type": "string",
|
|
2394
|
-
"description": "
|
|
2512
|
+
"description": "分支名称。",
|
|
2395
2513
|
"name": "branch",
|
|
2396
2514
|
"in": "path",
|
|
2397
2515
|
"required": true
|
|
@@ -2417,7 +2535,7 @@ var repo_git_commitAnnotationsInBatch_post = {
|
|
|
2417
2535
|
"operationId": "GetCommitAnnotationsInBatch",
|
|
2418
2536
|
"parameters": [{
|
|
2419
2537
|
"type": "string",
|
|
2420
|
-
"description": "
|
|
2538
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2421
2539
|
"name": "repo",
|
|
2422
2540
|
"in": "path",
|
|
2423
2541
|
"required": true
|
|
@@ -2455,13 +2573,13 @@ var repo_git_commitAnnotations_list = {
|
|
|
2455
2573
|
"operationId": "GetCommitAnnotations",
|
|
2456
2574
|
"parameters": [{
|
|
2457
2575
|
"type": "string",
|
|
2458
|
-
"description": "
|
|
2576
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2459
2577
|
"name": "repo",
|
|
2460
2578
|
"in": "path",
|
|
2461
2579
|
"required": true
|
|
2462
2580
|
}, {
|
|
2463
2581
|
"type": "string",
|
|
2464
|
-
"description": "
|
|
2582
|
+
"description": "提交的哈希值。",
|
|
2465
2583
|
"name": "sha",
|
|
2466
2584
|
"in": "path",
|
|
2467
2585
|
"required": true
|
|
@@ -2494,14 +2612,14 @@ var repo_git_commitAnnotations_put = {
|
|
|
2494
2612
|
"parameters": [
|
|
2495
2613
|
{
|
|
2496
2614
|
"type": "string",
|
|
2497
|
-
"description": "
|
|
2615
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2498
2616
|
"name": "repo",
|
|
2499
2617
|
"in": "path",
|
|
2500
2618
|
"required": true
|
|
2501
2619
|
},
|
|
2502
2620
|
{
|
|
2503
2621
|
"type": "string",
|
|
2504
|
-
"description": "
|
|
2622
|
+
"description": "提交的哈希值。",
|
|
2505
2623
|
"name": "sha",
|
|
2506
2624
|
"in": "path",
|
|
2507
2625
|
"required": true
|
|
@@ -2536,21 +2654,21 @@ var repo_git_commitAnnotations_delete = {
|
|
|
2536
2654
|
"parameters": [
|
|
2537
2655
|
{
|
|
2538
2656
|
"type": "string",
|
|
2539
|
-
"description": "
|
|
2657
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2540
2658
|
"name": "repo",
|
|
2541
2659
|
"in": "path",
|
|
2542
2660
|
"required": true
|
|
2543
2661
|
},
|
|
2544
2662
|
{
|
|
2545
2663
|
"type": "string",
|
|
2546
|
-
"description": "
|
|
2664
|
+
"description": "提交的哈希值。",
|
|
2547
2665
|
"name": "sha",
|
|
2548
2666
|
"in": "path",
|
|
2549
2667
|
"required": true
|
|
2550
2668
|
},
|
|
2551
2669
|
{
|
|
2552
2670
|
"type": "string",
|
|
2553
|
-
"description": "
|
|
2671
|
+
"description": "提交的元数据键名。",
|
|
2554
2672
|
"name": "key",
|
|
2555
2673
|
"in": "path",
|
|
2556
2674
|
"required": true
|
|
@@ -2577,13 +2695,13 @@ var repo_git_commitAssets_list = {
|
|
|
2577
2695
|
"operationId": "GetCommitAssetsBySha",
|
|
2578
2696
|
"parameters": [{
|
|
2579
2697
|
"type": "string",
|
|
2580
|
-
"description": "
|
|
2698
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2581
2699
|
"name": "repo",
|
|
2582
2700
|
"in": "path",
|
|
2583
2701
|
"required": true
|
|
2584
2702
|
}, {
|
|
2585
2703
|
"type": "string",
|
|
2586
|
-
"description": "
|
|
2704
|
+
"description": "提交的哈希值。",
|
|
2587
2705
|
"name": "sha1",
|
|
2588
2706
|
"in": "path",
|
|
2589
2707
|
"required": true
|
|
@@ -2616,31 +2734,38 @@ var repo_git_commitAssets_assetUploadConfirmation_post = {
|
|
|
2616
2734
|
"parameters": [
|
|
2617
2735
|
{
|
|
2618
2736
|
"type": "string",
|
|
2619
|
-
"description": "
|
|
2737
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2620
2738
|
"name": "repo",
|
|
2621
2739
|
"in": "path",
|
|
2622
2740
|
"required": true
|
|
2623
2741
|
},
|
|
2624
2742
|
{
|
|
2625
2743
|
"type": "string",
|
|
2626
|
-
"description": "
|
|
2744
|
+
"description": "提交的哈希值。",
|
|
2627
2745
|
"name": "sha1",
|
|
2628
2746
|
"in": "path",
|
|
2629
2747
|
"required": true
|
|
2630
2748
|
},
|
|
2631
2749
|
{
|
|
2632
2750
|
"type": "string",
|
|
2633
|
-
"description": "
|
|
2751
|
+
"description": "PostCommitAssetUploadURL接口返回值verify_url字段提取的upload_token。",
|
|
2634
2752
|
"name": "upload_token",
|
|
2635
2753
|
"in": "path",
|
|
2636
2754
|
"required": true
|
|
2637
2755
|
},
|
|
2638
2756
|
{
|
|
2639
2757
|
"type": "string",
|
|
2640
|
-
"description": "
|
|
2758
|
+
"description": "PostCommitAssetUploadURL接口返回值verify_url字段提取的asset_path。",
|
|
2641
2759
|
"name": "asset_path",
|
|
2642
2760
|
"in": "path",
|
|
2643
2761
|
"required": true
|
|
2762
|
+
},
|
|
2763
|
+
{
|
|
2764
|
+
"type": "integer",
|
|
2765
|
+
"format": "int64",
|
|
2766
|
+
"description": "附件保持的天数。0 表示永久,最大不能超过 180 天",
|
|
2767
|
+
"name": "ttl",
|
|
2768
|
+
"in": "query"
|
|
2644
2769
|
}
|
|
2645
2770
|
],
|
|
2646
2771
|
"responses": {
|
|
@@ -2665,14 +2790,14 @@ var repo_git_commitAssets_assetUploadUrl_post = {
|
|
|
2665
2790
|
"parameters": [
|
|
2666
2791
|
{
|
|
2667
2792
|
"type": "string",
|
|
2668
|
-
"description": "
|
|
2793
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2669
2794
|
"name": "repo",
|
|
2670
2795
|
"in": "path",
|
|
2671
2796
|
"required": true
|
|
2672
2797
|
},
|
|
2673
2798
|
{
|
|
2674
2799
|
"type": "string",
|
|
2675
|
-
"description": "
|
|
2800
|
+
"description": "提交的哈希值。",
|
|
2676
2801
|
"name": "sha1",
|
|
2677
2802
|
"in": "path",
|
|
2678
2803
|
"required": true
|
|
@@ -2710,21 +2835,21 @@ var repo_git_commitAssets_delete = {
|
|
|
2710
2835
|
"parameters": [
|
|
2711
2836
|
{
|
|
2712
2837
|
"type": "string",
|
|
2713
|
-
"description": "
|
|
2838
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2714
2839
|
"name": "repo",
|
|
2715
2840
|
"in": "path",
|
|
2716
2841
|
"required": true
|
|
2717
2842
|
},
|
|
2718
2843
|
{
|
|
2719
2844
|
"type": "string",
|
|
2720
|
-
"description": "
|
|
2845
|
+
"description": "提交的哈希值。",
|
|
2721
2846
|
"name": "sha1",
|
|
2722
2847
|
"in": "path",
|
|
2723
2848
|
"required": true
|
|
2724
2849
|
},
|
|
2725
2850
|
{
|
|
2726
2851
|
"type": "string",
|
|
2727
|
-
"description": "
|
|
2852
|
+
"description": "附件唯一标识符。",
|
|
2728
2853
|
"name": "asset_id",
|
|
2729
2854
|
"in": "path",
|
|
2730
2855
|
"required": true
|
|
@@ -2751,13 +2876,13 @@ var repo_git_commitStatuses_list = {
|
|
|
2751
2876
|
"operationId": "GetCommitStatuses",
|
|
2752
2877
|
"parameters": [{
|
|
2753
2878
|
"type": "string",
|
|
2754
|
-
"description": "
|
|
2879
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2755
2880
|
"name": "repo",
|
|
2756
2881
|
"in": "path",
|
|
2757
2882
|
"required": true
|
|
2758
2883
|
}, {
|
|
2759
2884
|
"type": "string",
|
|
2760
|
-
"description": "
|
|
2885
|
+
"description": "Git引用标识符。格式:`分支名称`,`提交哈希值`,`标签名称`",
|
|
2761
2886
|
"name": "commitish",
|
|
2762
2887
|
"in": "path",
|
|
2763
2888
|
"required": true
|
|
@@ -2790,52 +2915,52 @@ var repo_git_commits_list = {
|
|
|
2790
2915
|
"parameters": [
|
|
2791
2916
|
{
|
|
2792
2917
|
"type": "string",
|
|
2793
|
-
"description": "
|
|
2918
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2794
2919
|
"name": "repo",
|
|
2795
2920
|
"in": "path",
|
|
2796
2921
|
"required": true
|
|
2797
2922
|
},
|
|
2798
2923
|
{
|
|
2799
2924
|
"type": "string",
|
|
2800
|
-
"description": "
|
|
2925
|
+
"description": "提交标识符。格式:`分支名称`,`提交哈希值`",
|
|
2801
2926
|
"name": "sha",
|
|
2802
2927
|
"in": "query"
|
|
2803
2928
|
},
|
|
2804
2929
|
{
|
|
2805
2930
|
"type": "string",
|
|
2806
|
-
"description": "
|
|
2931
|
+
"description": "作者匹配模式,支持Git原生正则表达式匹配作者信息。",
|
|
2807
2932
|
"name": "author",
|
|
2808
2933
|
"in": "query"
|
|
2809
2934
|
},
|
|
2810
2935
|
{
|
|
2811
2936
|
"type": "string",
|
|
2812
|
-
"description": "
|
|
2937
|
+
"description": "提交者匹配模式,支持Git原生正则表达式匹配提交者信息。",
|
|
2813
2938
|
"name": "committer",
|
|
2814
2939
|
"in": "query"
|
|
2815
2940
|
},
|
|
2816
2941
|
{
|
|
2817
2942
|
"type": "string",
|
|
2818
|
-
"description": "
|
|
2943
|
+
"description": "提交时间起始范围。示例:`2025-01-01T00:00:00Z`",
|
|
2819
2944
|
"name": "since",
|
|
2820
2945
|
"in": "query"
|
|
2821
2946
|
},
|
|
2822
2947
|
{
|
|
2823
2948
|
"type": "string",
|
|
2824
|
-
"description": "
|
|
2949
|
+
"description": "提交时间结束范围。示例:`2025-12-31T23:59:59Z`",
|
|
2825
2950
|
"name": "until",
|
|
2826
2951
|
"in": "query"
|
|
2827
2952
|
},
|
|
2828
2953
|
{
|
|
2829
2954
|
"type": "integer",
|
|
2830
2955
|
"default": 1,
|
|
2831
|
-
"description": "
|
|
2956
|
+
"description": "分页页码。",
|
|
2832
2957
|
"name": "page",
|
|
2833
2958
|
"in": "query"
|
|
2834
2959
|
},
|
|
2835
2960
|
{
|
|
2836
2961
|
"type": "integer",
|
|
2837
2962
|
"default": 30,
|
|
2838
|
-
"description": "
|
|
2963
|
+
"description": "分页页大小。",
|
|
2839
2964
|
"name": "page_size",
|
|
2840
2965
|
"in": "query"
|
|
2841
2966
|
}
|
|
@@ -2867,13 +2992,13 @@ var repo_git_commits_get = {
|
|
|
2867
2992
|
"operationId": "GetCommit",
|
|
2868
2993
|
"parameters": [{
|
|
2869
2994
|
"type": "string",
|
|
2870
|
-
"description": "
|
|
2995
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2871
2996
|
"name": "repo",
|
|
2872
2997
|
"in": "path",
|
|
2873
2998
|
"required": true
|
|
2874
2999
|
}, {
|
|
2875
3000
|
"type": "string",
|
|
2876
|
-
"description": "
|
|
3001
|
+
"description": "提交的哈希值或分支名称。",
|
|
2877
3002
|
"name": "ref",
|
|
2878
3003
|
"in": "path",
|
|
2879
3004
|
"required": true
|
|
@@ -2902,13 +3027,13 @@ var repo_git_compare_get = {
|
|
|
2902
3027
|
"operationId": "GetCompareCommits",
|
|
2903
3028
|
"parameters": [{
|
|
2904
3029
|
"type": "string",
|
|
2905
|
-
"description": "
|
|
3030
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2906
3031
|
"name": "repo",
|
|
2907
3032
|
"in": "path",
|
|
2908
3033
|
"required": true
|
|
2909
3034
|
}, {
|
|
2910
3035
|
"type": "string",
|
|
2911
|
-
"description": "base...head",
|
|
3036
|
+
"description": "用于Git比较操作的基准和头部分支或提交的SHA值。格式:`base...head`",
|
|
2912
3037
|
"name": "base_head",
|
|
2913
3038
|
"in": "path",
|
|
2914
3039
|
"required": true
|
|
@@ -2937,13 +3062,13 @@ var repo_git_contents_getWithoutPath = {
|
|
|
2937
3062
|
"operationId": "GetContentWithoutPath",
|
|
2938
3063
|
"parameters": [{
|
|
2939
3064
|
"type": "string",
|
|
2940
|
-
"description": "
|
|
3065
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2941
3066
|
"name": "repo",
|
|
2942
3067
|
"in": "path",
|
|
2943
3068
|
"required": true
|
|
2944
3069
|
}, {
|
|
2945
3070
|
"type": "string",
|
|
2946
|
-
"description": "
|
|
3071
|
+
"description": "提交的哈希值或分支名称。",
|
|
2947
3072
|
"name": "ref",
|
|
2948
3073
|
"in": "query"
|
|
2949
3074
|
}],
|
|
@@ -2972,21 +3097,21 @@ var repo_git_contents_get = {
|
|
|
2972
3097
|
"parameters": [
|
|
2973
3098
|
{
|
|
2974
3099
|
"type": "string",
|
|
2975
|
-
"description": "
|
|
3100
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
2976
3101
|
"name": "repo",
|
|
2977
3102
|
"in": "path",
|
|
2978
3103
|
"required": true
|
|
2979
3104
|
},
|
|
2980
3105
|
{
|
|
2981
3106
|
"type": "string",
|
|
2982
|
-
"description": "
|
|
3107
|
+
"description": "文件路径。",
|
|
2983
3108
|
"name": "file_path",
|
|
2984
3109
|
"in": "path",
|
|
2985
3110
|
"required": true
|
|
2986
3111
|
},
|
|
2987
3112
|
{
|
|
2988
3113
|
"type": "string",
|
|
2989
|
-
"description": "
|
|
3114
|
+
"description": "提交的哈希值或分支名称。",
|
|
2990
3115
|
"name": "ref",
|
|
2991
3116
|
"in": "query"
|
|
2992
3117
|
}
|
|
@@ -3015,7 +3140,7 @@ var repo_git_head_get = {
|
|
|
3015
3140
|
"operationId": "GetHead",
|
|
3016
3141
|
"parameters": [{
|
|
3017
3142
|
"type": "string",
|
|
3018
|
-
"description": "
|
|
3143
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3019
3144
|
"name": "repo",
|
|
3020
3145
|
"in": "path",
|
|
3021
3146
|
"required": true
|
|
@@ -3045,21 +3170,22 @@ var repo_git_raw_get = {
|
|
|
3045
3170
|
"parameters": [
|
|
3046
3171
|
{
|
|
3047
3172
|
"type": "string",
|
|
3048
|
-
"description": "
|
|
3173
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3049
3174
|
"name": "repo",
|
|
3050
3175
|
"in": "path",
|
|
3051
3176
|
"required": true
|
|
3052
3177
|
},
|
|
3053
3178
|
{
|
|
3054
3179
|
"type": "string",
|
|
3055
|
-
"description": "
|
|
3180
|
+
"description": "包含路径的Git引用。格式:`分支名`,`标签名`,`提交哈希`,`分支名/文件路径`",
|
|
3056
3181
|
"name": "ref_with_path",
|
|
3057
3182
|
"in": "path",
|
|
3058
3183
|
"required": true
|
|
3059
3184
|
},
|
|
3060
3185
|
{
|
|
3061
3186
|
"type": "integer",
|
|
3062
|
-
"
|
|
3187
|
+
"default": 0,
|
|
3188
|
+
"description": "获得文件内容大小限制(字节),0表示使用gitConfig.RawFileLimitInByte配置值。",
|
|
3063
3189
|
"name": "max_in_byte",
|
|
3064
3190
|
"in": "query"
|
|
3065
3191
|
}
|
|
@@ -3088,13 +3214,13 @@ var repo_git_tagAnnotations_delete = {
|
|
|
3088
3214
|
"operationId": "DeleteTagAnnotation",
|
|
3089
3215
|
"parameters": [{
|
|
3090
3216
|
"type": "string",
|
|
3091
|
-
"description": "
|
|
3217
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3092
3218
|
"name": "repo",
|
|
3093
3219
|
"in": "path",
|
|
3094
3220
|
"required": true
|
|
3095
3221
|
}, {
|
|
3096
3222
|
"type": "string",
|
|
3097
|
-
"description": "tag
|
|
3223
|
+
"description": "tag元数据名称。格式:`标签名称/元数据key`",
|
|
3098
3224
|
"name": "tag_with_key",
|
|
3099
3225
|
"in": "path",
|
|
3100
3226
|
"required": true
|
|
@@ -3120,13 +3246,13 @@ var repo_git_tagAnnotations_list = {
|
|
|
3120
3246
|
"operationId": "GetTagAnnotations",
|
|
3121
3247
|
"parameters": [{
|
|
3122
3248
|
"type": "string",
|
|
3123
|
-
"description": "
|
|
3249
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3124
3250
|
"name": "repo",
|
|
3125
3251
|
"in": "path",
|
|
3126
3252
|
"required": true
|
|
3127
3253
|
}, {
|
|
3128
3254
|
"type": "string",
|
|
3129
|
-
"description": "
|
|
3255
|
+
"description": "标签名称。示例:`v1.0.0`",
|
|
3130
3256
|
"name": "tag",
|
|
3131
3257
|
"in": "path",
|
|
3132
3258
|
"required": true
|
|
@@ -3159,14 +3285,14 @@ var repo_git_tagAnnotations_put = {
|
|
|
3159
3285
|
"parameters": [
|
|
3160
3286
|
{
|
|
3161
3287
|
"type": "string",
|
|
3162
|
-
"description": "
|
|
3288
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3163
3289
|
"name": "repo",
|
|
3164
3290
|
"in": "path",
|
|
3165
3291
|
"required": true
|
|
3166
3292
|
},
|
|
3167
3293
|
{
|
|
3168
3294
|
"type": "string",
|
|
3169
|
-
"description": "
|
|
3295
|
+
"description": "标签名称。示例:`v1.0.0`",
|
|
3170
3296
|
"name": "tag",
|
|
3171
3297
|
"in": "path",
|
|
3172
3298
|
"required": true
|
|
@@ -3201,7 +3327,7 @@ var repo_git_tags_list = {
|
|
|
3201
3327
|
"parameters": [
|
|
3202
3328
|
{
|
|
3203
3329
|
"type": "string",
|
|
3204
|
-
"description": "
|
|
3330
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3205
3331
|
"name": "repo",
|
|
3206
3332
|
"in": "path",
|
|
3207
3333
|
"required": true
|
|
@@ -3209,14 +3335,14 @@ var repo_git_tags_list = {
|
|
|
3209
3335
|
{
|
|
3210
3336
|
"type": "integer",
|
|
3211
3337
|
"default": 1,
|
|
3212
|
-
"description": "
|
|
3338
|
+
"description": "分页页码。",
|
|
3213
3339
|
"name": "page",
|
|
3214
3340
|
"in": "query"
|
|
3215
3341
|
},
|
|
3216
3342
|
{
|
|
3217
3343
|
"type": "integer",
|
|
3218
3344
|
"default": 30,
|
|
3219
|
-
"description": "
|
|
3345
|
+
"description": "分页页大小。",
|
|
3220
3346
|
"name": "page_size",
|
|
3221
3347
|
"in": "query"
|
|
3222
3348
|
}
|
|
@@ -3248,7 +3374,7 @@ var repo_git_tags_post = {
|
|
|
3248
3374
|
"operationId": "CreateTag",
|
|
3249
3375
|
"parameters": [{
|
|
3250
3376
|
"type": "string",
|
|
3251
|
-
"description": "
|
|
3377
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3252
3378
|
"name": "repo",
|
|
3253
3379
|
"in": "path",
|
|
3254
3380
|
"required": true
|
|
@@ -3283,13 +3409,13 @@ var repo_git_tags_get = {
|
|
|
3283
3409
|
"operationId": "GetTag",
|
|
3284
3410
|
"parameters": [{
|
|
3285
3411
|
"type": "string",
|
|
3286
|
-
"description": "
|
|
3412
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3287
3413
|
"name": "repo",
|
|
3288
3414
|
"in": "path",
|
|
3289
3415
|
"required": true
|
|
3290
3416
|
}, {
|
|
3291
3417
|
"type": "string",
|
|
3292
|
-
"description": "
|
|
3418
|
+
"description": "标签名称。示例:`v1.0.0`",
|
|
3293
3419
|
"name": "tag",
|
|
3294
3420
|
"in": "path",
|
|
3295
3421
|
"required": true
|
|
@@ -3318,13 +3444,13 @@ var repo_git_tags_delete = {
|
|
|
3318
3444
|
"operationId": "DeleteTag",
|
|
3319
3445
|
"parameters": [{
|
|
3320
3446
|
"type": "string",
|
|
3321
|
-
"description": "
|
|
3447
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3322
3448
|
"name": "repo",
|
|
3323
3449
|
"in": "path",
|
|
3324
3450
|
"required": true
|
|
3325
3451
|
}, {
|
|
3326
3452
|
"type": "string",
|
|
3327
|
-
"description": "
|
|
3453
|
+
"description": "标签名称。示例:`v1.0.0`",
|
|
3328
3454
|
"name": "tag",
|
|
3329
3455
|
"in": "path",
|
|
3330
3456
|
"required": true
|
|
@@ -3344,6 +3470,28 @@ var repo_git_tags_delete = {
|
|
|
3344
3470
|
"path": "/{repo}/-/git/tags/{tag}",
|
|
3345
3471
|
"method": "delete"
|
|
3346
3472
|
};
|
|
3473
|
+
var repo_imgs_delete = {
|
|
3474
|
+
"description": "删除 UploadImgs 上传的图片\n访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:rw",
|
|
3475
|
+
"tags": ["Pulls", "Issues"],
|
|
3476
|
+
"summary": "删除 UploadImgs 上传的图片",
|
|
3477
|
+
"operationId": "DeleteRepoImgs",
|
|
3478
|
+
"parameters": [{
|
|
3479
|
+
"type": "string",
|
|
3480
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3481
|
+
"name": "repo",
|
|
3482
|
+
"in": "path",
|
|
3483
|
+
"required": true
|
|
3484
|
+
}, {
|
|
3485
|
+
"type": "string",
|
|
3486
|
+
"description": "图片访问链接的imgs后半部分,比如链接是 https://cnb.cool/cnb/feedback/-/imgs/abc/1234abcd.png,imgPath 就是 abc/1234abcd.png。",
|
|
3487
|
+
"name": "imgPath",
|
|
3488
|
+
"in": "path",
|
|
3489
|
+
"required": true
|
|
3490
|
+
}],
|
|
3491
|
+
"responses": { "200": { "description": "OK" } },
|
|
3492
|
+
"path": "/{repo}/-/imgs/{imgPath}",
|
|
3493
|
+
"method": "delete"
|
|
3494
|
+
};
|
|
3347
3495
|
var repo_inheritMembers_list = {
|
|
3348
3496
|
"tags": ["Members"],
|
|
3349
3497
|
"summary": "获取指定仓库内的继承成员。List inherited members within specified repository。",
|
|
@@ -3409,7 +3557,7 @@ var repo_issues_list = {
|
|
|
3409
3557
|
"parameters": [
|
|
3410
3558
|
{
|
|
3411
3559
|
"type": "string",
|
|
3412
|
-
"description": "
|
|
3560
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3413
3561
|
"name": "repo",
|
|
3414
3562
|
"in": "path",
|
|
3415
3563
|
"required": true
|
|
@@ -3417,86 +3565,87 @@ var repo_issues_list = {
|
|
|
3417
3565
|
{
|
|
3418
3566
|
"type": "integer",
|
|
3419
3567
|
"default": 1,
|
|
3420
|
-
"description": "
|
|
3568
|
+
"description": "分页页码,输入值小于1,则调整为1。",
|
|
3421
3569
|
"name": "page",
|
|
3422
3570
|
"in": "query"
|
|
3423
3571
|
},
|
|
3424
3572
|
{
|
|
3425
3573
|
"type": "integer",
|
|
3426
3574
|
"default": 30,
|
|
3427
|
-
"description": "
|
|
3575
|
+
"description": "分页页大小,输入值小于0,则调整为10;输入值大于100,则调整为100。",
|
|
3428
3576
|
"name": "page_size",
|
|
3429
3577
|
"in": "query"
|
|
3430
3578
|
},
|
|
3431
3579
|
{
|
|
3432
3580
|
"type": "string",
|
|
3433
|
-
"description": "
|
|
3581
|
+
"description": "Issue状态过滤。可选值:`open`、`closed`",
|
|
3434
3582
|
"name": "state",
|
|
3435
3583
|
"in": "query"
|
|
3436
3584
|
},
|
|
3437
3585
|
{
|
|
3438
3586
|
"type": "string",
|
|
3439
|
-
"description": "
|
|
3587
|
+
"description": "Issue搜索关键词,支持在标题和内容中模糊搜索。",
|
|
3440
3588
|
"name": "keyword",
|
|
3441
3589
|
"in": "query"
|
|
3442
3590
|
},
|
|
3443
3591
|
{
|
|
3444
3592
|
"type": "string",
|
|
3445
|
-
"description": "
|
|
3593
|
+
"description": "Issue优先级过滤。示例:`-2P,-1P,P0,P1,P2,P3`",
|
|
3446
3594
|
"name": "priority",
|
|
3447
3595
|
"in": "query"
|
|
3448
3596
|
},
|
|
3449
3597
|
{
|
|
3450
3598
|
"type": "string",
|
|
3451
|
-
"description": "
|
|
3599
|
+
"description": "Issue标签过滤。示例:`git,bug,feature`",
|
|
3452
3600
|
"name": "labels",
|
|
3453
3601
|
"in": "query"
|
|
3454
3602
|
},
|
|
3455
3603
|
{
|
|
3456
3604
|
"type": "string",
|
|
3457
|
-
"
|
|
3605
|
+
"default": "contains_any",
|
|
3606
|
+
"description": "标签过滤操作符。可选值:`contains_any`,`contains_all`",
|
|
3458
3607
|
"name": "labels_operator",
|
|
3459
3608
|
"in": "query"
|
|
3460
3609
|
},
|
|
3461
3610
|
{
|
|
3462
3611
|
"type": "string",
|
|
3463
|
-
"description": "
|
|
3612
|
+
"description": "Issue创建者过滤,多个作者用英文逗号分隔。示例:`张三,李四`",
|
|
3464
3613
|
"name": "authors",
|
|
3465
3614
|
"in": "query"
|
|
3466
3615
|
},
|
|
3467
3616
|
{
|
|
3468
3617
|
"type": "string",
|
|
3469
|
-
"description": "
|
|
3618
|
+
"description": "Issue处理人过滤,多个处理人用英文逗号分隔,-表示未分配处理人。示例:`张三,李四`,`-`",
|
|
3470
3619
|
"name": "assignees",
|
|
3471
3620
|
"in": "query"
|
|
3472
3621
|
},
|
|
3473
3622
|
{
|
|
3474
3623
|
"type": "string",
|
|
3475
|
-
"description": "
|
|
3624
|
+
"description": "Issue更新时间范围开始。示例:`2022-01-31`",
|
|
3476
3625
|
"name": "updated_time_begin",
|
|
3477
3626
|
"in": "query"
|
|
3478
3627
|
},
|
|
3479
3628
|
{
|
|
3480
3629
|
"type": "string",
|
|
3481
|
-
"description": "
|
|
3630
|
+
"description": "Issue更新时间范围结束。示例:`2022-02-16`",
|
|
3482
3631
|
"name": "updated_time_end",
|
|
3483
3632
|
"in": "query"
|
|
3484
3633
|
},
|
|
3485
3634
|
{
|
|
3486
3635
|
"type": "string",
|
|
3487
|
-
"description": "
|
|
3636
|
+
"description": "Issue关闭时间范围开始。示例:`2022-01-31`",
|
|
3488
3637
|
"name": "close_time_begin",
|
|
3489
3638
|
"in": "query"
|
|
3490
3639
|
},
|
|
3491
3640
|
{
|
|
3492
3641
|
"type": "string",
|
|
3493
|
-
"description": "
|
|
3642
|
+
"description": "Issue关闭时间范围结束。示例:`2022-02-16`",
|
|
3494
3643
|
"name": "close_time_end",
|
|
3495
3644
|
"in": "query"
|
|
3496
3645
|
},
|
|
3497
3646
|
{
|
|
3498
3647
|
"type": "string",
|
|
3499
|
-
"description": "
|
|
3648
|
+
"description": "Issue排序字段,-前缀表示倒序。可选值:`created_at`,`-created_at`,`-updated_at`,`-last_acted_at`",
|
|
3500
3649
|
"name": "order_by",
|
|
3501
3650
|
"in": "query"
|
|
3502
3651
|
}
|
|
@@ -3518,7 +3667,7 @@ var repo_issues_list = {
|
|
|
3518
3667
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
3519
3668
|
}
|
|
3520
3669
|
},
|
|
3521
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
3670
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:r",
|
|
3522
3671
|
"path": "/{repo}/-/issues",
|
|
3523
3672
|
"method": "get"
|
|
3524
3673
|
};
|
|
@@ -3528,7 +3677,7 @@ var repo_issues_post = {
|
|
|
3528
3677
|
"operationId": "CreateIssue",
|
|
3529
3678
|
"parameters": [{
|
|
3530
3679
|
"type": "string",
|
|
3531
|
-
"description": "
|
|
3680
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3532
3681
|
"name": "repo",
|
|
3533
3682
|
"in": "path",
|
|
3534
3683
|
"required": true
|
|
@@ -3553,7 +3702,7 @@ var repo_issues_post = {
|
|
|
3553
3702
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
3554
3703
|
}
|
|
3555
3704
|
},
|
|
3556
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
3705
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
3557
3706
|
"path": "/{repo}/-/issues",
|
|
3558
3707
|
"method": "post"
|
|
3559
3708
|
};
|
|
@@ -3563,13 +3712,13 @@ var repo_issues_get = {
|
|
|
3563
3712
|
"operationId": "GetIssue",
|
|
3564
3713
|
"parameters": [{
|
|
3565
3714
|
"type": "string",
|
|
3566
|
-
"description": "
|
|
3715
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3567
3716
|
"name": "repo",
|
|
3568
3717
|
"in": "path",
|
|
3569
3718
|
"required": true
|
|
3570
3719
|
}, {
|
|
3571
3720
|
"type": "integer",
|
|
3572
|
-
"description": "
|
|
3721
|
+
"description": "Issue唯一标识编号。",
|
|
3573
3722
|
"name": "number",
|
|
3574
3723
|
"in": "path",
|
|
3575
3724
|
"required": true
|
|
@@ -3588,7 +3737,7 @@ var repo_issues_get = {
|
|
|
3588
3737
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
3589
3738
|
}
|
|
3590
3739
|
},
|
|
3591
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
3740
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:r",
|
|
3592
3741
|
"path": "/{repo}/-/issues/{number}",
|
|
3593
3742
|
"method": "get"
|
|
3594
3743
|
};
|
|
@@ -3599,14 +3748,14 @@ var repo_issues_patch = {
|
|
|
3599
3748
|
"parameters": [
|
|
3600
3749
|
{
|
|
3601
3750
|
"type": "string",
|
|
3602
|
-
"description": "
|
|
3751
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3603
3752
|
"name": "repo",
|
|
3604
3753
|
"in": "path",
|
|
3605
3754
|
"required": true
|
|
3606
3755
|
},
|
|
3607
3756
|
{
|
|
3608
3757
|
"type": "integer",
|
|
3609
|
-
"description": "
|
|
3758
|
+
"description": "Issue唯一标识编号。",
|
|
3610
3759
|
"name": "number",
|
|
3611
3760
|
"in": "path",
|
|
3612
3761
|
"required": true
|
|
@@ -3633,7 +3782,7 @@ var repo_issues_patch = {
|
|
|
3633
3782
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
3634
3783
|
}
|
|
3635
3784
|
},
|
|
3636
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
3785
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
3637
3786
|
"path": "/{repo}/-/issues/{number}",
|
|
3638
3787
|
"method": "patch"
|
|
3639
3788
|
};
|
|
@@ -3643,13 +3792,13 @@ var repo_issues_assignees_list = {
|
|
|
3643
3792
|
"operationId": "ListIssueAssignees",
|
|
3644
3793
|
"parameters": [{
|
|
3645
3794
|
"type": "string",
|
|
3646
|
-
"description": "
|
|
3795
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3647
3796
|
"name": "repo",
|
|
3648
3797
|
"in": "path",
|
|
3649
3798
|
"required": true
|
|
3650
3799
|
}, {
|
|
3651
3800
|
"type": "string",
|
|
3652
|
-
"description": "
|
|
3801
|
+
"description": "Issue唯一标识编号。",
|
|
3653
3802
|
"name": "number",
|
|
3654
3803
|
"in": "path",
|
|
3655
3804
|
"required": true
|
|
@@ -3671,7 +3820,7 @@ var repo_issues_assignees_list = {
|
|
|
3671
3820
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
3672
3821
|
}
|
|
3673
3822
|
},
|
|
3674
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
3823
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:r",
|
|
3675
3824
|
"path": "/{repo}/-/issues/{number}/assignees",
|
|
3676
3825
|
"method": "get"
|
|
3677
3826
|
};
|
|
@@ -3682,14 +3831,14 @@ var repo_issues_assignees_post = {
|
|
|
3682
3831
|
"parameters": [
|
|
3683
3832
|
{
|
|
3684
3833
|
"type": "string",
|
|
3685
|
-
"description": "
|
|
3834
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3686
3835
|
"name": "repo",
|
|
3687
3836
|
"in": "path",
|
|
3688
3837
|
"required": true
|
|
3689
3838
|
},
|
|
3690
3839
|
{
|
|
3691
3840
|
"type": "string",
|
|
3692
|
-
"description": "
|
|
3841
|
+
"description": "Issue唯一标识编号。",
|
|
3693
3842
|
"name": "number",
|
|
3694
3843
|
"in": "path",
|
|
3695
3844
|
"required": true
|
|
@@ -3716,7 +3865,7 @@ var repo_issues_assignees_post = {
|
|
|
3716
3865
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
3717
3866
|
}
|
|
3718
3867
|
},
|
|
3719
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
3868
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
3720
3869
|
"path": "/{repo}/-/issues/{number}/assignees",
|
|
3721
3870
|
"method": "post"
|
|
3722
3871
|
};
|
|
@@ -3727,14 +3876,14 @@ var repo_issues_assignees_delete = {
|
|
|
3727
3876
|
"parameters": [
|
|
3728
3877
|
{
|
|
3729
3878
|
"type": "string",
|
|
3730
|
-
"description": "
|
|
3879
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3731
3880
|
"name": "repo",
|
|
3732
3881
|
"in": "path",
|
|
3733
3882
|
"required": true
|
|
3734
3883
|
},
|
|
3735
3884
|
{
|
|
3736
3885
|
"type": "string",
|
|
3737
|
-
"description": "
|
|
3886
|
+
"description": "Issue唯一标识编号。",
|
|
3738
3887
|
"name": "number",
|
|
3739
3888
|
"in": "path",
|
|
3740
3889
|
"required": true
|
|
@@ -3761,7 +3910,7 @@ var repo_issues_assignees_delete = {
|
|
|
3761
3910
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
3762
3911
|
}
|
|
3763
3912
|
},
|
|
3764
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
3913
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
3765
3914
|
"path": "/{repo}/-/issues/{number}/assignees",
|
|
3766
3915
|
"method": "delete"
|
|
3767
3916
|
};
|
|
@@ -3772,14 +3921,14 @@ var repo_issues_assignees_patch = {
|
|
|
3772
3921
|
"parameters": [
|
|
3773
3922
|
{
|
|
3774
3923
|
"type": "string",
|
|
3775
|
-
"description": "
|
|
3924
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3776
3925
|
"name": "repo",
|
|
3777
3926
|
"in": "path",
|
|
3778
3927
|
"required": true
|
|
3779
3928
|
},
|
|
3780
3929
|
{
|
|
3781
3930
|
"type": "string",
|
|
3782
|
-
"description": "
|
|
3931
|
+
"description": "Issue唯一标识编号。",
|
|
3783
3932
|
"name": "number",
|
|
3784
3933
|
"in": "path",
|
|
3785
3934
|
"required": true
|
|
@@ -3806,7 +3955,7 @@ var repo_issues_assignees_patch = {
|
|
|
3806
3955
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
3807
3956
|
}
|
|
3808
3957
|
},
|
|
3809
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
3958
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
3810
3959
|
"path": "/{repo}/-/issues/{number}/assignees",
|
|
3811
3960
|
"method": "patch"
|
|
3812
3961
|
};
|
|
@@ -3817,21 +3966,21 @@ var repo_issues_assignees_get = {
|
|
|
3817
3966
|
"parameters": [
|
|
3818
3967
|
{
|
|
3819
3968
|
"type": "string",
|
|
3820
|
-
"description": "
|
|
3969
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3821
3970
|
"name": "repo",
|
|
3822
3971
|
"in": "path",
|
|
3823
3972
|
"required": true
|
|
3824
3973
|
},
|
|
3825
3974
|
{
|
|
3826
3975
|
"type": "string",
|
|
3827
|
-
"description": "
|
|
3976
|
+
"description": "Issue唯一标识编号。",
|
|
3828
3977
|
"name": "number",
|
|
3829
3978
|
"in": "path",
|
|
3830
3979
|
"required": true
|
|
3831
3980
|
},
|
|
3832
3981
|
{
|
|
3833
3982
|
"type": "string",
|
|
3834
|
-
"description": "
|
|
3983
|
+
"description": "Issue处理人用户名。",
|
|
3835
3984
|
"name": "assignee",
|
|
3836
3985
|
"in": "path",
|
|
3837
3986
|
"required": true
|
|
@@ -3848,7 +3997,7 @@ var repo_issues_assignees_get = {
|
|
|
3848
3997
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
3849
3998
|
}
|
|
3850
3999
|
},
|
|
3851
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
4000
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:r",
|
|
3852
4001
|
"path": "/{repo}/-/issues/{number}/assignees/{assignee}",
|
|
3853
4002
|
"method": "get"
|
|
3854
4003
|
};
|
|
@@ -3859,29 +4008,36 @@ var repo_issues_comments_list = {
|
|
|
3859
4008
|
"parameters": [
|
|
3860
4009
|
{
|
|
3861
4010
|
"type": "string",
|
|
3862
|
-
"description": "
|
|
4011
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3863
4012
|
"name": "repo",
|
|
3864
4013
|
"in": "path",
|
|
3865
4014
|
"required": true
|
|
3866
4015
|
},
|
|
3867
4016
|
{
|
|
3868
4017
|
"type": "integer",
|
|
3869
|
-
"description": "
|
|
4018
|
+
"description": "Issue唯一标识编号。",
|
|
3870
4019
|
"name": "number",
|
|
3871
4020
|
"in": "path",
|
|
3872
4021
|
"required": true
|
|
3873
4022
|
},
|
|
4023
|
+
{
|
|
4024
|
+
"type": "string",
|
|
4025
|
+
"default": "created",
|
|
4026
|
+
"description": "排序方式。支持 created, updated 升序; -created, -updated 降序",
|
|
4027
|
+
"name": "sort",
|
|
4028
|
+
"in": "query"
|
|
4029
|
+
},
|
|
3874
4030
|
{
|
|
3875
4031
|
"type": "integer",
|
|
3876
4032
|
"default": 1,
|
|
3877
|
-
"description": "
|
|
4033
|
+
"description": "分页页码。",
|
|
3878
4034
|
"name": "page",
|
|
3879
4035
|
"in": "query"
|
|
3880
4036
|
},
|
|
3881
4037
|
{
|
|
3882
4038
|
"type": "integer",
|
|
3883
|
-
"default":
|
|
3884
|
-
"description": "
|
|
4039
|
+
"default": 10,
|
|
4040
|
+
"description": "分页页大小。",
|
|
3885
4041
|
"name": "page_size",
|
|
3886
4042
|
"in": "query"
|
|
3887
4043
|
}
|
|
@@ -3914,14 +4070,14 @@ var repo_issues_comments_post = {
|
|
|
3914
4070
|
"parameters": [
|
|
3915
4071
|
{
|
|
3916
4072
|
"type": "string",
|
|
3917
|
-
"description": "
|
|
4073
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3918
4074
|
"name": "repo",
|
|
3919
4075
|
"in": "path",
|
|
3920
4076
|
"required": true
|
|
3921
4077
|
},
|
|
3922
4078
|
{
|
|
3923
4079
|
"type": "integer",
|
|
3924
|
-
"description": "
|
|
4080
|
+
"description": "Issue唯一标识编号。",
|
|
3925
4081
|
"name": "number",
|
|
3926
4082
|
"in": "path",
|
|
3927
4083
|
"required": true
|
|
@@ -3959,21 +4115,21 @@ var repo_issues_comments_get = {
|
|
|
3959
4115
|
"parameters": [
|
|
3960
4116
|
{
|
|
3961
4117
|
"type": "string",
|
|
3962
|
-
"description": "
|
|
4118
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
3963
4119
|
"name": "repo",
|
|
3964
4120
|
"in": "path",
|
|
3965
4121
|
"required": true
|
|
3966
4122
|
},
|
|
3967
4123
|
{
|
|
3968
|
-
"type": "
|
|
3969
|
-
"description": "
|
|
4124
|
+
"type": "integer",
|
|
4125
|
+
"description": "Issue唯一标识编号。",
|
|
3970
4126
|
"name": "number",
|
|
3971
4127
|
"in": "path",
|
|
3972
4128
|
"required": true
|
|
3973
4129
|
},
|
|
3974
4130
|
{
|
|
3975
|
-
"type": "
|
|
3976
|
-
"description": "
|
|
4131
|
+
"type": "integer",
|
|
4132
|
+
"description": "Issue评论唯一标识编号。",
|
|
3977
4133
|
"name": "comment_id",
|
|
3978
4134
|
"in": "path",
|
|
3979
4135
|
"required": true
|
|
@@ -4004,21 +4160,21 @@ var repo_issues_comments_patch = {
|
|
|
4004
4160
|
"parameters": [
|
|
4005
4161
|
{
|
|
4006
4162
|
"type": "string",
|
|
4007
|
-
"description": "
|
|
4163
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4008
4164
|
"name": "repo",
|
|
4009
4165
|
"in": "path",
|
|
4010
4166
|
"required": true
|
|
4011
4167
|
},
|
|
4012
4168
|
{
|
|
4013
4169
|
"type": "integer",
|
|
4014
|
-
"description": "
|
|
4170
|
+
"description": "Issue唯一标识编号。",
|
|
4015
4171
|
"name": "number",
|
|
4016
4172
|
"in": "path",
|
|
4017
4173
|
"required": true
|
|
4018
4174
|
},
|
|
4019
4175
|
{
|
|
4020
4176
|
"type": "integer",
|
|
4021
|
-
"description": "
|
|
4177
|
+
"description": "Issue评论唯一标识编号。",
|
|
4022
4178
|
"name": "comment_id",
|
|
4023
4179
|
"in": "path",
|
|
4024
4180
|
"required": true
|
|
@@ -4056,14 +4212,14 @@ var repo_issues_labels_list = {
|
|
|
4056
4212
|
"parameters": [
|
|
4057
4213
|
{
|
|
4058
4214
|
"type": "string",
|
|
4059
|
-
"description": "
|
|
4215
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4060
4216
|
"name": "repo",
|
|
4061
4217
|
"in": "path",
|
|
4062
4218
|
"required": true
|
|
4063
4219
|
},
|
|
4064
4220
|
{
|
|
4065
4221
|
"type": "integer",
|
|
4066
|
-
"description": "
|
|
4222
|
+
"description": "Issue唯一标识编号。",
|
|
4067
4223
|
"name": "number",
|
|
4068
4224
|
"in": "path",
|
|
4069
4225
|
"required": true
|
|
@@ -4071,14 +4227,14 @@ var repo_issues_labels_list = {
|
|
|
4071
4227
|
{
|
|
4072
4228
|
"type": "integer",
|
|
4073
4229
|
"default": 1,
|
|
4074
|
-
"description": "
|
|
4230
|
+
"description": "分页页码。",
|
|
4075
4231
|
"name": "page",
|
|
4076
4232
|
"in": "query"
|
|
4077
4233
|
},
|
|
4078
4234
|
{
|
|
4079
4235
|
"type": "integer",
|
|
4080
4236
|
"default": 30,
|
|
4081
|
-
"description": "
|
|
4237
|
+
"description": "分页页大小。",
|
|
4082
4238
|
"name": "page_size",
|
|
4083
4239
|
"in": "query"
|
|
4084
4240
|
}
|
|
@@ -4100,7 +4256,7 @@ var repo_issues_labels_list = {
|
|
|
4100
4256
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
4101
4257
|
}
|
|
4102
4258
|
},
|
|
4103
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
4259
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:r",
|
|
4104
4260
|
"path": "/{repo}/-/issues/{number}/labels",
|
|
4105
4261
|
"method": "get"
|
|
4106
4262
|
};
|
|
@@ -4111,14 +4267,14 @@ var repo_issues_labels_put = {
|
|
|
4111
4267
|
"parameters": [
|
|
4112
4268
|
{
|
|
4113
4269
|
"type": "string",
|
|
4114
|
-
"description": "
|
|
4270
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4115
4271
|
"name": "repo",
|
|
4116
4272
|
"in": "path",
|
|
4117
4273
|
"required": true
|
|
4118
4274
|
},
|
|
4119
4275
|
{
|
|
4120
4276
|
"type": "integer",
|
|
4121
|
-
"description": "
|
|
4277
|
+
"description": "Issue唯一标识编号。",
|
|
4122
4278
|
"name": "number",
|
|
4123
4279
|
"in": "path",
|
|
4124
4280
|
"required": true
|
|
@@ -4145,7 +4301,7 @@ var repo_issues_labels_put = {
|
|
|
4145
4301
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
4146
4302
|
}
|
|
4147
4303
|
},
|
|
4148
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
4304
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
4149
4305
|
"path": "/{repo}/-/issues/{number}/labels",
|
|
4150
4306
|
"method": "put"
|
|
4151
4307
|
};
|
|
@@ -4156,14 +4312,14 @@ var repo_issues_labels_post = {
|
|
|
4156
4312
|
"parameters": [
|
|
4157
4313
|
{
|
|
4158
4314
|
"type": "string",
|
|
4159
|
-
"description": "
|
|
4315
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4160
4316
|
"name": "repo",
|
|
4161
4317
|
"in": "path",
|
|
4162
4318
|
"required": true
|
|
4163
4319
|
},
|
|
4164
4320
|
{
|
|
4165
4321
|
"type": "integer",
|
|
4166
|
-
"description": "
|
|
4322
|
+
"description": "Issue唯一标识编号。",
|
|
4167
4323
|
"name": "number",
|
|
4168
4324
|
"in": "path",
|
|
4169
4325
|
"required": true
|
|
@@ -4190,7 +4346,7 @@ var repo_issues_labels_post = {
|
|
|
4190
4346
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
4191
4347
|
}
|
|
4192
4348
|
},
|
|
4193
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
4349
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
4194
4350
|
"path": "/{repo}/-/issues/{number}/labels",
|
|
4195
4351
|
"method": "post"
|
|
4196
4352
|
};
|
|
@@ -4200,13 +4356,13 @@ var repo_issues_labels_delete = {
|
|
|
4200
4356
|
"operationId": "DeleteIssueLabels",
|
|
4201
4357
|
"parameters": [{
|
|
4202
4358
|
"type": "string",
|
|
4203
|
-
"description": "
|
|
4359
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4204
4360
|
"name": "repo",
|
|
4205
4361
|
"in": "path",
|
|
4206
4362
|
"required": true
|
|
4207
4363
|
}, {
|
|
4208
4364
|
"type": "integer",
|
|
4209
|
-
"description": "
|
|
4365
|
+
"description": "Issue唯一标识编号。",
|
|
4210
4366
|
"name": "number",
|
|
4211
4367
|
"in": "path",
|
|
4212
4368
|
"required": true
|
|
@@ -4222,7 +4378,7 @@ var repo_issues_labels_delete = {
|
|
|
4222
4378
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
4223
4379
|
}
|
|
4224
4380
|
},
|
|
4225
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
4381
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
4226
4382
|
"path": "/{repo}/-/issues/{number}/labels",
|
|
4227
4383
|
"method": "delete"
|
|
4228
4384
|
};
|
|
@@ -4233,21 +4389,21 @@ var repo_issues_labels_deleteByName = {
|
|
|
4233
4389
|
"parameters": [
|
|
4234
4390
|
{
|
|
4235
4391
|
"type": "string",
|
|
4236
|
-
"description": "
|
|
4392
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4237
4393
|
"name": "repo",
|
|
4238
4394
|
"in": "path",
|
|
4239
4395
|
"required": true
|
|
4240
4396
|
},
|
|
4241
4397
|
{
|
|
4242
4398
|
"type": "integer",
|
|
4243
|
-
"description": "
|
|
4399
|
+
"description": "Issue唯一标识编号。",
|
|
4244
4400
|
"name": "number",
|
|
4245
4401
|
"in": "path",
|
|
4246
4402
|
"required": true
|
|
4247
4403
|
},
|
|
4248
4404
|
{
|
|
4249
4405
|
"type": "string",
|
|
4250
|
-
"description": "
|
|
4406
|
+
"description": "标签名称。",
|
|
4251
4407
|
"name": "name",
|
|
4252
4408
|
"in": "path",
|
|
4253
4409
|
"required": true
|
|
@@ -4267,26 +4423,26 @@ var repo_issues_labels_deleteByName = {
|
|
|
4267
4423
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
4268
4424
|
}
|
|
4269
4425
|
},
|
|
4270
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
4426
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
4271
4427
|
"path": "/{repo}/-/issues/{number}/labels/{name}",
|
|
4272
4428
|
"method": "delete"
|
|
4273
4429
|
};
|
|
4274
|
-
var
|
|
4275
|
-
"description": "为指定Issue
|
|
4430
|
+
var repo_issues_property_patch = {
|
|
4431
|
+
"description": "为指定Issue批量更新多个自定义属性的值,要求属性 key 必须已存在,允许部分失败\n访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-issue:rw",
|
|
4276
4432
|
"tags": ["Issues"],
|
|
4277
|
-
"summary": "
|
|
4278
|
-
"operationId": "
|
|
4433
|
+
"summary": "批量更新Issue自定义属性值",
|
|
4434
|
+
"operationId": "UpdateIssueProperties",
|
|
4279
4435
|
"parameters": [
|
|
4280
4436
|
{
|
|
4281
4437
|
"type": "string",
|
|
4282
|
-
"description": "
|
|
4438
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4283
4439
|
"name": "repo",
|
|
4284
4440
|
"in": "path",
|
|
4285
4441
|
"required": true
|
|
4286
4442
|
},
|
|
4287
4443
|
{
|
|
4288
4444
|
"type": "integer",
|
|
4289
|
-
"description": "
|
|
4445
|
+
"description": "Issue唯一标识编号。",
|
|
4290
4446
|
"name": "number",
|
|
4291
4447
|
"in": "path",
|
|
4292
4448
|
"required": true
|
|
@@ -4300,7 +4456,14 @@ var repo_issues_property_post = {
|
|
|
4300
4456
|
}
|
|
4301
4457
|
],
|
|
4302
4458
|
"responses": {
|
|
4303
|
-
"200": {
|
|
4459
|
+
"200": {
|
|
4460
|
+
"description": "OK",
|
|
4461
|
+
"schema": { "$ref": "#/definitions/api.IssuePropertyUpdateResult" }
|
|
4462
|
+
},
|
|
4463
|
+
"400": {
|
|
4464
|
+
"description": "Bad Request",
|
|
4465
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
4466
|
+
},
|
|
4304
4467
|
"404": {
|
|
4305
4468
|
"description": "Not Found",
|
|
4306
4469
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
@@ -4311,7 +4474,7 @@ var repo_issues_property_post = {
|
|
|
4311
4474
|
}
|
|
4312
4475
|
},
|
|
4313
4476
|
"path": "/{repo}/-/issues/{number}/property",
|
|
4314
|
-
"method": "
|
|
4477
|
+
"method": "patch"
|
|
4315
4478
|
};
|
|
4316
4479
|
var repo_knowledge_base_get = {
|
|
4317
4480
|
"tags": ["KnowledgeBase"],
|
|
@@ -4580,47 +4743,6 @@ var repo_labels_patch = {
|
|
|
4580
4743
|
"path": "/{repo}/-/labels/{name}",
|
|
4581
4744
|
"method": "patch"
|
|
4582
4745
|
};
|
|
4583
|
-
var repo_lfs_get = {
|
|
4584
|
-
"tags": ["Git"],
|
|
4585
|
-
"summary": "获取 git lfs 文件下载链接",
|
|
4586
|
-
"operationId": "GetPresignedLFSDownloadLink",
|
|
4587
|
-
"parameters": [
|
|
4588
|
-
{
|
|
4589
|
-
"type": "string",
|
|
4590
|
-
"description": "slug",
|
|
4591
|
-
"name": "slug",
|
|
4592
|
-
"in": "path",
|
|
4593
|
-
"required": true
|
|
4594
|
-
},
|
|
4595
|
-
{
|
|
4596
|
-
"type": "string",
|
|
4597
|
-
"description": "lfs oid",
|
|
4598
|
-
"name": "oid",
|
|
4599
|
-
"in": "path",
|
|
4600
|
-
"required": true
|
|
4601
|
-
},
|
|
4602
|
-
{
|
|
4603
|
-
"type": "string",
|
|
4604
|
-
"description": "download filename",
|
|
4605
|
-
"name": "name",
|
|
4606
|
-
"in": "query",
|
|
4607
|
-
"required": true
|
|
4608
|
-
}
|
|
4609
|
-
],
|
|
4610
|
-
"responses": {
|
|
4611
|
-
"404": {
|
|
4612
|
-
"description": "Not Found",
|
|
4613
|
-
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
4614
|
-
},
|
|
4615
|
-
"500": {
|
|
4616
|
-
"description": "Internal Server Error",
|
|
4617
|
-
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
4618
|
-
}
|
|
4619
|
-
},
|
|
4620
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
|
|
4621
|
-
"path": "/{repo}/-/lfs/{oid}",
|
|
4622
|
-
"method": "get"
|
|
4623
|
-
};
|
|
4624
4746
|
var repo_members_list = {
|
|
4625
4747
|
"tags": ["Members"],
|
|
4626
4748
|
"summary": "获取指定仓库内的所有直接成员。List all direct members within specified repository.",
|
|
@@ -4824,7 +4946,7 @@ var repo_pullInBatch_list = {
|
|
|
4824
4946
|
"operationId": "ListPullsByNumbers",
|
|
4825
4947
|
"parameters": [{
|
|
4826
4948
|
"type": "string",
|
|
4827
|
-
"description": "
|
|
4949
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4828
4950
|
"name": "repo",
|
|
4829
4951
|
"in": "path",
|
|
4830
4952
|
"required": true
|
|
@@ -4832,7 +4954,7 @@ var repo_pullInBatch_list = {
|
|
|
4832
4954
|
"type": "array",
|
|
4833
4955
|
"items": { "type": "integer" },
|
|
4834
4956
|
"collectionFormat": "csv",
|
|
4835
|
-
"description": "
|
|
4957
|
+
"description": "Pull唯一标识编号",
|
|
4836
4958
|
"name": "n",
|
|
4837
4959
|
"in": "query",
|
|
4838
4960
|
"required": true
|
|
@@ -4865,7 +4987,7 @@ var repo_pulls_list = {
|
|
|
4865
4987
|
"parameters": [
|
|
4866
4988
|
{
|
|
4867
4989
|
"type": "string",
|
|
4868
|
-
"description": "
|
|
4990
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4869
4991
|
"name": "repo",
|
|
4870
4992
|
"in": "path",
|
|
4871
4993
|
"required": true
|
|
@@ -4873,57 +4995,72 @@ var repo_pulls_list = {
|
|
|
4873
4995
|
{
|
|
4874
4996
|
"type": "integer",
|
|
4875
4997
|
"default": 1,
|
|
4876
|
-
"description": "
|
|
4998
|
+
"description": "分页页码。",
|
|
4877
4999
|
"name": "page",
|
|
4878
5000
|
"in": "query"
|
|
4879
5001
|
},
|
|
4880
5002
|
{
|
|
4881
5003
|
"type": "integer",
|
|
4882
|
-
"default":
|
|
4883
|
-
"description": "
|
|
5004
|
+
"default": 10,
|
|
5005
|
+
"description": "分页页大小。",
|
|
4884
5006
|
"name": "page_size",
|
|
4885
5007
|
"in": "query"
|
|
4886
5008
|
},
|
|
4887
5009
|
{
|
|
4888
5010
|
"type": "string",
|
|
4889
5011
|
"default": "open",
|
|
4890
|
-
"description": "
|
|
5012
|
+
"description": "合并请求状态过滤。可选值:`open`,`closed`,`all`",
|
|
4891
5013
|
"name": "state",
|
|
4892
5014
|
"in": "query"
|
|
4893
5015
|
},
|
|
4894
5016
|
{
|
|
4895
5017
|
"type": "string",
|
|
4896
|
-
"description": "
|
|
5018
|
+
"description": "作者名称过滤。示例值:`张三,李四`",
|
|
4897
5019
|
"name": "authors",
|
|
4898
5020
|
"in": "query"
|
|
4899
5021
|
},
|
|
4900
5022
|
{
|
|
4901
5023
|
"type": "string",
|
|
4902
|
-
"description": "
|
|
5024
|
+
"description": "评审人名称过滤,-表示无评审人。示例值:`张三,李四`,`-`",
|
|
4903
5025
|
"name": "reviewers",
|
|
4904
5026
|
"in": "query"
|
|
4905
5027
|
},
|
|
4906
5028
|
{
|
|
4907
5029
|
"type": "string",
|
|
4908
|
-
"
|
|
5030
|
+
"default": "contains_any",
|
|
5031
|
+
"description": "评审者操作符。示例值:`contains_any`,`contains_all`",
|
|
5032
|
+
"name": "reviewers_operator",
|
|
5033
|
+
"in": "query"
|
|
5034
|
+
},
|
|
5035
|
+
{
|
|
5036
|
+
"type": "string",
|
|
5037
|
+
"description": "处理人名称过滤,-表示无处理人。示例值:`张三,李四`,`-`",
|
|
4909
5038
|
"name": "assignees",
|
|
4910
5039
|
"in": "query"
|
|
4911
5040
|
},
|
|
4912
5041
|
{
|
|
4913
5042
|
"type": "string",
|
|
4914
|
-
"
|
|
5043
|
+
"default": "contains_any",
|
|
5044
|
+
"description": "处理人操作符。示例值:`contains_any`,`contains_all`",
|
|
5045
|
+
"name": "assignees_operator",
|
|
5046
|
+
"in": "query"
|
|
5047
|
+
},
|
|
5048
|
+
{
|
|
5049
|
+
"type": "string",
|
|
5050
|
+
"description": "标签过滤。示例值:`git,bug,feature`",
|
|
4915
5051
|
"name": "labels",
|
|
4916
5052
|
"in": "query"
|
|
4917
5053
|
},
|
|
4918
5054
|
{
|
|
4919
5055
|
"type": "string",
|
|
4920
|
-
"
|
|
5056
|
+
"default": "contains_any",
|
|
5057
|
+
"description": "标签操作符。示例值:`contains_any`,`contains_all`",
|
|
4921
5058
|
"name": "labels_operator",
|
|
4922
5059
|
"in": "query"
|
|
4923
5060
|
},
|
|
4924
5061
|
{
|
|
4925
5062
|
"type": "string",
|
|
4926
|
-
"description": "
|
|
5063
|
+
"description": "目标分支引用。示例值:`master`",
|
|
4927
5064
|
"name": "base_ref",
|
|
4928
5065
|
"in": "query"
|
|
4929
5066
|
}
|
|
@@ -4955,7 +5092,7 @@ var repo_pulls_post = {
|
|
|
4955
5092
|
"operationId": "PostPull",
|
|
4956
5093
|
"parameters": [{
|
|
4957
5094
|
"type": "string",
|
|
4958
|
-
"description": "
|
|
5095
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4959
5096
|
"name": "repo",
|
|
4960
5097
|
"in": "path",
|
|
4961
5098
|
"required": true
|
|
@@ -4990,13 +5127,13 @@ var repo_pulls_get = {
|
|
|
4990
5127
|
"operationId": "GetPull",
|
|
4991
5128
|
"parameters": [{
|
|
4992
5129
|
"type": "string",
|
|
4993
|
-
"description": "
|
|
5130
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
4994
5131
|
"name": "repo",
|
|
4995
5132
|
"in": "path",
|
|
4996
5133
|
"required": true
|
|
4997
5134
|
}, {
|
|
4998
5135
|
"type": "string",
|
|
4999
|
-
"description": "
|
|
5136
|
+
"description": "Pull唯一标识编号。",
|
|
5000
5137
|
"name": "number",
|
|
5001
5138
|
"in": "path",
|
|
5002
5139
|
"required": true
|
|
@@ -5026,14 +5163,14 @@ var repo_pulls_patch = {
|
|
|
5026
5163
|
"parameters": [
|
|
5027
5164
|
{
|
|
5028
5165
|
"type": "string",
|
|
5029
|
-
"description": "
|
|
5166
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5030
5167
|
"name": "repo",
|
|
5031
5168
|
"in": "path",
|
|
5032
5169
|
"required": true
|
|
5033
5170
|
},
|
|
5034
5171
|
{
|
|
5035
5172
|
"type": "string",
|
|
5036
|
-
"description": "Pull
|
|
5173
|
+
"description": "Pull唯一标识编号。",
|
|
5037
5174
|
"name": "number",
|
|
5038
5175
|
"in": "path",
|
|
5039
5176
|
"required": true
|
|
@@ -5070,13 +5207,13 @@ var repo_pulls_assignees_list = {
|
|
|
5070
5207
|
"operationId": "ListPullAssignees",
|
|
5071
5208
|
"parameters": [{
|
|
5072
5209
|
"type": "string",
|
|
5073
|
-
"description": "
|
|
5210
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5074
5211
|
"name": "repo",
|
|
5075
5212
|
"in": "path",
|
|
5076
5213
|
"required": true
|
|
5077
5214
|
}, {
|
|
5078
5215
|
"type": "string",
|
|
5079
|
-
"description": "
|
|
5216
|
+
"description": "Pull唯一标识编号。",
|
|
5080
5217
|
"name": "number",
|
|
5081
5218
|
"in": "path",
|
|
5082
5219
|
"required": true
|
|
@@ -5098,7 +5235,7 @@ var repo_pulls_assignees_list = {
|
|
|
5098
5235
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5099
5236
|
}
|
|
5100
5237
|
},
|
|
5101
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5238
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:r",
|
|
5102
5239
|
"path": "/{repo}/-/pulls/{number}/assignees",
|
|
5103
5240
|
"method": "get"
|
|
5104
5241
|
};
|
|
@@ -5109,14 +5246,14 @@ var repo_pulls_assignees_post = {
|
|
|
5109
5246
|
"parameters": [
|
|
5110
5247
|
{
|
|
5111
5248
|
"type": "string",
|
|
5112
|
-
"description": "
|
|
5249
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5113
5250
|
"name": "repo",
|
|
5114
5251
|
"in": "path",
|
|
5115
5252
|
"required": true
|
|
5116
5253
|
},
|
|
5117
5254
|
{
|
|
5118
5255
|
"type": "string",
|
|
5119
|
-
"description": "
|
|
5256
|
+
"description": "Pull唯一标识编号。",
|
|
5120
5257
|
"name": "number",
|
|
5121
5258
|
"in": "path",
|
|
5122
5259
|
"required": true
|
|
@@ -5143,7 +5280,7 @@ var repo_pulls_assignees_post = {
|
|
|
5143
5280
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5144
5281
|
}
|
|
5145
5282
|
},
|
|
5146
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5283
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:rw",
|
|
5147
5284
|
"path": "/{repo}/-/pulls/{number}/assignees",
|
|
5148
5285
|
"method": "post"
|
|
5149
5286
|
};
|
|
@@ -5154,14 +5291,14 @@ var repo_pulls_assignees_delete = {
|
|
|
5154
5291
|
"parameters": [
|
|
5155
5292
|
{
|
|
5156
5293
|
"type": "string",
|
|
5157
|
-
"description": "
|
|
5294
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5158
5295
|
"name": "repo",
|
|
5159
5296
|
"in": "path",
|
|
5160
5297
|
"required": true
|
|
5161
5298
|
},
|
|
5162
5299
|
{
|
|
5163
5300
|
"type": "string",
|
|
5164
|
-
"description": "
|
|
5301
|
+
"description": "Pull唯一标识编号。",
|
|
5165
5302
|
"name": "number",
|
|
5166
5303
|
"in": "path",
|
|
5167
5304
|
"required": true
|
|
@@ -5188,7 +5325,7 @@ var repo_pulls_assignees_delete = {
|
|
|
5188
5325
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5189
5326
|
}
|
|
5190
5327
|
},
|
|
5191
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5328
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:rw",
|
|
5192
5329
|
"path": "/{repo}/-/pulls/{number}/assignees",
|
|
5193
5330
|
"method": "delete"
|
|
5194
5331
|
};
|
|
@@ -5199,21 +5336,21 @@ var repo_pulls_assignees_get = {
|
|
|
5199
5336
|
"parameters": [
|
|
5200
5337
|
{
|
|
5201
5338
|
"type": "string",
|
|
5202
|
-
"description": "
|
|
5339
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5203
5340
|
"name": "repo",
|
|
5204
5341
|
"in": "path",
|
|
5205
5342
|
"required": true
|
|
5206
5343
|
},
|
|
5207
5344
|
{
|
|
5208
5345
|
"type": "string",
|
|
5209
|
-
"description": "
|
|
5346
|
+
"description": "Pull唯一标识编号。",
|
|
5210
5347
|
"name": "number",
|
|
5211
5348
|
"in": "path",
|
|
5212
5349
|
"required": true
|
|
5213
5350
|
},
|
|
5214
5351
|
{
|
|
5215
5352
|
"type": "string",
|
|
5216
|
-
"description": "
|
|
5353
|
+
"description": "待检查的处理人用户名。",
|
|
5217
5354
|
"name": "assignee",
|
|
5218
5355
|
"in": "path",
|
|
5219
5356
|
"required": true
|
|
@@ -5230,7 +5367,7 @@ var repo_pulls_assignees_get = {
|
|
|
5230
5367
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5231
5368
|
}
|
|
5232
5369
|
},
|
|
5233
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5370
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:r",
|
|
5234
5371
|
"path": "/{repo}/-/pulls/{number}/assignees/{assignee}",
|
|
5235
5372
|
"method": "get"
|
|
5236
5373
|
};
|
|
@@ -5241,14 +5378,14 @@ var repo_pulls_comments_list = {
|
|
|
5241
5378
|
"parameters": [
|
|
5242
5379
|
{
|
|
5243
5380
|
"type": "string",
|
|
5244
|
-
"description": "
|
|
5381
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5245
5382
|
"name": "repo",
|
|
5246
5383
|
"in": "path",
|
|
5247
5384
|
"required": true
|
|
5248
5385
|
},
|
|
5249
5386
|
{
|
|
5250
5387
|
"type": "string",
|
|
5251
|
-
"description": "
|
|
5388
|
+
"description": "Pull唯一标识编号。",
|
|
5252
5389
|
"name": "number",
|
|
5253
5390
|
"in": "path",
|
|
5254
5391
|
"required": true
|
|
@@ -5256,14 +5393,14 @@ var repo_pulls_comments_list = {
|
|
|
5256
5393
|
{
|
|
5257
5394
|
"type": "integer",
|
|
5258
5395
|
"default": 1,
|
|
5259
|
-
"description": "
|
|
5396
|
+
"description": "分页页码。",
|
|
5260
5397
|
"name": "page",
|
|
5261
5398
|
"in": "query"
|
|
5262
5399
|
},
|
|
5263
5400
|
{
|
|
5264
5401
|
"type": "integer",
|
|
5265
|
-
"default":
|
|
5266
|
-
"description": "
|
|
5402
|
+
"default": 10,
|
|
5403
|
+
"description": "分页页大小。",
|
|
5267
5404
|
"name": "page_size",
|
|
5268
5405
|
"in": "query"
|
|
5269
5406
|
}
|
|
@@ -5296,14 +5433,14 @@ var repo_pulls_comments_post = {
|
|
|
5296
5433
|
"parameters": [
|
|
5297
5434
|
{
|
|
5298
5435
|
"type": "string",
|
|
5299
|
-
"description": "
|
|
5436
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5300
5437
|
"name": "repo",
|
|
5301
5438
|
"in": "path",
|
|
5302
5439
|
"required": true
|
|
5303
5440
|
},
|
|
5304
5441
|
{
|
|
5305
5442
|
"type": "string",
|
|
5306
|
-
"description": "
|
|
5443
|
+
"description": "Pull唯一标识编号。",
|
|
5307
5444
|
"name": "number",
|
|
5308
5445
|
"in": "path",
|
|
5309
5446
|
"required": true
|
|
@@ -5341,21 +5478,21 @@ var repo_pulls_comments_get = {
|
|
|
5341
5478
|
"parameters": [
|
|
5342
5479
|
{
|
|
5343
5480
|
"type": "string",
|
|
5344
|
-
"description": "
|
|
5481
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5345
5482
|
"name": "repo",
|
|
5346
5483
|
"in": "path",
|
|
5347
5484
|
"required": true
|
|
5348
5485
|
},
|
|
5349
5486
|
{
|
|
5350
5487
|
"type": "string",
|
|
5351
|
-
"description": "
|
|
5488
|
+
"description": "Pull唯一标识编号。",
|
|
5352
5489
|
"name": "number",
|
|
5353
5490
|
"in": "path",
|
|
5354
5491
|
"required": true
|
|
5355
5492
|
},
|
|
5356
5493
|
{
|
|
5357
5494
|
"type": "integer",
|
|
5358
|
-
"description": "
|
|
5495
|
+
"description": "PullComment唯一标识编号。",
|
|
5359
5496
|
"name": "comment_id",
|
|
5360
5497
|
"in": "path",
|
|
5361
5498
|
"required": true
|
|
@@ -5386,21 +5523,21 @@ var repo_pulls_comments_patch = {
|
|
|
5386
5523
|
"parameters": [
|
|
5387
5524
|
{
|
|
5388
5525
|
"type": "string",
|
|
5389
|
-
"description": "
|
|
5526
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5390
5527
|
"name": "repo",
|
|
5391
5528
|
"in": "path",
|
|
5392
5529
|
"required": true
|
|
5393
5530
|
},
|
|
5394
5531
|
{
|
|
5395
5532
|
"type": "string",
|
|
5396
|
-
"description": "
|
|
5533
|
+
"description": "Pull唯一标识编号。",
|
|
5397
5534
|
"name": "number",
|
|
5398
5535
|
"in": "path",
|
|
5399
5536
|
"required": true
|
|
5400
5537
|
},
|
|
5401
5538
|
{
|
|
5402
5539
|
"type": "integer",
|
|
5403
|
-
"description": "
|
|
5540
|
+
"description": "PullComment唯一标识编号。",
|
|
5404
5541
|
"name": "comment_id",
|
|
5405
5542
|
"in": "path",
|
|
5406
5543
|
"required": true
|
|
@@ -5437,13 +5574,13 @@ var repo_pulls_commitStatuses_get = {
|
|
|
5437
5574
|
"operationId": "ListPullCommitStatuses",
|
|
5438
5575
|
"parameters": [{
|
|
5439
5576
|
"type": "string",
|
|
5440
|
-
"description": "
|
|
5577
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5441
5578
|
"name": "repo",
|
|
5442
5579
|
"in": "path",
|
|
5443
5580
|
"required": true
|
|
5444
5581
|
}, {
|
|
5445
5582
|
"type": "integer",
|
|
5446
|
-
"description": "
|
|
5583
|
+
"description": "Pull唯一标识编号。",
|
|
5447
5584
|
"name": "number",
|
|
5448
5585
|
"in": "path",
|
|
5449
5586
|
"required": true
|
|
@@ -5473,14 +5610,14 @@ var repo_pulls_commits_list = {
|
|
|
5473
5610
|
"parameters": [
|
|
5474
5611
|
{
|
|
5475
5612
|
"type": "string",
|
|
5476
|
-
"description": "
|
|
5613
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5477
5614
|
"name": "repo",
|
|
5478
5615
|
"in": "path",
|
|
5479
5616
|
"required": true
|
|
5480
5617
|
},
|
|
5481
5618
|
{
|
|
5482
5619
|
"type": "string",
|
|
5483
|
-
"description": "
|
|
5620
|
+
"description": "Pull唯一标识编号。",
|
|
5484
5621
|
"name": "number",
|
|
5485
5622
|
"in": "path",
|
|
5486
5623
|
"required": true
|
|
@@ -5488,14 +5625,14 @@ var repo_pulls_commits_list = {
|
|
|
5488
5625
|
{
|
|
5489
5626
|
"type": "integer",
|
|
5490
5627
|
"default": 1,
|
|
5491
|
-
"description": "
|
|
5628
|
+
"description": "分页页码。",
|
|
5492
5629
|
"name": "page",
|
|
5493
5630
|
"in": "query"
|
|
5494
5631
|
},
|
|
5495
5632
|
{
|
|
5496
5633
|
"type": "integer",
|
|
5497
|
-
"default":
|
|
5498
|
-
"description": "
|
|
5634
|
+
"default": 10,
|
|
5635
|
+
"description": "分页页大小。",
|
|
5499
5636
|
"name": "page_size",
|
|
5500
5637
|
"in": "query"
|
|
5501
5638
|
}
|
|
@@ -5517,7 +5654,7 @@ var repo_pulls_commits_list = {
|
|
|
5517
5654
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5518
5655
|
}
|
|
5519
5656
|
},
|
|
5520
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5657
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:r",
|
|
5521
5658
|
"path": "/{repo}/-/pulls/{number}/commits",
|
|
5522
5659
|
"method": "get"
|
|
5523
5660
|
};
|
|
@@ -5527,13 +5664,13 @@ var repo_pulls_files_list = {
|
|
|
5527
5664
|
"operationId": "ListPullFiles",
|
|
5528
5665
|
"parameters": [{
|
|
5529
5666
|
"type": "string",
|
|
5530
|
-
"description": "
|
|
5667
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5531
5668
|
"name": "repo",
|
|
5532
5669
|
"in": "path",
|
|
5533
5670
|
"required": true
|
|
5534
5671
|
}, {
|
|
5535
5672
|
"type": "string",
|
|
5536
|
-
"description": "
|
|
5673
|
+
"description": "Pull唯一标识编号。",
|
|
5537
5674
|
"name": "number",
|
|
5538
5675
|
"in": "path",
|
|
5539
5676
|
"required": true
|
|
@@ -5555,7 +5692,7 @@ var repo_pulls_files_list = {
|
|
|
5555
5692
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5556
5693
|
}
|
|
5557
5694
|
},
|
|
5558
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5695
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:r",
|
|
5559
5696
|
"path": "/{repo}/-/pulls/{number}/files",
|
|
5560
5697
|
"method": "get"
|
|
5561
5698
|
};
|
|
@@ -5566,14 +5703,14 @@ var repo_pulls_labels_list = {
|
|
|
5566
5703
|
"parameters": [
|
|
5567
5704
|
{
|
|
5568
5705
|
"type": "string",
|
|
5569
|
-
"description": "
|
|
5706
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5570
5707
|
"name": "repo",
|
|
5571
5708
|
"in": "path",
|
|
5572
5709
|
"required": true
|
|
5573
5710
|
},
|
|
5574
5711
|
{
|
|
5575
|
-
"type": "
|
|
5576
|
-
"description": "
|
|
5712
|
+
"type": "integer",
|
|
5713
|
+
"description": "Pull唯一标识编号。",
|
|
5577
5714
|
"name": "number",
|
|
5578
5715
|
"in": "path",
|
|
5579
5716
|
"required": true
|
|
@@ -5581,14 +5718,14 @@ var repo_pulls_labels_list = {
|
|
|
5581
5718
|
{
|
|
5582
5719
|
"type": "integer",
|
|
5583
5720
|
"default": 1,
|
|
5584
|
-
"description": "
|
|
5721
|
+
"description": "分页页码。",
|
|
5585
5722
|
"name": "page",
|
|
5586
5723
|
"in": "query"
|
|
5587
5724
|
},
|
|
5588
5725
|
{
|
|
5589
5726
|
"type": "integer",
|
|
5590
|
-
"default":
|
|
5591
|
-
"description": "
|
|
5727
|
+
"default": 10,
|
|
5728
|
+
"description": "分页页大小。",
|
|
5592
5729
|
"name": "page_size",
|
|
5593
5730
|
"in": "query"
|
|
5594
5731
|
}
|
|
@@ -5610,7 +5747,7 @@ var repo_pulls_labels_list = {
|
|
|
5610
5747
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5611
5748
|
}
|
|
5612
5749
|
},
|
|
5613
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5750
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:r",
|
|
5614
5751
|
"path": "/{repo}/-/pulls/{number}/labels",
|
|
5615
5752
|
"method": "get"
|
|
5616
5753
|
};
|
|
@@ -5621,14 +5758,14 @@ var repo_pulls_labels_put = {
|
|
|
5621
5758
|
"parameters": [
|
|
5622
5759
|
{
|
|
5623
5760
|
"type": "string",
|
|
5624
|
-
"description": "
|
|
5761
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5625
5762
|
"name": "repo",
|
|
5626
5763
|
"in": "path",
|
|
5627
5764
|
"required": true
|
|
5628
5765
|
},
|
|
5629
5766
|
{
|
|
5630
5767
|
"type": "string",
|
|
5631
|
-
"description": "
|
|
5768
|
+
"description": "Pull唯一标识编号。",
|
|
5632
5769
|
"name": "number",
|
|
5633
5770
|
"in": "path",
|
|
5634
5771
|
"required": true
|
|
@@ -5655,7 +5792,7 @@ var repo_pulls_labels_put = {
|
|
|
5655
5792
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5656
5793
|
}
|
|
5657
5794
|
},
|
|
5658
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5795
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:rw",
|
|
5659
5796
|
"path": "/{repo}/-/pulls/{number}/labels",
|
|
5660
5797
|
"method": "put"
|
|
5661
5798
|
};
|
|
@@ -5666,14 +5803,14 @@ var repo_pulls_labels_post = {
|
|
|
5666
5803
|
"parameters": [
|
|
5667
5804
|
{
|
|
5668
5805
|
"type": "string",
|
|
5669
|
-
"description": "
|
|
5806
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5670
5807
|
"name": "repo",
|
|
5671
5808
|
"in": "path",
|
|
5672
5809
|
"required": true
|
|
5673
5810
|
},
|
|
5674
5811
|
{
|
|
5675
5812
|
"type": "string",
|
|
5676
|
-
"description": "
|
|
5813
|
+
"description": "Pull唯一标识编号。",
|
|
5677
5814
|
"name": "number",
|
|
5678
5815
|
"in": "path",
|
|
5679
5816
|
"required": true
|
|
@@ -5700,7 +5837,7 @@ var repo_pulls_labels_post = {
|
|
|
5700
5837
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5701
5838
|
}
|
|
5702
5839
|
},
|
|
5703
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5840
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:rw",
|
|
5704
5841
|
"path": "/{repo}/-/pulls/{number}/labels",
|
|
5705
5842
|
"method": "post"
|
|
5706
5843
|
};
|
|
@@ -5710,13 +5847,13 @@ var repo_pulls_labels_delete = {
|
|
|
5710
5847
|
"operationId": "DeletePullLabels",
|
|
5711
5848
|
"parameters": [{
|
|
5712
5849
|
"type": "string",
|
|
5713
|
-
"description": "
|
|
5850
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5714
5851
|
"name": "repo",
|
|
5715
5852
|
"in": "path",
|
|
5716
5853
|
"required": true
|
|
5717
5854
|
}, {
|
|
5718
5855
|
"type": "string",
|
|
5719
|
-
"description": "
|
|
5856
|
+
"description": "Pull唯一标识编号。",
|
|
5720
5857
|
"name": "number",
|
|
5721
5858
|
"in": "path",
|
|
5722
5859
|
"required": true
|
|
@@ -5732,7 +5869,7 @@ var repo_pulls_labels_delete = {
|
|
|
5732
5869
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5733
5870
|
}
|
|
5734
5871
|
},
|
|
5735
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5872
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:rw",
|
|
5736
5873
|
"path": "/{repo}/-/pulls/{number}/labels",
|
|
5737
5874
|
"method": "delete"
|
|
5738
5875
|
};
|
|
@@ -5743,21 +5880,21 @@ var repo_pulls_labels_deleteByName = {
|
|
|
5743
5880
|
"parameters": [
|
|
5744
5881
|
{
|
|
5745
5882
|
"type": "string",
|
|
5746
|
-
"description": "
|
|
5883
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5747
5884
|
"name": "repo",
|
|
5748
5885
|
"in": "path",
|
|
5749
5886
|
"required": true
|
|
5750
5887
|
},
|
|
5751
5888
|
{
|
|
5752
5889
|
"type": "string",
|
|
5753
|
-
"description": "
|
|
5890
|
+
"description": "Pull唯一标识编号。",
|
|
5754
5891
|
"name": "number",
|
|
5755
5892
|
"in": "path",
|
|
5756
5893
|
"required": true
|
|
5757
5894
|
},
|
|
5758
5895
|
{
|
|
5759
5896
|
"type": "string",
|
|
5760
|
-
"description": "
|
|
5897
|
+
"description": "标签名称。",
|
|
5761
5898
|
"name": "name",
|
|
5762
5899
|
"in": "path",
|
|
5763
5900
|
"required": true
|
|
@@ -5777,7 +5914,7 @@ var repo_pulls_labels_deleteByName = {
|
|
|
5777
5914
|
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
5778
5915
|
}
|
|
5779
5916
|
},
|
|
5780
|
-
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-
|
|
5917
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-pr:rw",
|
|
5781
5918
|
"path": "/{repo}/-/pulls/{number}/labels/{name}",
|
|
5782
5919
|
"method": "delete"
|
|
5783
5920
|
};
|
|
@@ -5788,14 +5925,14 @@ var repo_pulls_merge_put = {
|
|
|
5788
5925
|
"parameters": [
|
|
5789
5926
|
{
|
|
5790
5927
|
"type": "string",
|
|
5791
|
-
"description": "
|
|
5928
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5792
5929
|
"name": "repo",
|
|
5793
5930
|
"in": "path",
|
|
5794
5931
|
"required": true
|
|
5795
5932
|
},
|
|
5796
5933
|
{
|
|
5797
5934
|
"type": "string",
|
|
5798
|
-
"description": "Pull
|
|
5935
|
+
"description": "Pull唯一标识编号。",
|
|
5799
5936
|
"name": "number",
|
|
5800
5937
|
"in": "path",
|
|
5801
5938
|
"required": true
|
|
@@ -5833,14 +5970,14 @@ var repo_pulls_reviews_list = {
|
|
|
5833
5970
|
"parameters": [
|
|
5834
5971
|
{
|
|
5835
5972
|
"type": "string",
|
|
5836
|
-
"description": "
|
|
5973
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5837
5974
|
"name": "repo",
|
|
5838
5975
|
"in": "path",
|
|
5839
5976
|
"required": true
|
|
5840
5977
|
},
|
|
5841
5978
|
{
|
|
5842
5979
|
"type": "string",
|
|
5843
|
-
"description": "
|
|
5980
|
+
"description": "Pull唯一标识编号。",
|
|
5844
5981
|
"name": "number",
|
|
5845
5982
|
"in": "path",
|
|
5846
5983
|
"required": true
|
|
@@ -5848,14 +5985,14 @@ var repo_pulls_reviews_list = {
|
|
|
5848
5985
|
{
|
|
5849
5986
|
"type": "integer",
|
|
5850
5987
|
"default": 1,
|
|
5851
|
-
"description": "
|
|
5988
|
+
"description": "分页页码。",
|
|
5852
5989
|
"name": "page",
|
|
5853
5990
|
"in": "query"
|
|
5854
5991
|
},
|
|
5855
5992
|
{
|
|
5856
5993
|
"type": "integer",
|
|
5857
|
-
"default":
|
|
5858
|
-
"description": "
|
|
5994
|
+
"default": 10,
|
|
5995
|
+
"description": "分页页大小。",
|
|
5859
5996
|
"name": "page_size",
|
|
5860
5997
|
"in": "query"
|
|
5861
5998
|
}
|
|
@@ -5892,14 +6029,14 @@ var repo_pulls_reviews_post = {
|
|
|
5892
6029
|
"parameters": [
|
|
5893
6030
|
{
|
|
5894
6031
|
"type": "string",
|
|
5895
|
-
"description": "
|
|
6032
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5896
6033
|
"name": "repo",
|
|
5897
6034
|
"in": "path",
|
|
5898
6035
|
"required": true
|
|
5899
6036
|
},
|
|
5900
6037
|
{
|
|
5901
6038
|
"type": "string",
|
|
5902
|
-
"description": "
|
|
6039
|
+
"description": "Pull唯一标识编号。",
|
|
5903
6040
|
"name": "number",
|
|
5904
6041
|
"in": "path",
|
|
5905
6042
|
"required": true
|
|
@@ -5938,21 +6075,21 @@ var repo_pulls_reviews_comments_list = {
|
|
|
5938
6075
|
"parameters": [
|
|
5939
6076
|
{
|
|
5940
6077
|
"type": "string",
|
|
5941
|
-
"description": "
|
|
6078
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
5942
6079
|
"name": "repo",
|
|
5943
6080
|
"in": "path",
|
|
5944
6081
|
"required": true
|
|
5945
6082
|
},
|
|
5946
6083
|
{
|
|
5947
6084
|
"type": "integer",
|
|
5948
|
-
"description": "
|
|
6085
|
+
"description": "Pull唯一标识编号。",
|
|
5949
6086
|
"name": "number",
|
|
5950
6087
|
"in": "path",
|
|
5951
6088
|
"required": true
|
|
5952
6089
|
},
|
|
5953
6090
|
{
|
|
5954
6091
|
"type": "integer",
|
|
5955
|
-
"description": "
|
|
6092
|
+
"description": "PullReview唯一标识编号。",
|
|
5956
6093
|
"name": "review_id",
|
|
5957
6094
|
"in": "path",
|
|
5958
6095
|
"required": true
|
|
@@ -5960,14 +6097,14 @@ var repo_pulls_reviews_comments_list = {
|
|
|
5960
6097
|
{
|
|
5961
6098
|
"type": "integer",
|
|
5962
6099
|
"default": 1,
|
|
5963
|
-
"description": "
|
|
6100
|
+
"description": "分页页码。",
|
|
5964
6101
|
"name": "page",
|
|
5965
6102
|
"in": "query"
|
|
5966
6103
|
},
|
|
5967
6104
|
{
|
|
5968
6105
|
"type": "integer",
|
|
5969
|
-
"default":
|
|
5970
|
-
"description": "
|
|
6106
|
+
"default": 10,
|
|
6107
|
+
"description": "分页页大小。",
|
|
5971
6108
|
"name": "page_size",
|
|
5972
6109
|
"in": "query"
|
|
5973
6110
|
}
|
|
@@ -5993,6 +6130,58 @@ var repo_pulls_reviews_comments_list = {
|
|
|
5993
6130
|
"path": "/{repo}/-/pulls/{number}/reviews/{review_id}/comments",
|
|
5994
6131
|
"method": "get"
|
|
5995
6132
|
};
|
|
6133
|
+
var repo_pulls_reviews_replies_post = {
|
|
6134
|
+
"tags": ["Pulls"],
|
|
6135
|
+
"summary": "回复一个 review 评审",
|
|
6136
|
+
"operationId": "PostPullRequestReviewReply",
|
|
6137
|
+
"parameters": [
|
|
6138
|
+
{
|
|
6139
|
+
"type": "string",
|
|
6140
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6141
|
+
"name": "repo",
|
|
6142
|
+
"in": "path",
|
|
6143
|
+
"required": true
|
|
6144
|
+
},
|
|
6145
|
+
{
|
|
6146
|
+
"type": "integer",
|
|
6147
|
+
"description": "Pull唯一标识编号。",
|
|
6148
|
+
"name": "number",
|
|
6149
|
+
"in": "path",
|
|
6150
|
+
"required": true
|
|
6151
|
+
},
|
|
6152
|
+
{
|
|
6153
|
+
"type": "integer",
|
|
6154
|
+
"description": "PullReview唯一标识编号。",
|
|
6155
|
+
"name": "review_id",
|
|
6156
|
+
"in": "path",
|
|
6157
|
+
"required": true
|
|
6158
|
+
},
|
|
6159
|
+
{
|
|
6160
|
+
"description": "post pull request review reply form",
|
|
6161
|
+
"name": "post_pull_request_review_reply_form",
|
|
6162
|
+
"in": "body",
|
|
6163
|
+
"required": true,
|
|
6164
|
+
"schema": { "$ref": "#/definitions/api.PostPullRequestReviewReplyForm" }
|
|
6165
|
+
}
|
|
6166
|
+
],
|
|
6167
|
+
"responses": {
|
|
6168
|
+
"201": {
|
|
6169
|
+
"description": "Created",
|
|
6170
|
+
"schema": { "$ref": "#/definitions/api.PullReviewComment" }
|
|
6171
|
+
},
|
|
6172
|
+
"404": {
|
|
6173
|
+
"description": "Not Found",
|
|
6174
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
6175
|
+
},
|
|
6176
|
+
"500": {
|
|
6177
|
+
"description": "Internal Server Error",
|
|
6178
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
6179
|
+
}
|
|
6180
|
+
},
|
|
6181
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-notes:rw",
|
|
6182
|
+
"path": "/{repo}/-/pulls/{number}/reviews/{review_id}/replies",
|
|
6183
|
+
"method": "post"
|
|
6184
|
+
};
|
|
5996
6185
|
var repo_releases_list = {
|
|
5997
6186
|
"tags": ["Releases"],
|
|
5998
6187
|
"summary": "查询 release 列表。List releases.",
|
|
@@ -6008,14 +6197,14 @@ var repo_releases_list = {
|
|
|
6008
6197
|
{
|
|
6009
6198
|
"type": "integer",
|
|
6010
6199
|
"default": 1,
|
|
6011
|
-
"description": "
|
|
6200
|
+
"description": "分页页码。",
|
|
6012
6201
|
"name": "page",
|
|
6013
6202
|
"in": "query"
|
|
6014
6203
|
},
|
|
6015
6204
|
{
|
|
6016
6205
|
"type": "integer",
|
|
6017
6206
|
"default": 30,
|
|
6018
|
-
"description": "
|
|
6207
|
+
"description": "分页页大小。",
|
|
6019
6208
|
"name": "page_size",
|
|
6020
6209
|
"in": "query"
|
|
6021
6210
|
}
|
|
@@ -6047,7 +6236,7 @@ var repo_releases_post = {
|
|
|
6047
6236
|
"operationId": "PostRelease",
|
|
6048
6237
|
"parameters": [{
|
|
6049
6238
|
"type": "string",
|
|
6050
|
-
"description": "
|
|
6239
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6051
6240
|
"name": "repo",
|
|
6052
6241
|
"in": "path",
|
|
6053
6242
|
"required": true
|
|
@@ -6083,21 +6272,21 @@ var repo_releases_download_get = {
|
|
|
6083
6272
|
"parameters": [
|
|
6084
6273
|
{
|
|
6085
6274
|
"type": "string",
|
|
6086
|
-
"description": "
|
|
6275
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6087
6276
|
"name": "repo",
|
|
6088
6277
|
"in": "path",
|
|
6089
6278
|
"required": true
|
|
6090
6279
|
},
|
|
6091
6280
|
{
|
|
6092
6281
|
"type": "string",
|
|
6093
|
-
"description": "
|
|
6282
|
+
"description": "标签名称。示例:`v1.0.0`",
|
|
6094
6283
|
"name": "tag",
|
|
6095
6284
|
"in": "path",
|
|
6096
6285
|
"required": true
|
|
6097
6286
|
},
|
|
6098
6287
|
{
|
|
6099
6288
|
"type": "string",
|
|
6100
|
-
"description": "
|
|
6289
|
+
"description": "文件名称。示例:`test.png`",
|
|
6101
6290
|
"name": "filename",
|
|
6102
6291
|
"in": "path",
|
|
6103
6292
|
"required": true
|
|
@@ -6105,7 +6294,7 @@ var repo_releases_download_get = {
|
|
|
6105
6294
|
{
|
|
6106
6295
|
"type": "boolean",
|
|
6107
6296
|
"default": false,
|
|
6108
|
-
"description": "true
|
|
6297
|
+
"description": "是否可以下载,true表示302的下载地址有效期12小时,最多下载10次。",
|
|
6109
6298
|
"name": "share",
|
|
6110
6299
|
"in": "query"
|
|
6111
6300
|
}
|
|
@@ -6121,7 +6310,7 @@ var repo_releases_latest_get = {
|
|
|
6121
6310
|
"operationId": "GetLatestRelease",
|
|
6122
6311
|
"parameters": [{
|
|
6123
6312
|
"type": "string",
|
|
6124
|
-
"description": "
|
|
6313
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6125
6314
|
"name": "repo",
|
|
6126
6315
|
"in": "path",
|
|
6127
6316
|
"required": true
|
|
@@ -6150,13 +6339,13 @@ var repo_releases_tags_get = {
|
|
|
6150
6339
|
"operationId": "GetReleaseByTag",
|
|
6151
6340
|
"parameters": [{
|
|
6152
6341
|
"type": "string",
|
|
6153
|
-
"description": "
|
|
6342
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6154
6343
|
"name": "repo",
|
|
6155
6344
|
"in": "path",
|
|
6156
6345
|
"required": true
|
|
6157
6346
|
}, {
|
|
6158
6347
|
"type": "string",
|
|
6159
|
-
"description": "
|
|
6348
|
+
"description": "标签名称。",
|
|
6160
6349
|
"name": "tag",
|
|
6161
6350
|
"in": "path",
|
|
6162
6351
|
"required": true
|
|
@@ -6185,13 +6374,13 @@ var repo_releases_get = {
|
|
|
6185
6374
|
"operationId": "GetReleaseByID",
|
|
6186
6375
|
"parameters": [{
|
|
6187
6376
|
"type": "string",
|
|
6188
|
-
"description": "
|
|
6377
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6189
6378
|
"name": "repo",
|
|
6190
6379
|
"in": "path",
|
|
6191
6380
|
"required": true
|
|
6192
6381
|
}, {
|
|
6193
6382
|
"type": "string",
|
|
6194
|
-
"description": "
|
|
6383
|
+
"description": "版本唯一标识符。",
|
|
6195
6384
|
"name": "release_id",
|
|
6196
6385
|
"in": "path",
|
|
6197
6386
|
"required": true
|
|
@@ -6220,13 +6409,13 @@ var repo_releases_delete = {
|
|
|
6220
6409
|
"operationId": "DeleteRelease",
|
|
6221
6410
|
"parameters": [{
|
|
6222
6411
|
"type": "string",
|
|
6223
|
-
"description": "
|
|
6412
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6224
6413
|
"name": "repo",
|
|
6225
6414
|
"in": "path",
|
|
6226
6415
|
"required": true
|
|
6227
6416
|
}, {
|
|
6228
6417
|
"type": "string",
|
|
6229
|
-
"description": "
|
|
6418
|
+
"description": "版本唯一标识符。",
|
|
6230
6419
|
"name": "release_id",
|
|
6231
6420
|
"in": "path",
|
|
6232
6421
|
"required": true
|
|
@@ -6253,14 +6442,14 @@ var repo_releases_patch = {
|
|
|
6253
6442
|
"parameters": [
|
|
6254
6443
|
{
|
|
6255
6444
|
"type": "string",
|
|
6256
|
-
"description": "
|
|
6445
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6257
6446
|
"name": "repo",
|
|
6258
6447
|
"in": "path",
|
|
6259
6448
|
"required": true
|
|
6260
6449
|
},
|
|
6261
6450
|
{
|
|
6262
6451
|
"type": "string",
|
|
6263
|
-
"description": "
|
|
6452
|
+
"description": "版本唯一标识符。",
|
|
6264
6453
|
"name": "release_id",
|
|
6265
6454
|
"in": "path",
|
|
6266
6455
|
"required": true
|
|
@@ -6295,31 +6484,38 @@ var repo_releases_assetUploadConfirmation_post = {
|
|
|
6295
6484
|
"parameters": [
|
|
6296
6485
|
{
|
|
6297
6486
|
"type": "string",
|
|
6298
|
-
"description": "
|
|
6487
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6299
6488
|
"name": "repo",
|
|
6300
6489
|
"in": "path",
|
|
6301
6490
|
"required": true
|
|
6302
6491
|
},
|
|
6303
6492
|
{
|
|
6304
6493
|
"type": "string",
|
|
6305
|
-
"description": "
|
|
6494
|
+
"description": "版本唯一标识符。",
|
|
6306
6495
|
"name": "release_id",
|
|
6307
6496
|
"in": "path",
|
|
6308
6497
|
"required": true
|
|
6309
6498
|
},
|
|
6310
6499
|
{
|
|
6311
6500
|
"type": "string",
|
|
6312
|
-
"description": "
|
|
6501
|
+
"description": "PostReleaseAssetUploadURL接口返回值verify_url字段提取的upload_token。",
|
|
6313
6502
|
"name": "upload_token",
|
|
6314
6503
|
"in": "path",
|
|
6315
6504
|
"required": true
|
|
6316
6505
|
},
|
|
6317
6506
|
{
|
|
6318
6507
|
"type": "string",
|
|
6319
|
-
"description": "
|
|
6508
|
+
"description": "PostReleaseAssetUploadURL接口返回值verify_url字段提取的asset_path。",
|
|
6320
6509
|
"name": "asset_path",
|
|
6321
6510
|
"in": "path",
|
|
6322
6511
|
"required": true
|
|
6512
|
+
},
|
|
6513
|
+
{
|
|
6514
|
+
"type": "integer",
|
|
6515
|
+
"format": "int64",
|
|
6516
|
+
"description": "附件保持的天数。0 表示永久,最大不能超过 180 天",
|
|
6517
|
+
"name": "ttl",
|
|
6518
|
+
"in": "query"
|
|
6323
6519
|
}
|
|
6324
6520
|
],
|
|
6325
6521
|
"responses": {
|
|
@@ -6344,14 +6540,14 @@ var repo_releases_assetUploadUrl_post = {
|
|
|
6344
6540
|
"parameters": [
|
|
6345
6541
|
{
|
|
6346
6542
|
"type": "string",
|
|
6347
|
-
"description": "
|
|
6543
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6348
6544
|
"name": "repo",
|
|
6349
6545
|
"in": "path",
|
|
6350
6546
|
"required": true
|
|
6351
6547
|
},
|
|
6352
6548
|
{
|
|
6353
6549
|
"type": "string",
|
|
6354
|
-
"description": "
|
|
6550
|
+
"description": "版本唯一标识符。",
|
|
6355
6551
|
"name": "release_id",
|
|
6356
6552
|
"in": "path",
|
|
6357
6553
|
"required": true
|
|
@@ -6389,21 +6585,21 @@ var repo_releases_assets_get = {
|
|
|
6389
6585
|
"parameters": [
|
|
6390
6586
|
{
|
|
6391
6587
|
"type": "string",
|
|
6392
|
-
"description": "
|
|
6588
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6393
6589
|
"name": "repo",
|
|
6394
6590
|
"in": "path",
|
|
6395
6591
|
"required": true
|
|
6396
6592
|
},
|
|
6397
6593
|
{
|
|
6398
6594
|
"type": "string",
|
|
6399
|
-
"description": "
|
|
6595
|
+
"description": "版本唯一标识符。",
|
|
6400
6596
|
"name": "release_id",
|
|
6401
6597
|
"in": "path",
|
|
6402
6598
|
"required": true
|
|
6403
6599
|
},
|
|
6404
6600
|
{
|
|
6405
6601
|
"type": "string",
|
|
6406
|
-
"description": "
|
|
6602
|
+
"description": "附件唯一标识符。",
|
|
6407
6603
|
"name": "asset_id",
|
|
6408
6604
|
"in": "path",
|
|
6409
6605
|
"required": true
|
|
@@ -6434,21 +6630,21 @@ var repo_releases_assets_delete = {
|
|
|
6434
6630
|
"parameters": [
|
|
6435
6631
|
{
|
|
6436
6632
|
"type": "string",
|
|
6437
|
-
"description": "
|
|
6633
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6438
6634
|
"name": "repo",
|
|
6439
6635
|
"in": "path",
|
|
6440
6636
|
"required": true
|
|
6441
6637
|
},
|
|
6442
6638
|
{
|
|
6443
6639
|
"type": "string",
|
|
6444
|
-
"description": "
|
|
6640
|
+
"description": "版本唯一标识符。",
|
|
6445
6641
|
"name": "release_id",
|
|
6446
6642
|
"in": "path",
|
|
6447
6643
|
"required": true
|
|
6448
6644
|
},
|
|
6449
6645
|
{
|
|
6450
6646
|
"type": "string",
|
|
6451
|
-
"description": "
|
|
6647
|
+
"description": "附件唯一标识符。",
|
|
6452
6648
|
"name": "asset_id",
|
|
6453
6649
|
"in": "path",
|
|
6454
6650
|
"required": true
|
|
@@ -6953,7 +7149,7 @@ var repo_upload_files_post = {
|
|
|
6953
7149
|
"operationId": "UploadFiles",
|
|
6954
7150
|
"parameters": [{
|
|
6955
7151
|
"type": "string",
|
|
6956
|
-
"description": "
|
|
7152
|
+
"description": "不带.git后缀的仓库名称。格式:`组织名称/仓库名称`",
|
|
6957
7153
|
"name": "repo",
|
|
6958
7154
|
"in": "path",
|
|
6959
7155
|
"required": true
|
|
@@ -7047,6 +7243,25 @@ var repo_workspace_start_post = {
|
|
|
7047
7243
|
"path": "/{repo}/-/workspace/start",
|
|
7048
7244
|
"method": "post"
|
|
7049
7245
|
};
|
|
7246
|
+
var slug_charge_specialAmount_get = {
|
|
7247
|
+
"description": "查看根组织的特权额度,需要根组织的 master 以上权限才可以查看\n访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-resource:r",
|
|
7248
|
+
"tags": ["Charge"],
|
|
7249
|
+
"summary": "查看特权额度",
|
|
7250
|
+
"operationId": "GetSpecialAmount",
|
|
7251
|
+
"parameters": [{
|
|
7252
|
+
"type": "string",
|
|
7253
|
+
"description": "group slug",
|
|
7254
|
+
"name": "slug",
|
|
7255
|
+
"in": "path",
|
|
7256
|
+
"required": true
|
|
7257
|
+
}],
|
|
7258
|
+
"responses": { "200": {
|
|
7259
|
+
"description": "OK",
|
|
7260
|
+
"schema": { "$ref": "#/definitions/dto.SpecialAmount" }
|
|
7261
|
+
} },
|
|
7262
|
+
"path": "/{slug}/-/charge/special-amount",
|
|
7263
|
+
"method": "get"
|
|
7264
|
+
};
|
|
7050
7265
|
var slug_contributor_trend_get = {
|
|
7051
7266
|
"tags": ["RepoContributor"],
|
|
7052
7267
|
"summary": "查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.",
|
|
@@ -7092,6 +7307,85 @@ var slug_contributor_trend_get = {
|
|
|
7092
7307
|
"path": "/{slug}/-/contributor/trend",
|
|
7093
7308
|
"method": "get"
|
|
7094
7309
|
};
|
|
7310
|
+
var slug_lfs_get = {
|
|
7311
|
+
"tags": ["Git"],
|
|
7312
|
+
"summary": "获取 git lfs 文件下载链接",
|
|
7313
|
+
"operationId": "GetPresignedLFSDownloadLink",
|
|
7314
|
+
"parameters": [
|
|
7315
|
+
{
|
|
7316
|
+
"type": "string",
|
|
7317
|
+
"description": "仓库标识符。格式:`组织名称/仓库名称`",
|
|
7318
|
+
"name": "slug",
|
|
7319
|
+
"in": "path",
|
|
7320
|
+
"required": true
|
|
7321
|
+
},
|
|
7322
|
+
{
|
|
7323
|
+
"type": "string",
|
|
7324
|
+
"description": "LFS文件的唯一标识符。",
|
|
7325
|
+
"name": "oid",
|
|
7326
|
+
"in": "path",
|
|
7327
|
+
"required": true
|
|
7328
|
+
},
|
|
7329
|
+
{
|
|
7330
|
+
"type": "string",
|
|
7331
|
+
"description": "LFS文件名称。",
|
|
7332
|
+
"name": "name",
|
|
7333
|
+
"in": "query",
|
|
7334
|
+
"required": true
|
|
7335
|
+
}
|
|
7336
|
+
],
|
|
7337
|
+
"responses": {
|
|
7338
|
+
"404": {
|
|
7339
|
+
"description": "Not Found",
|
|
7340
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
7341
|
+
},
|
|
7342
|
+
"500": {
|
|
7343
|
+
"description": "Internal Server Error",
|
|
7344
|
+
"schema": { "$ref": "#/definitions/die.WebError" }
|
|
7345
|
+
}
|
|
7346
|
+
},
|
|
7347
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-code:r",
|
|
7348
|
+
"path": "/{slug}/-/lfs/{oid}",
|
|
7349
|
+
"method": "get"
|
|
7350
|
+
};
|
|
7351
|
+
var slug_listAssets_list = {
|
|
7352
|
+
"tags": ["Assets"],
|
|
7353
|
+
"summary": "仓库的 asset 记录列表",
|
|
7354
|
+
"operationId": "ListAssets",
|
|
7355
|
+
"parameters": [
|
|
7356
|
+
{
|
|
7357
|
+
"type": "string",
|
|
7358
|
+
"description": "slug",
|
|
7359
|
+
"name": "slug",
|
|
7360
|
+
"in": "path",
|
|
7361
|
+
"required": true
|
|
7362
|
+
},
|
|
7363
|
+
{
|
|
7364
|
+
"type": "integer",
|
|
7365
|
+
"default": 1,
|
|
7366
|
+
"description": "第几页,从1开始",
|
|
7367
|
+
"name": "page",
|
|
7368
|
+
"in": "query"
|
|
7369
|
+
},
|
|
7370
|
+
{
|
|
7371
|
+
"type": "integer",
|
|
7372
|
+
"default": 10,
|
|
7373
|
+
"description": "每页多少条数据",
|
|
7374
|
+
"name": "page_size",
|
|
7375
|
+
"in": "query"
|
|
7376
|
+
}
|
|
7377
|
+
],
|
|
7378
|
+
"responses": { "200": {
|
|
7379
|
+
"description": "OK",
|
|
7380
|
+
"schema": {
|
|
7381
|
+
"type": "array",
|
|
7382
|
+
"items": { "$ref": "#/definitions/dto.AssetRecords" }
|
|
7383
|
+
}
|
|
7384
|
+
} },
|
|
7385
|
+
"description": "访问令牌调用此接口需包含以下权限。Required permissions for access token. \nrepo-manage:r",
|
|
7386
|
+
"path": "/{slug}/-/list-assets",
|
|
7387
|
+
"method": "get"
|
|
7388
|
+
};
|
|
7095
7389
|
var slug_listMembers_list = {
|
|
7096
7390
|
"tags": ["Members"],
|
|
7097
7391
|
"summary": "获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.",
|
|
@@ -7417,7 +7711,8 @@ var slug_packages_list = {
|
|
|
7417
7711
|
"pypi",
|
|
7418
7712
|
"nuget",
|
|
7419
7713
|
"composer",
|
|
7420
|
-
"conan"
|
|
7714
|
+
"conan",
|
|
7715
|
+
"cargo"
|
|
7421
7716
|
],
|
|
7422
7717
|
"type": "string",
|
|
7423
7718
|
"description": "制品类型。Type.",
|
|
@@ -7435,7 +7730,7 @@ var slug_packages_list = {
|
|
|
7435
7730
|
{
|
|
7436
7731
|
"type": "integer",
|
|
7437
7732
|
"default": 10,
|
|
7438
|
-
"description": "页数。Pagination page size",
|
|
7733
|
+
"description": "页数。Pagination page size.",
|
|
7439
7734
|
"name": "page_size",
|
|
7440
7735
|
"in": "query"
|
|
7441
7736
|
},
|
|
@@ -7447,13 +7742,13 @@ var slug_packages_list = {
|
|
|
7447
7742
|
"name_descend"
|
|
7448
7743
|
],
|
|
7449
7744
|
"type": "string",
|
|
7450
|
-
"description": "顺序类型。Ordering type",
|
|
7745
|
+
"description": "顺序类型。Ordering type.",
|
|
7451
7746
|
"name": "ordering",
|
|
7452
7747
|
"in": "query"
|
|
7453
7748
|
},
|
|
7454
7749
|
{
|
|
7455
7750
|
"type": "string",
|
|
7456
|
-
"description": "关键字。Key word to search package name",
|
|
7751
|
+
"description": "关键字。Key word to search package name.",
|
|
7457
7752
|
"name": "name",
|
|
7458
7753
|
"in": "query"
|
|
7459
7754
|
}
|
|
@@ -7546,7 +7841,8 @@ var slug_packages_delete = {
|
|
|
7546
7841
|
"pypi",
|
|
7547
7842
|
"nuget",
|
|
7548
7843
|
"composer",
|
|
7549
|
-
"conan"
|
|
7844
|
+
"conan",
|
|
7845
|
+
"cargo"
|
|
7550
7846
|
],
|
|
7551
7847
|
"type": "string",
|
|
7552
7848
|
"description": "制品类型。Type.",
|
|
@@ -7590,7 +7886,8 @@ var slug_packages_name_tag_get = {
|
|
|
7590
7886
|
"pypi",
|
|
7591
7887
|
"nuget",
|
|
7592
7888
|
"composer",
|
|
7593
|
-
"conan"
|
|
7889
|
+
"conan",
|
|
7890
|
+
"cargo"
|
|
7594
7891
|
],
|
|
7595
7892
|
"type": "string",
|
|
7596
7893
|
"description": "Type",
|
|
@@ -7656,7 +7953,8 @@ var slug_packages_name_tag_delete = {
|
|
|
7656
7953
|
"pypi",
|
|
7657
7954
|
"nuget",
|
|
7658
7955
|
"composer",
|
|
7659
|
-
"conan"
|
|
7956
|
+
"conan",
|
|
7957
|
+
"cargo"
|
|
7660
7958
|
],
|
|
7661
7959
|
"type": "string",
|
|
7662
7960
|
"description": "Type",
|
|
@@ -7707,7 +8005,8 @@ var slug_packages_name_tags_get = {
|
|
|
7707
8005
|
"pypi",
|
|
7708
8006
|
"nuget",
|
|
7709
8007
|
"composer",
|
|
7710
|
-
"conan"
|
|
8008
|
+
"conan",
|
|
8009
|
+
"cargo"
|
|
7711
8010
|
],
|
|
7712
8011
|
"type": "string",
|
|
7713
8012
|
"description": "制品类型。Type.",
|
|
@@ -7745,14 +8044,14 @@ var slug_packages_name_tags_get = {
|
|
|
7745
8044
|
},
|
|
7746
8045
|
{
|
|
7747
8046
|
"type": "string",
|
|
7748
|
-
"description": "
|
|
7749
|
-
"name": "
|
|
8047
|
+
"description": "关键字。Key word to search tag name.",
|
|
8048
|
+
"name": "tag_name",
|
|
7750
8049
|
"in": "query"
|
|
7751
8050
|
}
|
|
7752
8051
|
],
|
|
7753
8052
|
"responses": { "200": {
|
|
7754
8053
|
"description": "OK",
|
|
7755
|
-
"schema": { "$ref": "#/definitions/
|
|
8054
|
+
"schema": { "$ref": "#/definitions/git_woa_com_cnb_monorepo_platform_service-api_internal_models_artifactory_dto.Tag" }
|
|
7756
8055
|
} },
|
|
7757
8056
|
"path": "/{slug}/-/packages/{type}/{name}/-/tags",
|
|
7758
8057
|
"method": "get"
|
|
@@ -8235,6 +8534,7 @@ var paths_default = {
|
|
|
8235
8534
|
"repo.delete": repo_delete,
|
|
8236
8535
|
"repo.patch": repo_patch,
|
|
8237
8536
|
"repo.ai.chat.completions.post": repo_ai_chat_completions_post,
|
|
8537
|
+
"repo.assets.delete": repo_assets_delete,
|
|
8238
8538
|
"repo.badge.git.get": repo_badge_git_get,
|
|
8239
8539
|
"repo.badge.list.get": repo_badge_list_get,
|
|
8240
8540
|
"repo.badge.upload.post": repo_badge_upload_post,
|
|
@@ -8248,11 +8548,14 @@ var paths_default = {
|
|
|
8248
8548
|
"repo.build.status.get": repo_build_status_get,
|
|
8249
8549
|
"repo.build.stop.post": repo_build_stop_post,
|
|
8250
8550
|
"repo.commitAssets.download.get": repo_commitAssets_download_get,
|
|
8551
|
+
"repo.files.delete": repo_files_delete,
|
|
8251
8552
|
"repo.forks.get": repo_forks_get,
|
|
8252
8553
|
"repo.git.archiveCommitChangedFiles.get": repo_git_archiveCommitChangedFiles_get,
|
|
8253
8554
|
"repo.git.archiveCompareChangedFiles.get": repo_git_archiveCompareChangedFiles_get,
|
|
8254
8555
|
"repo.git.archive.get": repo_git_archive_get,
|
|
8255
8556
|
"repo.git.blobs.post": repo_git_blobs_post,
|
|
8557
|
+
"repo.git.branchLocks.post": repo_git_branchLocks_post,
|
|
8558
|
+
"repo.git.branchLocks.delete": repo_git_branchLocks_delete,
|
|
8256
8559
|
"repo.git.branches.list": repo_git_branches_list,
|
|
8257
8560
|
"repo.git.branches.post": repo_git_branches_post,
|
|
8258
8561
|
"repo.git.branches.get": repo_git_branches_get,
|
|
@@ -8280,6 +8583,7 @@ var paths_default = {
|
|
|
8280
8583
|
"repo.git.tags.post": repo_git_tags_post,
|
|
8281
8584
|
"repo.git.tags.get": repo_git_tags_get,
|
|
8282
8585
|
"repo.git.tags.delete": repo_git_tags_delete,
|
|
8586
|
+
"repo.imgs.delete": repo_imgs_delete,
|
|
8283
8587
|
"repo.inheritMembers.list": repo_inheritMembers_list,
|
|
8284
8588
|
"repo.issues.list": repo_issues_list,
|
|
8285
8589
|
"repo.issues.post": repo_issues_post,
|
|
@@ -8299,7 +8603,7 @@ var paths_default = {
|
|
|
8299
8603
|
"repo.issues.labels.post": repo_issues_labels_post,
|
|
8300
8604
|
"repo.issues.labels.delete": repo_issues_labels_delete,
|
|
8301
8605
|
"repo.issues.labels.deleteByName": repo_issues_labels_deleteByName,
|
|
8302
|
-
"repo.issues.property.
|
|
8606
|
+
"repo.issues.property.patch": repo_issues_property_patch,
|
|
8303
8607
|
"repo.knowledge.base.get": repo_knowledge_base_get,
|
|
8304
8608
|
"repo.knowledge.base.delete": repo_knowledge_base_delete,
|
|
8305
8609
|
"repo.knowledge.base.query.post": repo_knowledge_base_query_post,
|
|
@@ -8308,7 +8612,6 @@ var paths_default = {
|
|
|
8308
8612
|
"repo.labels.post": repo_labels_post,
|
|
8309
8613
|
"repo.labels.delete": repo_labels_delete,
|
|
8310
8614
|
"repo.labels.patch": repo_labels_patch,
|
|
8311
|
-
"repo.lfs.get": repo_lfs_get,
|
|
8312
8615
|
"repo.members.list": repo_members_list,
|
|
8313
8616
|
"repo.members.accessLevel.get": repo_members_accessLevel_get,
|
|
8314
8617
|
"repo.members.put": repo_members_put,
|
|
@@ -8340,6 +8643,7 @@ var paths_default = {
|
|
|
8340
8643
|
"repo.pulls.reviews.list": repo_pulls_reviews_list,
|
|
8341
8644
|
"repo.pulls.reviews.post": repo_pulls_reviews_post,
|
|
8342
8645
|
"repo.pulls.reviews.comments.list": repo_pulls_reviews_comments_list,
|
|
8646
|
+
"repo.pulls.reviews.replies.post": repo_pulls_reviews_replies_post,
|
|
8343
8647
|
"repo.releases.list": repo_releases_list,
|
|
8344
8648
|
"repo.releases.post": repo_releases_post,
|
|
8345
8649
|
"repo.releases.download.get": repo_releases_download_get,
|
|
@@ -8371,7 +8675,10 @@ var paths_default = {
|
|
|
8371
8675
|
"repo.upload.imgs.post": repo_upload_imgs_post,
|
|
8372
8676
|
"repo.workspace.detail.get": repo_workspace_detail_get,
|
|
8373
8677
|
"repo.workspace.start.post": repo_workspace_start_post,
|
|
8678
|
+
"slug.charge.specialAmount.get": slug_charge_specialAmount_get,
|
|
8374
8679
|
"slug.contributor.trend.get": slug_contributor_trend_get,
|
|
8680
|
+
"slug.lfs.get": slug_lfs_get,
|
|
8681
|
+
"slug.listAssets.list": slug_listAssets_list,
|
|
8375
8682
|
"slug.listMembers.list": slug_listMembers_list,
|
|
8376
8683
|
"slug.missions.list": slug_missions_list,
|
|
8377
8684
|
"slug.missions.post": slug_missions_post,
|