@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.2.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": {
|
|
@@ -13884,8 +13884,9 @@
|
|
|
13884
13884
|
},
|
|
13885
13885
|
"use_squash_pr_title_as_default": {
|
|
13886
13886
|
"type": "boolean",
|
|
13887
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
13888
|
-
"default": false
|
|
13887
|
+
"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.",
|
|
13888
|
+
"default": false,
|
|
13889
|
+
"deprecated": true
|
|
13889
13890
|
},
|
|
13890
13891
|
"squash_merge_commit_title": {
|
|
13891
13892
|
"type": "string",
|
|
@@ -14298,6 +14299,21 @@
|
|
|
14298
14299
|
}
|
|
14299
14300
|
},
|
|
14300
14301
|
"responses": {
|
|
14302
|
+
"200": {
|
|
14303
|
+
"description": "Response when the updated information already exists",
|
|
14304
|
+
"content": {
|
|
14305
|
+
"application/json": {
|
|
14306
|
+
"schema": {
|
|
14307
|
+
"$ref": "#/components/schemas/team-full"
|
|
14308
|
+
},
|
|
14309
|
+
"examples": {
|
|
14310
|
+
"default": {
|
|
14311
|
+
"$ref": "#/components/examples/team-full"
|
|
14312
|
+
}
|
|
14313
|
+
}
|
|
14314
|
+
}
|
|
14315
|
+
}
|
|
14316
|
+
},
|
|
14301
14317
|
"201": {
|
|
14302
14318
|
"description": "Response",
|
|
14303
14319
|
"content": {
|
|
@@ -14312,6 +14328,15 @@
|
|
|
14312
14328
|
}
|
|
14313
14329
|
}
|
|
14314
14330
|
}
|
|
14331
|
+
},
|
|
14332
|
+
"403": {
|
|
14333
|
+
"$ref": "#/components/responses/forbidden"
|
|
14334
|
+
},
|
|
14335
|
+
"404": {
|
|
14336
|
+
"$ref": "#/components/responses/not_found"
|
|
14337
|
+
},
|
|
14338
|
+
"422": {
|
|
14339
|
+
"$ref": "#/components/responses/validation_failed"
|
|
14315
14340
|
}
|
|
14316
14341
|
},
|
|
14317
14342
|
"x-github": {
|
|
@@ -18298,8 +18323,9 @@
|
|
|
18298
18323
|
},
|
|
18299
18324
|
"use_squash_pr_title_as_default": {
|
|
18300
18325
|
"type": "boolean",
|
|
18301
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
18302
|
-
"default": false
|
|
18326
|
+
"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.",
|
|
18327
|
+
"default": false,
|
|
18328
|
+
"deprecated": true
|
|
18303
18329
|
},
|
|
18304
18330
|
"squash_merge_commit_title": {
|
|
18305
18331
|
"type": "string",
|
|
@@ -20633,7 +20659,7 @@
|
|
|
20633
20659
|
},
|
|
20634
20660
|
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
20635
20661
|
"get": {
|
|
20636
|
-
"summary": "List workflow runs",
|
|
20662
|
+
"summary": "List workflow runs for a workflow",
|
|
20637
20663
|
"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.2/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.",
|
|
20638
20664
|
"tags": [
|
|
20639
20665
|
"actions"
|
|
@@ -25518,6 +25544,22 @@
|
|
|
25518
25544
|
"default": "all"
|
|
25519
25545
|
}
|
|
25520
25546
|
},
|
|
25547
|
+
{
|
|
25548
|
+
"name": "permission",
|
|
25549
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
25550
|
+
"in": "query",
|
|
25551
|
+
"required": false,
|
|
25552
|
+
"schema": {
|
|
25553
|
+
"type": "string",
|
|
25554
|
+
"enum": [
|
|
25555
|
+
"pull",
|
|
25556
|
+
"triage",
|
|
25557
|
+
"push",
|
|
25558
|
+
"maintain",
|
|
25559
|
+
"admin"
|
|
25560
|
+
]
|
|
25561
|
+
}
|
|
25562
|
+
},
|
|
25521
25563
|
{
|
|
25522
25564
|
"$ref": "#/components/parameters/per-page"
|
|
25523
25565
|
},
|
|
@@ -27143,6 +27185,7 @@
|
|
|
27143
27185
|
"description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
|
|
27144
27186
|
"in": "path",
|
|
27145
27187
|
"required": true,
|
|
27188
|
+
"x-multi-segment": true,
|
|
27146
27189
|
"schema": {
|
|
27147
27190
|
"type": "string"
|
|
27148
27191
|
}
|
|
@@ -27404,7 +27447,7 @@
|
|
|
27404
27447
|
},
|
|
27405
27448
|
"put": {
|
|
27406
27449
|
"summary": "Create or update file contents",
|
|
27407
|
-
"description": "Creates a new file or replaces an existing file in a repository.",
|
|
27450
|
+
"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.",
|
|
27408
27451
|
"tags": [
|
|
27409
27452
|
"repos"
|
|
27410
27453
|
],
|
|
@@ -27623,7 +27666,7 @@
|
|
|
27623
27666
|
},
|
|
27624
27667
|
"sha": {
|
|
27625
27668
|
"type": "string",
|
|
27626
|
-
"description": "The blob SHA of the file being
|
|
27669
|
+
"description": "The blob SHA of the file being deleted."
|
|
27627
27670
|
},
|
|
27628
27671
|
"branch": {
|
|
27629
27672
|
"type": "string",
|
|
@@ -30396,7 +30439,7 @@
|
|
|
30396
30439
|
"/repos/{owner}/{repo}/git/trees/{tree_sha}": {
|
|
30397
30440
|
"get": {
|
|
30398
30441
|
"summary": "Get a tree",
|
|
30399
|
-
"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.",
|
|
30442
|
+
"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.",
|
|
30400
30443
|
"tags": [
|
|
30401
30444
|
"git"
|
|
30402
30445
|
],
|
|
@@ -30469,7 +30512,7 @@
|
|
|
30469
30512
|
"/repos/{owner}/{repo}/hooks": {
|
|
30470
30513
|
"get": {
|
|
30471
30514
|
"summary": "List repository webhooks",
|
|
30472
|
-
"description": "",
|
|
30515
|
+
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
|
|
30473
30516
|
"tags": [
|
|
30474
30517
|
"repos"
|
|
30475
30518
|
],
|
|
@@ -3388,6 +3388,27 @@
|
|
|
3388
3388
|
"patch": {
|
|
3389
3389
|
"responses": {
|
|
3390
3390
|
"changed": {
|
|
3391
|
+
"200": {
|
|
3392
|
+
"content": {
|
|
3393
|
+
"changed": {
|
|
3394
|
+
"application/json": {
|
|
3395
|
+
"schema_changed": {
|
|
3396
|
+
"properties_changed": {
|
|
3397
|
+
"changed": {
|
|
3398
|
+
"organization": {
|
|
3399
|
+
"properties_changed": {
|
|
3400
|
+
"removed": [
|
|
3401
|
+
"members_can_fork_private_repositories"
|
|
3402
|
+
]
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3391
3412
|
"201": {
|
|
3392
3413
|
"content": {
|
|
3393
3414
|
"changed": {
|