@octokit/openapi 5.7.0 → 5.8.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 (27) hide show
  1. package/generated/api.github.com.deref.json +31 -3
  2. package/generated/api.github.com.json +16 -5
  3. package/generated/ghes-2.22-diff-to-ghes-3.0.deref.json +1 -1
  4. package/generated/ghes-2.22-diff-to-ghes-3.0.json +1 -1
  5. package/generated/ghes-2.22.deref.json +1 -1
  6. package/generated/ghes-2.22.json +1 -1
  7. package/generated/ghes-3.0-anicca-diff-to-ghes-3.1.deref.json +145 -0
  8. package/generated/ghes-3.0-diff-to-ghes-3.1.deref.json +14378 -3642
  9. package/generated/ghes-3.0-diff-to-ghes-3.1.json +1522 -240
  10. package/generated/ghes-3.0.deref.json +47 -26
  11. package/generated/ghes-3.0.json +39 -29
  12. package/generated/ghes-3.1-anicca-diff-to-ghes-3.2.deref.json +1292 -111
  13. package/generated/ghes-3.1-diff-to-ghes-3.2.deref.json +72178 -24463
  14. package/generated/ghes-3.1-diff-to-ghes-3.2.json +8486 -3212
  15. package/generated/ghes-3.1.deref.json +78 -57
  16. package/generated/ghes-3.1.json +70 -60
  17. package/generated/ghes-3.2-anicca-diff-to-api.github.com.deref.json +152 -0
  18. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +3162 -894
  19. package/generated/ghes-3.2-diff-to-api.github.com.json +931 -100
  20. package/generated/ghes-3.2.deref.json +48 -27
  21. package/generated/ghes-3.2.json +54 -30
  22. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +52 -22
  23. package/generated/github.ae-diff-to-api.github.com.deref.json +4920 -29
  24. package/generated/github.ae-diff-to-api.github.com.json +2883 -282
  25. package/generated/github.ae.deref.json +42 -10
  26. package/generated/github.ae.json +26 -11
  27. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "5.7.0",
4
+ "version": "5.8.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -19788,13 +19788,13 @@
19788
19788
  "category": "enterprise-admin",
19789
19789
  "subcategory": "actions"
19790
19790
  },
19791
- "x-octokit": {}
19791
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
19792
19792
  }
19793
19793
  },
19794
19794
  "/enterprises/{enterprise}/actions/runner-groups": {
19795
19795
  "get": {
19796
19796
  "summary": "List self-hosted runner groups for an enterprise",
19797
- "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
19797
+ "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
19798
19798
  "operationId": "enterprise-admin/list-self-hosted-runner-groups-for-enterprise",
19799
19799
  "tags": ["enterprise-admin"],
19800
19800
  "externalDocs": {
@@ -19906,7 +19906,7 @@
19906
19906
  },
19907
19907
  "post": {
19908
19908
  "summary": "Create a self-hosted runner group for an enterprise",
19909
- "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
19909
+ "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
19910
19910
  "operationId": "enterprise-admin/create-self-hosted-runner-group-for-enterprise",
19911
19911
  "tags": ["enterprise-admin"],
19912
19912
  "externalDocs": {
@@ -20021,7 +20021,7 @@
20021
20021
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": {
20022
20022
  "get": {
20023
20023
  "summary": "Get a self-hosted runner group for an enterprise",
20024
- "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20024
+ "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20025
20025
  "operationId": "enterprise-admin/get-self-hosted-runner-group-for-enterprise",
20026
20026
  "tags": ["enterprise-admin"],
20027
20027
  "externalDocs": {
@@ -20097,7 +20097,7 @@
20097
20097
  },
20098
20098
  "patch": {
20099
20099
  "summary": "Update a self-hosted runner group for an enterprise",
20100
- "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20100
+ "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20101
20101
  "operationId": "enterprise-admin/update-self-hosted-runner-group-for-enterprise",
20102
20102
  "tags": ["enterprise-admin"],
20103
20103
  "externalDocs": {
@@ -20198,7 +20198,7 @@
20198
20198
  },
20199
20199
  "delete": {
20200
20200
  "summary": "Delete a self-hosted runner group from an enterprise",
20201
- "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20201
+ "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20202
20202
  "operationId": "enterprise-admin/delete-self-hosted-runner-group-from-enterprise",
20203
20203
  "tags": ["enterprise-admin"],
20204
20204
  "externalDocs": {
@@ -20235,7 +20235,7 @@
20235
20235
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": {
20236
20236
  "get": {
20237
20237
  "summary": "List organization access to a self-hosted runner group in an enterprise",
20238
- "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20238
+ "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20239
20239
  "operationId": "enterprise-admin/list-org-access-to-self-hosted-runner-group-in-enterprise",
20240
20240
  "tags": ["enterprise-admin"],
20241
20241
  "externalDocs": {
@@ -20390,7 +20390,7 @@
20390
20390
  },
20391
20391
  "put": {
20392
20392
  "summary": "Set organization access for a self-hosted runner group in an enterprise",
20393
- "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20393
+ "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20394
20394
  "operationId": "enterprise-admin/set-org-access-to-self-hosted-runner-group-in-enterprise",
20395
20395
  "tags": ["enterprise-admin"],
20396
20396
  "externalDocs": {
@@ -20449,7 +20449,7 @@
20449
20449
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": {
20450
20450
  "put": {
20451
20451
  "summary": "Add organization access to a self-hosted runner group in an enterprise",
20452
- "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20452
+ "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20453
20453
  "operationId": "enterprise-admin/add-org-access-to-self-hosted-runner-group-in-enterprise",
20454
20454
  "tags": ["enterprise-admin"],
20455
20455
  "externalDocs": {
@@ -20491,7 +20491,7 @@
20491
20491
  },
20492
20492
  "delete": {
20493
20493
  "summary": "Remove organization access to a self-hosted runner group in an enterprise",
20494
- "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20494
+ "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20495
20495
  "operationId": "enterprise-admin/remove-org-access-to-self-hosted-runner-group-in-enterprise",
20496
20496
  "tags": ["enterprise-admin"],
20497
20497
  "externalDocs": {
@@ -20535,7 +20535,7 @@
20535
20535
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": {
20536
20536
  "get": {
20537
20537
  "summary": "List self-hosted runners in a group for an enterprise",
20538
- "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20538
+ "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20539
20539
  "operationId": "enterprise-admin/list-self-hosted-runners-in-group-for-enterprise",
20540
20540
  "tags": ["enterprise-admin"],
20541
20541
  "externalDocs": {
@@ -20705,7 +20705,7 @@
20705
20705
  },
20706
20706
  "put": {
20707
20707
  "summary": "Set self-hosted runners in a group for an enterprise",
20708
- "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20708
+ "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20709
20709
  "operationId": "enterprise-admin/set-self-hosted-runners-in-group-for-enterprise",
20710
20710
  "tags": ["enterprise-admin"],
20711
20711
  "externalDocs": {
@@ -20764,7 +20764,7 @@
20764
20764
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": {
20765
20765
  "put": {
20766
20766
  "summary": "Add a self-hosted runner to a group for an enterprise",
20767
- "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise`\nscope to use this endpoint.",
20767
+ "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.",
20768
20768
  "operationId": "enterprise-admin/add-self-hosted-runner-to-group-for-enterprise",
20769
20769
  "tags": ["enterprise-admin"],
20770
20770
  "externalDocs": {
@@ -20806,7 +20806,7 @@
20806
20806
  },
20807
20807
  "delete": {
20808
20808
  "summary": "Remove a self-hosted runner from a group for an enterprise",
20809
- "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20809
+ "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20810
20810
  "operationId": "enterprise-admin/remove-self-hosted-runner-from-group-for-enterprise",
20811
20811
  "tags": ["enterprise-admin"],
20812
20812
  "externalDocs": {
@@ -20850,7 +20850,7 @@
20850
20850
  "/enterprises/{enterprise}/actions/runners": {
20851
20851
  "get": {
20852
20852
  "summary": "List self-hosted runners for an enterprise",
20853
- "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
20853
+ "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
20854
20854
  "operationId": "enterprise-admin/list-self-hosted-runners-for-enterprise",
20855
20855
  "tags": ["enterprise-admin"],
20856
20856
  "externalDocs": {
@@ -21014,7 +21014,7 @@
21014
21014
  "/enterprises/{enterprise}/actions/runners/downloads": {
21015
21015
  "get": {
21016
21016
  "summary": "List runner applications for an enterprise",
21017
- "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
21017
+ "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
21018
21018
  "operationId": "enterprise-admin/list-runner-applications-for-enterprise",
21019
21019
  "tags": ["enterprise-admin"],
21020
21020
  "externalDocs": {
@@ -21123,7 +21123,7 @@
21123
21123
  "/enterprises/{enterprise}/actions/runners/registration-token": {
21124
21124
  "post": {
21125
21125
  "summary": "Create a registration token for an enterprise",
21126
- "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```",
21126
+ "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```",
21127
21127
  "operationId": "enterprise-admin/create-registration-token-for-enterprise",
21128
21128
  "tags": ["enterprise-admin"],
21129
21129
  "externalDocs": {
@@ -22024,7 +22024,7 @@
22024
22024
  "/enterprises/{enterprise}/actions/runners/remove-token": {
22025
22025
  "post": {
22026
22026
  "summary": "Create a remove token for an enterprise",
22027
- "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```",
22027
+ "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```",
22028
22028
  "operationId": "enterprise-admin/create-remove-token-for-enterprise",
22029
22029
  "tags": ["enterprise-admin"],
22030
22030
  "externalDocs": {
@@ -22925,7 +22925,7 @@
22925
22925
  "/enterprises/{enterprise}/actions/runners/{runner_id}": {
22926
22926
  "get": {
22927
22927
  "summary": "Get a self-hosted runner for an enterprise",
22928
- "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
22928
+ "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
22929
22929
  "operationId": "enterprise-admin/get-self-hosted-runner-for-enterprise",
22930
22930
  "tags": ["enterprise-admin"],
22931
22931
  "externalDocs": {
@@ -23035,7 +23035,7 @@
23035
23035
  },
23036
23036
  "delete": {
23037
23037
  "summary": "Delete a self-hosted runner from an enterprise",
23038
- "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
23038
+ "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
23039
23039
  "operationId": "enterprise-admin/delete-self-hosted-runner-from-enterprise",
23040
23040
  "tags": ["enterprise-admin"],
23041
23041
  "externalDocs": {
@@ -44684,7 +44684,7 @@
44684
44684
  }
44685
44685
  ]
44686
44686
  },
44687
- "x-octokit": {}
44687
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
44688
44688
  }
44689
44689
  },
44690
44690
  "/orgs/{org}/actions/permissions": {
@@ -46047,7 +46047,7 @@
46047
46047
  "category": "actions",
46048
46048
  "subcategory": "permissions"
46049
46049
  },
46050
- "x-octokit": {}
46050
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
46051
46051
  }
46052
46052
  },
46053
46053
  "/orgs/{org}/actions/runner-groups": {
@@ -90947,7 +90947,7 @@
90947
90947
  "category": "actions",
90948
90948
  "subcategory": "permissions"
90949
90949
  },
90950
- "x-octokit": {}
90950
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
90951
90951
  }
90952
90952
  },
90953
90953
  "/repos/{owner}/{repo}/actions/runners": {
@@ -93288,6 +93288,13 @@
93288
93288
  "in": "query",
93289
93289
  "required": false,
93290
93290
  "schema": { "type": "string", "format": "date-time" }
93291
+ },
93292
+ {
93293
+ "name": "exclude_pull_requests",
93294
+ "description": "If `true` pull requests are omitted from the response (empty array).",
93295
+ "in": "query",
93296
+ "required": false,
93297
+ "schema": { "type": "boolean", "default": false }
93291
93298
  }
93292
93299
  ],
93293
93300
  "responses": {
@@ -96469,6 +96476,13 @@
96469
96476
  "in": "path",
96470
96477
  "required": true,
96471
96478
  "schema": { "type": "integer" }
96479
+ },
96480
+ {
96481
+ "name": "exclude_pull_requests",
96482
+ "description": "If `true` pull requests are omitted from the response (empty array).",
96483
+ "in": "query",
96484
+ "required": false,
96485
+ "schema": { "type": "boolean", "default": false }
96472
96486
  }
96473
96487
  ],
96474
96488
  "responses": {
@@ -102372,6 +102386,13 @@
102372
102386
  "in": "query",
102373
102387
  "required": false,
102374
102388
  "schema": { "type": "string", "format": "date-time" }
102389
+ },
102390
+ {
102391
+ "name": "exclude_pull_requests",
102392
+ "description": "If `true` pull requests are omitted from the response (empty array).",
102393
+ "in": "query",
102394
+ "required": false,
102395
+ "schema": { "type": "boolean", "default": false }
102375
102396
  }
102376
102397
  ],
102377
102398
  "responses": {
@@ -129454,7 +129475,7 @@
129454
129475
  "previews": [],
129455
129476
  "category": "code-scanning"
129456
129477
  },
129457
- "x-octokit": {}
129478
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
129458
129479
  }
129459
129480
  },
129460
129481
  "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances": {
@@ -248067,7 +248088,7 @@
248067
248088
  "category": "repos",
248068
248089
  "subcategory": "releases"
248069
248090
  },
248070
- "x-octokit": {}
248091
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
248071
248092
  }
248072
248093
  },
248073
248094
  "/repos/{owner}/{repo}/releases/assets/{asset_id}": {
@@ -250671,7 +250692,7 @@
250671
250692
  "category": "repos",
250672
250693
  "subcategory": "releases"
250673
250694
  },
250674
- "x-octokit": {}
250695
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
250675
250696
  },
250676
250697
  "delete": {
250677
250698
  "summary": "Delete a release",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "5.7.0",
4
+ "version": "5.8.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -4627,13 +4627,15 @@
4627
4627
  "category": "enterprise-admin",
4628
4628
  "subcategory": "actions"
4629
4629
  },
4630
- "x-octokit": {}
4630
+ "x-octokit": {
4631
+ "diff": { "api.github.com.json": { "type": "changed" } }
4632
+ }
4631
4633
  }
4632
4634
  },
4633
4635
  "/enterprises/{enterprise}/actions/runner-groups": {
4634
4636
  "get": {
4635
4637
  "summary": "List self-hosted runner groups for an enterprise",
4636
- "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
4638
+ "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
4637
4639
  "operationId": "enterprise-admin/list-self-hosted-runner-groups-for-enterprise",
4638
4640
  "tags": ["enterprise-admin"],
4639
4641
  "externalDocs": {
@@ -4683,7 +4685,7 @@
4683
4685
  },
4684
4686
  "post": {
4685
4687
  "summary": "Create a self-hosted runner group for an enterprise",
4686
- "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
4688
+ "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
4687
4689
  "operationId": "enterprise-admin/create-self-hosted-runner-group-for-enterprise",
4688
4690
  "tags": ["enterprise-admin"],
4689
4691
  "externalDocs": {
@@ -4765,7 +4767,7 @@
4765
4767
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": {
4766
4768
  "get": {
4767
4769
  "summary": "Get a self-hosted runner group for an enterprise",
4768
- "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
4770
+ "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
4769
4771
  "operationId": "enterprise-admin/get-self-hosted-runner-group-for-enterprise",
4770
4772
  "tags": ["enterprise-admin"],
4771
4773
  "externalDocs": {
@@ -4804,7 +4806,7 @@
4804
4806
  },
4805
4807
  "patch": {
4806
4808
  "summary": "Update a self-hosted runner group for an enterprise",
4807
- "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
4809
+ "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
4808
4810
  "operationId": "enterprise-admin/update-self-hosted-runner-group-for-enterprise",
4809
4811
  "tags": ["enterprise-admin"],
4810
4812
  "externalDocs": {
@@ -4868,7 +4870,7 @@
4868
4870
  },
4869
4871
  "delete": {
4870
4872
  "summary": "Delete a self-hosted runner group from an enterprise",
4871
- "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
4873
+ "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
4872
4874
  "operationId": "enterprise-admin/delete-self-hosted-runner-group-from-enterprise",
4873
4875
  "tags": ["enterprise-admin"],
4874
4876
  "externalDocs": {
@@ -4893,7 +4895,7 @@
4893
4895
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": {
4894
4896
  "get": {
4895
4897
  "summary": "List organization access to a self-hosted runner group in an enterprise",
4896
- "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
4898
+ "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
4897
4899
  "operationId": "enterprise-admin/list-org-access-to-self-hosted-runner-group-in-enterprise",
4898
4900
  "tags": ["enterprise-admin"],
4899
4901
  "externalDocs": {
@@ -4944,7 +4946,7 @@
4944
4946
  },
4945
4947
  "put": {
4946
4948
  "summary": "Set organization access for a self-hosted runner group in an enterprise",
4947
- "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
4949
+ "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
4948
4950
  "operationId": "enterprise-admin/set-org-access-to-self-hosted-runner-group-in-enterprise",
4949
4951
  "tags": ["enterprise-admin"],
4950
4952
  "externalDocs": {
@@ -4991,7 +4993,7 @@
4991
4993
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": {
4992
4994
  "put": {
4993
4995
  "summary": "Add organization access to a self-hosted runner group in an enterprise",
4994
- "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
4996
+ "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
4995
4997
  "operationId": "enterprise-admin/add-org-access-to-self-hosted-runner-group-in-enterprise",
4996
4998
  "tags": ["enterprise-admin"],
4997
4999
  "externalDocs": {
@@ -5015,7 +5017,7 @@
5015
5017
  },
5016
5018
  "delete": {
5017
5019
  "summary": "Remove organization access to a self-hosted runner group in an enterprise",
5018
- "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
5020
+ "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
5019
5021
  "operationId": "enterprise-admin/remove-org-access-to-self-hosted-runner-group-in-enterprise",
5020
5022
  "tags": ["enterprise-admin"],
5021
5023
  "externalDocs": {
@@ -5041,7 +5043,7 @@
5041
5043
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": {
5042
5044
  "get": {
5043
5045
  "summary": "List self-hosted runners in a group for an enterprise",
5044
- "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
5046
+ "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
5045
5047
  "operationId": "enterprise-admin/list-self-hosted-runners-in-group-for-enterprise",
5046
5048
  "tags": ["enterprise-admin"],
5047
5049
  "externalDocs": {
@@ -5091,7 +5093,7 @@
5091
5093
  },
5092
5094
  "put": {
5093
5095
  "summary": "Set self-hosted runners in a group for an enterprise",
5094
- "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
5096
+ "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
5095
5097
  "operationId": "enterprise-admin/set-self-hosted-runners-in-group-for-enterprise",
5096
5098
  "tags": ["enterprise-admin"],
5097
5099
  "externalDocs": {
@@ -5138,7 +5140,7 @@
5138
5140
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": {
5139
5141
  "put": {
5140
5142
  "summary": "Add a self-hosted runner to a group for an enterprise",
5141
- "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise`\nscope to use this endpoint.",
5143
+ "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.",
5142
5144
  "operationId": "enterprise-admin/add-self-hosted-runner-to-group-for-enterprise",
5143
5145
  "tags": ["enterprise-admin"],
5144
5146
  "externalDocs": {
@@ -5162,7 +5164,7 @@
5162
5164
  },
5163
5165
  "delete": {
5164
5166
  "summary": "Remove a self-hosted runner from a group for an enterprise",
5165
- "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
5167
+ "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
5166
5168
  "operationId": "enterprise-admin/remove-self-hosted-runner-from-group-for-enterprise",
5167
5169
  "tags": ["enterprise-admin"],
5168
5170
  "externalDocs": {
@@ -5188,7 +5190,7 @@
5188
5190
  "/enterprises/{enterprise}/actions/runners": {
5189
5191
  "get": {
5190
5192
  "summary": "List self-hosted runners for an enterprise",
5191
- "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
5193
+ "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
5192
5194
  "operationId": "enterprise-admin/list-self-hosted-runners-for-enterprise",
5193
5195
  "tags": ["enterprise-admin"],
5194
5196
  "externalDocs": {
@@ -5238,7 +5240,7 @@
5238
5240
  "/enterprises/{enterprise}/actions/runners/downloads": {
5239
5241
  "get": {
5240
5242
  "summary": "List runner applications for an enterprise",
5241
- "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
5243
+ "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
5242
5244
  "operationId": "enterprise-admin/list-runner-applications-for-enterprise",
5243
5245
  "tags": ["enterprise-admin"],
5244
5246
  "externalDocs": {
@@ -5277,7 +5279,7 @@
5277
5279
  "/enterprises/{enterprise}/actions/runners/registration-token": {
5278
5280
  "post": {
5279
5281
  "summary": "Create a registration token for an enterprise",
5280
- "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```",
5282
+ "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```",
5281
5283
  "operationId": "enterprise-admin/create-registration-token-for-enterprise",
5282
5284
  "tags": ["enterprise-admin"],
5283
5285
  "externalDocs": {
@@ -5315,7 +5317,7 @@
5315
5317
  "/enterprises/{enterprise}/actions/runners/remove-token": {
5316
5318
  "post": {
5317
5319
  "summary": "Create a remove token for an enterprise",
5318
- "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```",
5320
+ "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```",
5319
5321
  "operationId": "enterprise-admin/create-remove-token-for-enterprise",
5320
5322
  "tags": ["enterprise-admin"],
5321
5323
  "externalDocs": {
@@ -5353,7 +5355,7 @@
5353
5355
  "/enterprises/{enterprise}/actions/runners/{runner_id}": {
5354
5356
  "get": {
5355
5357
  "summary": "Get a self-hosted runner for an enterprise",
5356
- "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
5358
+ "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
5357
5359
  "operationId": "enterprise-admin/get-self-hosted-runner-for-enterprise",
5358
5360
  "tags": ["enterprise-admin"],
5359
5361
  "externalDocs": {
@@ -5388,7 +5390,7 @@
5388
5390
  },
5389
5391
  "delete": {
5390
5392
  "summary": "Delete a self-hosted runner from an enterprise",
5391
- "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.",
5393
+ "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.",
5392
5394
  "operationId": "enterprise-admin/delete-self-hosted-runner-from-enterprise",
5393
5395
  "tags": ["enterprise-admin"],
5394
5396
  "externalDocs": {
@@ -7495,7 +7497,9 @@
7495
7497
  }
7496
7498
  ]
7497
7499
  },
7498
- "x-octokit": {}
7500
+ "x-octokit": {
7501
+ "diff": { "api.github.com.json": { "type": "changed" } }
7502
+ }
7499
7503
  }
7500
7504
  },
7501
7505
  "/orgs/{org}/actions/permissions": {
@@ -7786,7 +7790,9 @@
7786
7790
  "category": "actions",
7787
7791
  "subcategory": "permissions"
7788
7792
  },
7789
- "x-octokit": {}
7793
+ "x-octokit": {
7794
+ "diff": { "api.github.com.json": { "type": "changed" } }
7795
+ }
7790
7796
  }
7791
7797
  },
7792
7798
  "/orgs/{org}/actions/runner-groups": {
@@ -14517,7 +14523,9 @@
14517
14523
  "category": "actions",
14518
14524
  "subcategory": "permissions"
14519
14525
  },
14520
- "x-octokit": {}
14526
+ "x-octokit": {
14527
+ "diff": { "api.github.com.json": { "type": "changed" } }
14528
+ }
14521
14529
  }
14522
14530
  },
14523
14531
  "/repos/{owner}/{repo}/actions/runners": {
@@ -14777,7 +14785,8 @@
14777
14785
  { "$ref": "#/components/parameters/workflow-run-status" },
14778
14786
  { "$ref": "#/components/parameters/per-page" },
14779
14787
  { "$ref": "#/components/parameters/page" },
14780
- { "$ref": "#/components/parameters/created" }
14788
+ { "$ref": "#/components/parameters/created" },
14789
+ { "$ref": "#/components/parameters/exclude-pull-requests" }
14781
14790
  ],
14782
14791
  "responses": {
14783
14792
  "200": {
@@ -14828,7 +14837,8 @@
14828
14837
  "parameters": [
14829
14838
  { "$ref": "#/components/parameters/owner" },
14830
14839
  { "$ref": "#/components/parameters/repo" },
14831
- { "$ref": "#/components/parameters/run-id" }
14840
+ { "$ref": "#/components/parameters/run-id" },
14841
+ { "$ref": "#/components/parameters/exclude-pull-requests" }
14832
14842
  ],
14833
14843
  "responses": {
14834
14844
  "200": {
@@ -15727,7 +15737,8 @@
15727
15737
  { "$ref": "#/components/parameters/workflow-run-status" },
15728
15738
  { "$ref": "#/components/parameters/per-page" },
15729
15739
  { "$ref": "#/components/parameters/page" },
15730
- { "$ref": "#/components/parameters/created" }
15740
+ { "$ref": "#/components/parameters/created" },
15741
+ { "$ref": "#/components/parameters/exclude-pull-requests" }
15731
15742
  ],
15732
15743
  "responses": {
15733
15744
  "200": {
@@ -18924,7 +18935,9 @@
18924
18935
  "previews": [],
18925
18936
  "category": "code-scanning"
18926
18937
  },
18927
- "x-octokit": {}
18938
+ "x-octokit": {
18939
+ "diff": { "api.github.com.json": { "type": "changed" } }
18940
+ }
18928
18941
  }
18929
18942
  },
18930
18943
  "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances": {
@@ -29281,7 +29294,9 @@
29281
29294
  "category": "repos",
29282
29295
  "subcategory": "releases"
29283
29296
  },
29284
- "x-octokit": {}
29297
+ "x-octokit": {
29298
+ "diff": { "api.github.com.json": { "type": "changed" } }
29299
+ }
29285
29300
  }
29286
29301
  },
29287
29302
  "/repos/{owner}/{repo}/releases/assets/{asset_id}": {
@@ -29610,7 +29625,9 @@
29610
29625
  "category": "repos",
29611
29626
  "subcategory": "releases"
29612
29627
  },
29613
- "x-octokit": {}
29628
+ "x-octokit": {
29629
+ "diff": { "api.github.com.json": { "type": "changed" } }
29630
+ }
29614
29631
  },
29615
29632
  "delete": {
29616
29633
  "summary": "Delete a release",
@@ -39524,6 +39541,13 @@
39524
39541
  "required": false,
39525
39542
  "schema": { "type": "string", "format": "date-time" }
39526
39543
  },
39544
+ "exclude-pull-requests": {
39545
+ "name": "exclude_pull_requests",
39546
+ "description": "If `true` pull requests are omitted from the response (empty array).",
39547
+ "in": "query",
39548
+ "required": false,
39549
+ "schema": { "type": "boolean", "default": false }
39550
+ },
39527
39551
  "run-id": {
39528
39552
  "name": "run_id",
39529
39553
  "description": "The id of the workflow run.",