@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.
- package/generated/api.github.com.deref.json +17 -15
- package/generated/api.github.com.json +232 -549
- package/generated/ghec.deref.json +17 -15
- package/generated/ghec.json +232 -549
- package/generated/ghes-3.10.deref.json +13 -13
- package/generated/ghes-3.10.json +181 -502
- package/generated/ghes-3.11.deref.json +17 -15
- package/generated/ghes-3.11.json +232 -549
- package/generated/ghes-3.12.deref.json +371 -15
- package/generated/ghes-3.12.json +586 -549
- package/generated/ghes-3.9.deref.json +13 -13
- package/generated/ghes-3.9.json +177 -490
- package/generated/github.ae.deref.json +1 -1
- package/generated/github.ae.json +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "16.
|
|
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": {
|
|
@@ -7066,6 +7066,7 @@
|
|
|
7066
7066
|
"description": "The products and respective version ranges affected by the advisory.",
|
|
7067
7067
|
"nullable": true,
|
|
7068
7068
|
"items": {
|
|
7069
|
+
"description": "A vulnerability describing the product and its affected versions within a GitHub Security Advisory.",
|
|
7069
7070
|
"type": "object",
|
|
7070
7071
|
"properties": {
|
|
7071
7072
|
"package": {
|
|
@@ -7110,7 +7111,7 @@
|
|
|
7110
7111
|
},
|
|
7111
7112
|
"first_patched_version": {
|
|
7112
7113
|
"type": "string",
|
|
7113
|
-
"description": "The package version that
|
|
7114
|
+
"description": "The package version that resolves the vulnerability.",
|
|
7114
7115
|
"nullable": true
|
|
7115
7116
|
},
|
|
7116
7117
|
"vulnerable_functions": {
|
|
@@ -7678,6 +7679,7 @@
|
|
|
7678
7679
|
"description": "The products and respective version ranges affected by the advisory.",
|
|
7679
7680
|
"nullable": true,
|
|
7680
7681
|
"items": {
|
|
7682
|
+
"description": "A vulnerability describing the product and its affected versions within a GitHub Security Advisory.",
|
|
7681
7683
|
"type": "object",
|
|
7682
7684
|
"properties": {
|
|
7683
7685
|
"package": {
|
|
@@ -7722,7 +7724,7 @@
|
|
|
7722
7724
|
},
|
|
7723
7725
|
"first_patched_version": {
|
|
7724
7726
|
"type": "string",
|
|
7725
|
-
"description": "The package version that
|
|
7727
|
+
"description": "The package version that resolves the vulnerability.",
|
|
7726
7728
|
"nullable": true
|
|
7727
7729
|
},
|
|
7728
7730
|
"vulnerable_functions": {
|
|
@@ -12149,7 +12151,7 @@
|
|
|
12149
12151
|
"/app/installations/{installation_id}/access_tokens": {
|
|
12150
12152
|
"post": {
|
|
12151
12153
|
"summary": "Create an installation access token for an app",
|
|
12152
|
-
"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
|
|
12154
|
+
"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-server@3.11/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
|
|
12153
12155
|
"tags": [
|
|
12154
12156
|
"apps"
|
|
12155
12157
|
],
|
|
@@ -87101,7 +87103,7 @@
|
|
|
87101
87103
|
"/orgs/{org}/hooks": {
|
|
87102
87104
|
"get": {
|
|
87103
87105
|
"summary": "List organization webhooks",
|
|
87104
|
-
"description": "You must be an organization owner to use this endpoint
|
|
87106
|
+
"description": "You must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
87105
87107
|
"tags": [
|
|
87106
87108
|
"orgs"
|
|
87107
87109
|
],
|
|
@@ -87310,7 +87312,7 @@
|
|
|
87310
87312
|
},
|
|
87311
87313
|
"post": {
|
|
87312
87314
|
"summary": "Create an organization webhook",
|
|
87313
|
-
"description": "Create a hook that posts payloads in JSON format.\n\nYou must be an organization owner to use this endpoint
|
|
87315
|
+
"description": "Create a hook that posts payloads in JSON format.\n\nYou must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or\nedit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
87314
87316
|
"tags": [
|
|
87315
87317
|
"orgs"
|
|
87316
87318
|
],
|
|
@@ -87663,7 +87665,7 @@
|
|
|
87663
87665
|
"/orgs/{org}/hooks/{hook_id}": {
|
|
87664
87666
|
"get": {
|
|
87665
87667
|
"summary": "Get an organization webhook",
|
|
87666
|
-
"description": "Returns a webhook configured in an organization. To get only the webhook\n`config` properties, see \"[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization)
|
|
87668
|
+
"description": "Returns a webhook configured in an organization. To get only the webhook\n`config` properties, see \"[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).\n\nYou must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
87667
87669
|
"tags": [
|
|
87668
87670
|
"orgs"
|
|
87669
87671
|
],
|
|
@@ -87850,7 +87852,7 @@
|
|
|
87850
87852
|
},
|
|
87851
87853
|
"patch": {
|
|
87852
87854
|
"summary": "Update an organization webhook",
|
|
87853
|
-
"description": "Updates a webhook configured in an organization. When you update a webhook,\nthe `secret` will be overwritten. If you previously had a `secret` set, you must\nprovide the same `secret` or set a new `secret` or the secret will be removed. If\nyou are only updating individual webhook `config` properties, use \"[Update a webhook\nconfiguration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)\"
|
|
87855
|
+
"description": "Updates a webhook configured in an organization. When you update a webhook,\nthe `secret` will be overwritten. If you previously had a `secret` set, you must\nprovide the same `secret` or set a new `secret` or the secret will be removed. If\nyou are only updating individual webhook `config` properties, use \"[Update a webhook\nconfiguration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)\".\n\nYou must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
87854
87856
|
"tags": [
|
|
87855
87857
|
"orgs"
|
|
87856
87858
|
],
|
|
@@ -88183,7 +88185,7 @@
|
|
|
88183
88185
|
},
|
|
88184
88186
|
"delete": {
|
|
88185
88187
|
"summary": "Delete an organization webhook",
|
|
88186
|
-
"description": "You must be an organization owner to use this endpoint
|
|
88188
|
+
"description": "You must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
88187
88189
|
"tags": [
|
|
88188
88190
|
"orgs"
|
|
88189
88191
|
],
|
|
@@ -88255,7 +88257,7 @@
|
|
|
88255
88257
|
"/orgs/{org}/hooks/{hook_id}/config": {
|
|
88256
88258
|
"get": {
|
|
88257
88259
|
"summary": "Get a webhook configuration for an organization",
|
|
88258
|
-
"description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook).\"\n\nYou must be an organization owner to use this endpoint
|
|
88260
|
+
"description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook).\"\n\nYou must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
88259
88261
|
"tags": [
|
|
88260
88262
|
"orgs"
|
|
88261
88263
|
],
|
|
@@ -88348,7 +88350,7 @@
|
|
|
88348
88350
|
},
|
|
88349
88351
|
"patch": {
|
|
88350
88352
|
"summary": "Update a webhook configuration for an organization",
|
|
88351
|
-
"description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook).\"\n\nYou must be an organization owner to use this endpoint
|
|
88353
|
+
"description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook).\"\n\nYou must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
88352
88354
|
"tags": [
|
|
88353
88355
|
"orgs"
|
|
88354
88356
|
],
|
|
@@ -88494,7 +88496,7 @@
|
|
|
88494
88496
|
"/orgs/{org}/hooks/{hook_id}/deliveries": {
|
|
88495
88497
|
"get": {
|
|
88496
88498
|
"summary": "List deliveries for an organization webhook",
|
|
88497
|
-
"description": "Returns a list of webhook deliveries for a webhook configured in an organization.\n\nYou must be an organization owner to use this endpoint
|
|
88499
|
+
"description": "Returns a list of webhook deliveries for a webhook configured in an organization.\n\nYou must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
88498
88500
|
"tags": [
|
|
88499
88501
|
"orgs"
|
|
88500
88502
|
],
|
|
@@ -88813,7 +88815,7 @@
|
|
|
88813
88815
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": {
|
|
88814
88816
|
"get": {
|
|
88815
88817
|
"summary": "Get a webhook delivery for an organization webhook",
|
|
88816
|
-
"description": "Returns a delivery for a webhook configured in an organization.\n\nYou must be an organization owner to use this endpoint
|
|
88818
|
+
"description": "Returns a delivery for a webhook configured in an organization.\n\nYou must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
88817
88819
|
"tags": [
|
|
88818
88820
|
"orgs"
|
|
88819
88821
|
],
|
|
@@ -89175,7 +89177,7 @@
|
|
|
89175
89177
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": {
|
|
89176
89178
|
"post": {
|
|
89177
89179
|
"summary": "Redeliver a delivery for an organization webhook",
|
|
89178
|
-
"description": "Redeliver a delivery for a webhook configured in an organization.\n\nYou must be an organization owner to use this endpoint
|
|
89180
|
+
"description": "Redeliver a delivery for a webhook configured in an organization.\n\nYou must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
89179
89181
|
"tags": [
|
|
89180
89182
|
"orgs"
|
|
89181
89183
|
],
|
|
@@ -89370,7 +89372,7 @@
|
|
|
89370
89372
|
"/orgs/{org}/hooks/{hook_id}/pings": {
|
|
89371
89373
|
"post": {
|
|
89372
89374
|
"summary": "Ping an organization webhook",
|
|
89373
|
-
"description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.11/webhooks/#ping-event)\nto be sent to the hook.\n\nYou must be an organization owner to use this endpoint
|
|
89375
|
+
"description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.11/webhooks/#ping-event)\nto be sent to the hook.\n\nYou must be an organization owner 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\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.",
|
|
89374
89376
|
"tags": [
|
|
89375
89377
|
"orgs"
|
|
89376
89378
|
],
|