@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.
Files changed (35) hide show
  1. package/generated/api.github.com.deref.json +2592 -690
  2. package/generated/api.github.com.json +567 -30
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +8 -6
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +8 -6
  7. package/generated/ghes-3.2.deref.json +763 -130
  8. package/generated/ghes-3.2.json +53 -10
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +21 -0
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +615 -1
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +25 -1
  12. package/generated/ghes-3.3.deref.json +768 -135
  13. package/generated/ghes-3.3.json +53 -10
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +18 -2
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +18 -2
  16. package/generated/ghes-3.4.deref.json +768 -130
  17. package/generated/ghes-3.4.json +55 -12
  18. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +21 -0
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +753 -132
  22. package/generated/ghes-3.5-diff-to-ghes-3.6.json +32 -6
  23. package/generated/ghes-3.5.deref.json +773 -135
  24. package/generated/ghes-3.5.json +55 -12
  25. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +46 -0
  26. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +141 -20
  27. package/generated/ghes-3.6-diff-to-api.github.com.json +126 -6
  28. package/generated/ghes-3.6.deref.json +1254 -421
  29. package/generated/ghes-3.6.json +160 -23
  30. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +10 -0
  31. package/generated/github.ae-diff-to-api.github.com.deref.json +24 -6
  32. package/generated/github.ae-diff-to-api.github.com.json +24 -6
  33. package/generated/github.ae.deref.json +1019 -290
  34. package/generated/github.ae.json +145 -16
  35. package/package.json +1 -6
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.9.1",
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": {
@@ -9445,7 +9445,7 @@
9445
9445
  },
9446
9446
  "examples": {
9447
9447
  "default": {
9448
- "$ref": "#/components/examples/organization-custom-repository-role-example-old"
9448
+ "$ref": "#/components/examples/organization-custom-repository-role-example"
9449
9449
  }
9450
9450
  }
9451
9451
  }
@@ -15079,8 +15079,9 @@
15079
15079
  },
15080
15080
  "use_squash_pr_title_as_default": {
15081
15081
  "type": "boolean",
15082
- "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
15083
- "default": false
15082
+ "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.",
15083
+ "default": false,
15084
+ "deprecated": true
15084
15085
  },
15085
15086
  "squash_merge_commit_title": {
15086
15087
  "type": "string",
@@ -15606,6 +15607,21 @@
15606
15607
  }
15607
15608
  },
15608
15609
  "responses": {
15610
+ "200": {
15611
+ "description": "Response when the updated information already exists",
15612
+ "content": {
15613
+ "application/json": {
15614
+ "schema": {
15615
+ "$ref": "#/components/schemas/team-full"
15616
+ },
15617
+ "examples": {
15618
+ "default": {
15619
+ "$ref": "#/components/examples/team-full"
15620
+ }
15621
+ }
15622
+ }
15623
+ }
15624
+ },
15609
15625
  "201": {
15610
15626
  "description": "Response",
15611
15627
  "content": {
@@ -15620,6 +15636,15 @@
15620
15636
  }
15621
15637
  }
15622
15638
  }
15639
+ },
15640
+ "403": {
15641
+ "$ref": "#/components/responses/forbidden"
15642
+ },
15643
+ "404": {
15644
+ "$ref": "#/components/responses/not_found"
15645
+ },
15646
+ "422": {
15647
+ "$ref": "#/components/responses/validation_failed"
15623
15648
  }
15624
15649
  },
15625
15650
  "x-github": {
@@ -19351,8 +19376,9 @@
19351
19376
  },
19352
19377
  "use_squash_pr_title_as_default": {
19353
19378
  "type": "boolean",
19354
- "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
19355
- "default": false
19379
+ "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.",
19380
+ "default": false,
19381
+ "deprecated": true
19356
19382
  },
19357
19383
  "squash_merge_commit_title": {
19358
19384
  "type": "string",
@@ -21919,7 +21945,7 @@
21919
21945
  },
21920
21946
  "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
21921
21947
  "get": {
21922
- "summary": "List workflow runs",
21948
+ "summary": "List workflow runs for a workflow",
21923
21949
  "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.",
21924
21950
  "tags": [
21925
21951
  "actions"
@@ -27127,6 +27153,22 @@
27127
27153
  "default": "all"
27128
27154
  }
27129
27155
  },
27156
+ {
27157
+ "name": "permission",
27158
+ "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
27159
+ "in": "query",
27160
+ "required": false,
27161
+ "schema": {
27162
+ "type": "string",
27163
+ "enum": [
27164
+ "pull",
27165
+ "triage",
27166
+ "push",
27167
+ "maintain",
27168
+ "admin"
27169
+ ]
27170
+ }
27171
+ },
27130
27172
  {
27131
27173
  "$ref": "#/components/parameters/per-page"
27132
27174
  },
@@ -28696,6 +28738,7 @@
28696
28738
  "description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
28697
28739
  "in": "path",
28698
28740
  "required": true,
28741
+ "x-multi-segment": true,
28699
28742
  "schema": {
28700
28743
  "type": "string"
28701
28744
  }
@@ -28837,7 +28880,7 @@
28837
28880
  },
28838
28881
  "put": {
28839
28882
  "summary": "Create or update file contents",
28840
- "description": "Creates a new file or replaces an existing file in a repository.",
28883
+ "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.",
28841
28884
  "tags": [
28842
28885
  "repos"
28843
28886
  ],
@@ -29056,7 +29099,7 @@
29056
29099
  },
29057
29100
  "sha": {
29058
29101
  "type": "string",
29059
- "description": "The blob SHA of the file being replaced."
29102
+ "description": "The blob SHA of the file being deleted."
29060
29103
  },
29061
29104
  "branch": {
29062
29105
  "type": "string",
@@ -32036,7 +32079,7 @@
32036
32079
  "/repos/{owner}/{repo}/git/trees/{tree_sha}": {
32037
32080
  "get": {
32038
32081
  "summary": "Get a tree",
32039
- "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.",
32082
+ "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.",
32040
32083
  "tags": [
32041
32084
  "git"
32042
32085
  ],
@@ -32109,7 +32152,7 @@
32109
32152
  "/repos/{owner}/{repo}/hooks": {
32110
32153
  "get": {
32111
32154
  "summary": "List repository webhooks",
32112
- "description": "",
32155
+ "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
32113
32156
  "tags": [
32114
32157
  "repos"
32115
32158
  ],
@@ -81501,7 +81544,7 @@
81501
81544
  }
81502
81545
  ]
81503
81546
  },
81504
- "organization-custom-repository-role-example-old": {
81547
+ "organization-custom-repository-role-example": {
81505
81548
  "value": {
81506
81549
  "total_count": 2,
81507
81550
  "custom_roles": [
@@ -1453,6 +1453,27 @@
1453
1453
  "patch": {
1454
1454
  "responses": {
1455
1455
  "changed": {
1456
+ "200": {
1457
+ "content": {
1458
+ "changed": {
1459
+ "application/json": {
1460
+ "schema_changed": {
1461
+ "properties_changed": {
1462
+ "changed": {
1463
+ "organization": {
1464
+ "properties_changed": {
1465
+ "removed": [
1466
+ "web_commit_signoff_required"
1467
+ ]
1468
+ }
1469
+ }
1470
+ }
1471
+ }
1472
+ }
1473
+ }
1474
+ }
1475
+ }
1476
+ },
1456
1477
  "201": {
1457
1478
  "content": {
1458
1479
  "changed": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.9.1",
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": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.9.1",
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": {