@octokit/openapi 16.2.0 → 16.4.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "16.2.0",
4
+ "version": "16.4.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": {
@@ -786,6 +786,7 @@
786
786
  "description": "The products and respective version ranges affected by the advisory.",
787
787
  "nullable": true,
788
788
  "items": {
789
+ "description": "A vulnerability describing the product and its affected versions within a GitHub Security Advisory.",
789
790
  "type": "object",
790
791
  "properties": {
791
792
  "package": {
@@ -830,7 +831,7 @@
830
831
  },
831
832
  "first_patched_version": {
832
833
  "type": "string",
833
- "description": "The package version that resolve the vulnerability.",
834
+ "description": "The package version that resolves the vulnerability.",
834
835
  "nullable": true
835
836
  },
836
837
  "vulnerable_functions": {
@@ -1398,6 +1399,7 @@
1398
1399
  "description": "The products and respective version ranges affected by the advisory.",
1399
1400
  "nullable": true,
1400
1401
  "items": {
1402
+ "description": "A vulnerability describing the product and its affected versions within a GitHub Security Advisory.",
1401
1403
  "type": "object",
1402
1404
  "properties": {
1403
1405
  "package": {
@@ -1442,7 +1444,7 @@
1442
1444
  },
1443
1445
  "first_patched_version": {
1444
1446
  "type": "string",
1445
- "description": "The package version that resolve the vulnerability.",
1447
+ "description": "The package version that resolves the vulnerability.",
1446
1448
  "nullable": true
1447
1449
  },
1448
1450
  "vulnerable_functions": {
@@ -5894,7 +5896,7 @@
5894
5896
  "/app/installations/{installation_id}/access_tokens": {
5895
5897
  "post": {
5896
5898
  "summary": "Create an installation access token for an app",
5897
- "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. \n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nWhen using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. \n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
5899
+ "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nWhen using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
5898
5900
  "tags": [
5899
5901
  "apps"
5900
5902
  ],
@@ -84118,7 +84120,7 @@
84118
84120
  "/orgs/{org}/hooks": {
84119
84121
  "get": {
84120
84122
  "summary": "List organization webhooks",
84121
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
84123
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
84122
84124
  "tags": [
84123
84125
  "orgs"
84124
84126
  ],
@@ -84327,7 +84329,7 @@
84327
84329
  },
84328
84330
  "post": {
84329
84331
  "summary": "Create an organization webhook",
84330
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
84332
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
84331
84333
  "tags": [
84332
84334
  "orgs"
84333
84335
  ],
@@ -84680,7 +84682,7 @@
84680
84682
  "/orgs/{org}/hooks/{hook_id}": {
84681
84683
  "get": {
84682
84684
  "summary": "Get an organization webhook",
84683
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
84685
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
84684
84686
  "tags": [
84685
84687
  "orgs"
84686
84688
  ],
@@ -84867,7 +84869,7 @@
84867
84869
  },
84868
84870
  "patch": {
84869
84871
  "summary": "Update an organization webhook",
84870
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
84872
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
84871
84873
  "tags": [
84872
84874
  "orgs"
84873
84875
  ],
@@ -85200,7 +85202,7 @@
85200
85202
  },
85201
85203
  "delete": {
85202
85204
  "summary": "Delete an organization webhook",
85203
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85205
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85204
85206
  "tags": [
85205
85207
  "orgs"
85206
85208
  ],
@@ -85272,7 +85274,7 @@
85272
85274
  "/orgs/{org}/hooks/{hook_id}/config": {
85273
85275
  "get": {
85274
85276
  "summary": "Get a webhook configuration for an organization",
85275
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85277
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85276
85278
  "tags": [
85277
85279
  "orgs"
85278
85280
  ],
@@ -85365,7 +85367,7 @@
85365
85367
  },
85366
85368
  "patch": {
85367
85369
  "summary": "Update a webhook configuration for an organization",
85368
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85370
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85369
85371
  "tags": [
85370
85372
  "orgs"
85371
85373
  ],
@@ -85511,7 +85513,7 @@
85511
85513
  "/orgs/{org}/hooks/{hook_id}/deliveries": {
85512
85514
  "get": {
85513
85515
  "summary": "List deliveries for an organization webhook",
85514
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85516
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85515
85517
  "tags": [
85516
85518
  "orgs"
85517
85519
  ],
@@ -85830,7 +85832,7 @@
85830
85832
  "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": {
85831
85833
  "get": {
85832
85834
  "summary": "Get a webhook delivery for an organization webhook",
85833
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85835
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
85834
85836
  "tags": [
85835
85837
  "orgs"
85836
85838
  ],
@@ -86192,7 +86194,7 @@
86192
86194
  "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": {
86193
86195
  "post": {
86194
86196
  "summary": "Redeliver a delivery for an organization webhook",
86195
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
86197
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
86196
86198
  "tags": [
86197
86199
  "orgs"
86198
86200
  ],
@@ -86387,7 +86389,7 @@
86387
86389
  "/orgs/{org}/hooks/{hook_id}/pings": {
86388
86390
  "post": {
86389
86391
  "summary": "Ping an organization webhook",
86390
- "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint. \n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks \nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
86392
+ "description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit webhooks\nthat they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
86391
86393
  "tags": [
86392
86394
  "orgs"
86393
86395
  ],