@octokit/openapi 7.9.1 → 7.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +2592 -690
- package/generated/api.github.com.json +567 -30
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +8 -6
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +8 -6
- package/generated/ghes-3.2.deref.json +763 -130
- package/generated/ghes-3.2.json +53 -10
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +21 -0
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +615 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +25 -1
- package/generated/ghes-3.3.deref.json +768 -135
- package/generated/ghes-3.3.json +53 -10
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +18 -2
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +18 -2
- package/generated/ghes-3.4.deref.json +768 -130
- package/generated/ghes-3.4.json +55 -12
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +21 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +753 -132
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +32 -6
- package/generated/ghes-3.5.deref.json +773 -135
- package/generated/ghes-3.5.json +55 -12
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +46 -0
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +141 -20
- package/generated/ghes-3.6-diff-to-api.github.com.json +126 -6
- package/generated/ghes-3.6.deref.json +1254 -421
- package/generated/ghes-3.6.json +160 -23
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +10 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +24 -6
- package/generated/github.ae-diff-to-api.github.com.json +24 -6
- package/generated/github.ae.deref.json +1019 -290
- package/generated/github.ae.json +145 -16
- package/package.json +1 -6
package/generated/ghes-3.3.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.12.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -13799,8 +13799,9 @@
|
|
|
13799
13799
|
},
|
|
13800
13800
|
"use_squash_pr_title_as_default": {
|
|
13801
13801
|
"type": "boolean",
|
|
13802
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
13803
|
-
"default": false
|
|
13802
|
+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
13803
|
+
"default": false,
|
|
13804
|
+
"deprecated": true
|
|
13804
13805
|
},
|
|
13805
13806
|
"squash_merge_commit_title": {
|
|
13806
13807
|
"type": "string",
|
|
@@ -14280,6 +14281,21 @@
|
|
|
14280
14281
|
}
|
|
14281
14282
|
},
|
|
14282
14283
|
"responses": {
|
|
14284
|
+
"200": {
|
|
14285
|
+
"description": "Response when the updated information already exists",
|
|
14286
|
+
"content": {
|
|
14287
|
+
"application/json": {
|
|
14288
|
+
"schema": {
|
|
14289
|
+
"$ref": "#/components/schemas/team-full"
|
|
14290
|
+
},
|
|
14291
|
+
"examples": {
|
|
14292
|
+
"default": {
|
|
14293
|
+
"$ref": "#/components/examples/team-full"
|
|
14294
|
+
}
|
|
14295
|
+
}
|
|
14296
|
+
}
|
|
14297
|
+
}
|
|
14298
|
+
},
|
|
14283
14299
|
"201": {
|
|
14284
14300
|
"description": "Response",
|
|
14285
14301
|
"content": {
|
|
@@ -14294,6 +14310,15 @@
|
|
|
14294
14310
|
}
|
|
14295
14311
|
}
|
|
14296
14312
|
}
|
|
14313
|
+
},
|
|
14314
|
+
"403": {
|
|
14315
|
+
"$ref": "#/components/responses/forbidden"
|
|
14316
|
+
},
|
|
14317
|
+
"404": {
|
|
14318
|
+
"$ref": "#/components/responses/not_found"
|
|
14319
|
+
},
|
|
14320
|
+
"422": {
|
|
14321
|
+
"$ref": "#/components/responses/validation_failed"
|
|
14297
14322
|
}
|
|
14298
14323
|
},
|
|
14299
14324
|
"x-github": {
|
|
@@ -18013,8 +18038,9 @@
|
|
|
18013
18038
|
},
|
|
18014
18039
|
"use_squash_pr_title_as_default": {
|
|
18015
18040
|
"type": "boolean",
|
|
18016
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
18017
|
-
"default": false
|
|
18041
|
+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
18042
|
+
"default": false,
|
|
18043
|
+
"deprecated": true
|
|
18018
18044
|
},
|
|
18019
18045
|
"squash_merge_commit_title": {
|
|
18020
18046
|
"type": "string",
|
|
@@ -20295,7 +20321,7 @@
|
|
|
20295
20321
|
},
|
|
20296
20322
|
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
20297
20323
|
"get": {
|
|
20298
|
-
"summary": "List workflow runs",
|
|
20324
|
+
"summary": "List workflow runs for a workflow",
|
|
20299
20325
|
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
|
|
20300
20326
|
"tags": [
|
|
20301
20327
|
"actions"
|
|
@@ -25471,6 +25497,22 @@
|
|
|
25471
25497
|
"default": "all"
|
|
25472
25498
|
}
|
|
25473
25499
|
},
|
|
25500
|
+
{
|
|
25501
|
+
"name": "permission",
|
|
25502
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
25503
|
+
"in": "query",
|
|
25504
|
+
"required": false,
|
|
25505
|
+
"schema": {
|
|
25506
|
+
"type": "string",
|
|
25507
|
+
"enum": [
|
|
25508
|
+
"pull",
|
|
25509
|
+
"triage",
|
|
25510
|
+
"push",
|
|
25511
|
+
"maintain",
|
|
25512
|
+
"admin"
|
|
25513
|
+
]
|
|
25514
|
+
}
|
|
25515
|
+
},
|
|
25474
25516
|
{
|
|
25475
25517
|
"$ref": "#/components/parameters/per-page"
|
|
25476
25518
|
},
|
|
@@ -27010,6 +27052,7 @@
|
|
|
27010
27052
|
"description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
|
|
27011
27053
|
"in": "path",
|
|
27012
27054
|
"required": true,
|
|
27055
|
+
"x-multi-segment": true,
|
|
27013
27056
|
"schema": {
|
|
27014
27057
|
"type": "string"
|
|
27015
27058
|
}
|
|
@@ -27277,7 +27320,7 @@
|
|
|
27277
27320
|
},
|
|
27278
27321
|
"put": {
|
|
27279
27322
|
"summary": "Create or update file contents",
|
|
27280
|
-
"description": "Creates a new file or replaces an existing file in a repository.",
|
|
27323
|
+
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
|
|
27281
27324
|
"tags": [
|
|
27282
27325
|
"repos"
|
|
27283
27326
|
],
|
|
@@ -27496,7 +27539,7 @@
|
|
|
27496
27539
|
},
|
|
27497
27540
|
"sha": {
|
|
27498
27541
|
"type": "string",
|
|
27499
|
-
"description": "The blob SHA of the file being
|
|
27542
|
+
"description": "The blob SHA of the file being deleted."
|
|
27500
27543
|
},
|
|
27501
27544
|
"branch": {
|
|
27502
27545
|
"type": "string",
|
|
@@ -30189,7 +30232,7 @@
|
|
|
30189
30232
|
"/repos/{owner}/{repo}/git/trees/{tree_sha}": {
|
|
30190
30233
|
"get": {
|
|
30191
30234
|
"summary": "Get a tree",
|
|
30192
|
-
"description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.",
|
|
30235
|
+
"description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\n\n**Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter.",
|
|
30193
30236
|
"tags": [
|
|
30194
30237
|
"git"
|
|
30195
30238
|
],
|
|
@@ -30262,7 +30305,7 @@
|
|
|
30262
30305
|
"/repos/{owner}/{repo}/hooks": {
|
|
30263
30306
|
"get": {
|
|
30264
30307
|
"summary": "List repository webhooks",
|
|
30265
|
-
"description": "",
|
|
30308
|
+
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
|
|
30266
30309
|
"tags": [
|
|
30267
30310
|
"repos"
|
|
30268
30311
|
],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.12.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -26853,7 +26853,7 @@
|
|
|
26853
26853
|
},
|
|
26854
26854
|
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
26855
26855
|
"get": {
|
|
26856
|
-
"summary": "List workflow runs",
|
|
26856
|
+
"summary": "List workflow runs for a workflow",
|
|
26857
26857
|
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
|
|
26858
26858
|
"tags": [
|
|
26859
26859
|
"actions"
|
|
@@ -40600,6 +40600,22 @@
|
|
|
40600
40600
|
"default": "all"
|
|
40601
40601
|
}
|
|
40602
40602
|
},
|
|
40603
|
+
{
|
|
40604
|
+
"name": "permission",
|
|
40605
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
40606
|
+
"in": "query",
|
|
40607
|
+
"required": false,
|
|
40608
|
+
"schema": {
|
|
40609
|
+
"type": "string",
|
|
40610
|
+
"enum": [
|
|
40611
|
+
"pull",
|
|
40612
|
+
"triage",
|
|
40613
|
+
"push",
|
|
40614
|
+
"maintain",
|
|
40615
|
+
"admin"
|
|
40616
|
+
]
|
|
40617
|
+
}
|
|
40618
|
+
},
|
|
40603
40619
|
{
|
|
40604
40620
|
"name": "per_page",
|
|
40605
40621
|
"description": "The number of results per page (max 100).",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.12.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -1801,7 +1801,7 @@
|
|
|
1801
1801
|
},
|
|
1802
1802
|
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
1803
1803
|
"get": {
|
|
1804
|
-
"summary": "List workflow runs",
|
|
1804
|
+
"summary": "List workflow runs for a workflow",
|
|
1805
1805
|
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
|
|
1806
1806
|
"tags": [
|
|
1807
1807
|
"actions"
|
|
@@ -2178,6 +2178,22 @@
|
|
|
2178
2178
|
"default": "all"
|
|
2179
2179
|
}
|
|
2180
2180
|
},
|
|
2181
|
+
{
|
|
2182
|
+
"name": "permission",
|
|
2183
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
2184
|
+
"in": "query",
|
|
2185
|
+
"required": false,
|
|
2186
|
+
"schema": {
|
|
2187
|
+
"type": "string",
|
|
2188
|
+
"enum": [
|
|
2189
|
+
"pull",
|
|
2190
|
+
"triage",
|
|
2191
|
+
"push",
|
|
2192
|
+
"maintain",
|
|
2193
|
+
"admin"
|
|
2194
|
+
]
|
|
2195
|
+
}
|
|
2196
|
+
},
|
|
2181
2197
|
{
|
|
2182
2198
|
"$ref": "#/components/parameters/per-page"
|
|
2183
2199
|
},
|