@octokit/openapi 16.3.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 +13 -13
- package/generated/api.github.com.json +13 -13
- package/generated/ghec.deref.json +13 -13
- package/generated/ghec.json +13 -13
- package/generated/ghes-3.10.deref.json +13 -13
- package/generated/ghes-3.10.json +13 -13
- package/generated/ghes-3.11.deref.json +13 -13
- package/generated/ghes-3.11.json +13 -13
- package/generated/ghes-3.12.deref.json +13 -13
- package/generated/ghes-3.12.json +13 -13
- package/generated/ghes-3.9.deref.json +13 -13
- package/generated/ghes-3.9.json +13 -13
- 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": {
|
|
@@ -5884,7 +5884,7 @@
|
|
|
5884
5884
|
"/app/installations/{installation_id}/access_tokens": {
|
|
5885
5885
|
"post": {
|
|
5886
5886
|
"summary": "Create an installation access token for an app",
|
|
5887
|
-
"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
|
|
5887
|
+
"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/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
|
|
5888
5888
|
"tags": [
|
|
5889
5889
|
"apps"
|
|
5890
5890
|
],
|
|
@@ -68560,7 +68560,7 @@
|
|
|
68560
68560
|
"/orgs/{org}/hooks": {
|
|
68561
68561
|
"get": {
|
|
68562
68562
|
"summary": "List organization webhooks",
|
|
68563
|
-
"description": "You must be an organization owner to use this endpoint
|
|
68563
|
+
"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.",
|
|
68564
68564
|
"tags": [
|
|
68565
68565
|
"orgs"
|
|
68566
68566
|
],
|
|
@@ -68769,7 +68769,7 @@
|
|
|
68769
68769
|
},
|
|
68770
68770
|
"post": {
|
|
68771
68771
|
"summary": "Create an organization webhook",
|
|
68772
|
-
"description": "Create a hook that posts payloads in JSON format.\n\nYou must be an organization owner to use this endpoint
|
|
68772
|
+
"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.",
|
|
68773
68773
|
"tags": [
|
|
68774
68774
|
"orgs"
|
|
68775
68775
|
],
|
|
@@ -69122,7 +69122,7 @@
|
|
|
69122
69122
|
"/orgs/{org}/hooks/{hook_id}": {
|
|
69123
69123
|
"get": {
|
|
69124
69124
|
"summary": "Get an organization webhook",
|
|
69125
|
-
"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)
|
|
69125
|
+
"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.",
|
|
69126
69126
|
"tags": [
|
|
69127
69127
|
"orgs"
|
|
69128
69128
|
],
|
|
@@ -69309,7 +69309,7 @@
|
|
|
69309
69309
|
},
|
|
69310
69310
|
"patch": {
|
|
69311
69311
|
"summary": "Update an organization webhook",
|
|
69312
|
-
"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)\"
|
|
69312
|
+
"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.",
|
|
69313
69313
|
"tags": [
|
|
69314
69314
|
"orgs"
|
|
69315
69315
|
],
|
|
@@ -69642,7 +69642,7 @@
|
|
|
69642
69642
|
},
|
|
69643
69643
|
"delete": {
|
|
69644
69644
|
"summary": "Delete an organization webhook",
|
|
69645
|
-
"description": "You must be an organization owner to use this endpoint
|
|
69645
|
+
"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.",
|
|
69646
69646
|
"tags": [
|
|
69647
69647
|
"orgs"
|
|
69648
69648
|
],
|
|
@@ -69714,7 +69714,7 @@
|
|
|
69714
69714
|
"/orgs/{org}/hooks/{hook_id}/config": {
|
|
69715
69715
|
"get": {
|
|
69716
69716
|
"summary": "Get a webhook configuration for an organization",
|
|
69717
|
-
"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
|
|
69717
|
+
"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.",
|
|
69718
69718
|
"tags": [
|
|
69719
69719
|
"orgs"
|
|
69720
69720
|
],
|
|
@@ -69807,7 +69807,7 @@
|
|
|
69807
69807
|
},
|
|
69808
69808
|
"patch": {
|
|
69809
69809
|
"summary": "Update a webhook configuration for an organization",
|
|
69810
|
-
"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
|
|
69810
|
+
"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.",
|
|
69811
69811
|
"tags": [
|
|
69812
69812
|
"orgs"
|
|
69813
69813
|
],
|
|
@@ -69953,7 +69953,7 @@
|
|
|
69953
69953
|
"/orgs/{org}/hooks/{hook_id}/deliveries": {
|
|
69954
69954
|
"get": {
|
|
69955
69955
|
"summary": "List deliveries for an organization webhook",
|
|
69956
|
-
"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
|
|
69956
|
+
"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.",
|
|
69957
69957
|
"tags": [
|
|
69958
69958
|
"orgs"
|
|
69959
69959
|
],
|
|
@@ -70272,7 +70272,7 @@
|
|
|
70272
70272
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": {
|
|
70273
70273
|
"get": {
|
|
70274
70274
|
"summary": "Get a webhook delivery for an organization webhook",
|
|
70275
|
-
"description": "Returns a delivery for a webhook configured in an organization.\n\nYou must be an organization owner to use this endpoint
|
|
70275
|
+
"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.",
|
|
70276
70276
|
"tags": [
|
|
70277
70277
|
"orgs"
|
|
70278
70278
|
],
|
|
@@ -70634,7 +70634,7 @@
|
|
|
70634
70634
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": {
|
|
70635
70635
|
"post": {
|
|
70636
70636
|
"summary": "Redeliver a delivery for an organization webhook",
|
|
70637
|
-
"description": "Redeliver a delivery for a webhook configured in an organization.\n\nYou must be an organization owner to use this endpoint
|
|
70637
|
+
"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.",
|
|
70638
70638
|
"tags": [
|
|
70639
70639
|
"orgs"
|
|
70640
70640
|
],
|
|
@@ -70829,7 +70829,7 @@
|
|
|
70829
70829
|
"/orgs/{org}/hooks/{hook_id}/pings": {
|
|
70830
70830
|
"post": {
|
|
70831
70831
|
"summary": "Ping an organization webhook",
|
|
70832
|
-
"description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event)\nto be sent to the hook.\n\nYou must be an organization owner to use this endpoint
|
|
70832
|
+
"description": "This will trigger a [ping event](https://docs.github.com/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.",
|
|
70833
70833
|
"tags": [
|
|
70834
70834
|
"orgs"
|
|
70835
70835
|
],
|
|
@@ -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": {
|
|
@@ -1758,7 +1758,7 @@
|
|
|
1758
1758
|
"/app/installations/{installation_id}/access_tokens": {
|
|
1759
1759
|
"post": {
|
|
1760
1760
|
"summary": "Create an installation access token for an app",
|
|
1761
|
-
"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
|
|
1761
|
+
"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/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
|
|
1762
1762
|
"tags": [
|
|
1763
1763
|
"apps"
|
|
1764
1764
|
],
|
|
@@ -11185,7 +11185,7 @@
|
|
|
11185
11185
|
"/orgs/{org}/hooks": {
|
|
11186
11186
|
"get": {
|
|
11187
11187
|
"summary": "List organization webhooks",
|
|
11188
|
-
"description": "You must be an organization owner to use this endpoint
|
|
11188
|
+
"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.",
|
|
11189
11189
|
"tags": [
|
|
11190
11190
|
"orgs"
|
|
11191
11191
|
],
|
|
@@ -11243,7 +11243,7 @@
|
|
|
11243
11243
|
},
|
|
11244
11244
|
"post": {
|
|
11245
11245
|
"summary": "Create an organization webhook",
|
|
11246
|
-
"description": "Create a hook that posts payloads in JSON format.\n\nYou must be an organization owner to use this endpoint
|
|
11246
|
+
"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.",
|
|
11247
11247
|
"tags": [
|
|
11248
11248
|
"orgs"
|
|
11249
11249
|
],
|
|
@@ -11380,7 +11380,7 @@
|
|
|
11380
11380
|
"/orgs/{org}/hooks/{hook_id}": {
|
|
11381
11381
|
"get": {
|
|
11382
11382
|
"summary": "Get an organization webhook",
|
|
11383
|
-
"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)
|
|
11383
|
+
"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.",
|
|
11384
11384
|
"tags": [
|
|
11385
11385
|
"orgs"
|
|
11386
11386
|
],
|
|
@@ -11427,7 +11427,7 @@
|
|
|
11427
11427
|
},
|
|
11428
11428
|
"patch": {
|
|
11429
11429
|
"summary": "Update an organization webhook",
|
|
11430
|
-
"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)\"
|
|
11430
|
+
"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.",
|
|
11431
11431
|
"tags": [
|
|
11432
11432
|
"orgs"
|
|
11433
11433
|
],
|
|
@@ -11539,7 +11539,7 @@
|
|
|
11539
11539
|
},
|
|
11540
11540
|
"delete": {
|
|
11541
11541
|
"summary": "Delete an organization webhook",
|
|
11542
|
-
"description": "You must be an organization owner to use this endpoint
|
|
11542
|
+
"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.",
|
|
11543
11543
|
"tags": [
|
|
11544
11544
|
"orgs"
|
|
11545
11545
|
],
|
|
@@ -11576,7 +11576,7 @@
|
|
|
11576
11576
|
"/orgs/{org}/hooks/{hook_id}/config": {
|
|
11577
11577
|
"get": {
|
|
11578
11578
|
"summary": "Get a webhook configuration for an organization",
|
|
11579
|
-
"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
|
|
11579
|
+
"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.",
|
|
11580
11580
|
"tags": [
|
|
11581
11581
|
"orgs"
|
|
11582
11582
|
],
|
|
@@ -11620,7 +11620,7 @@
|
|
|
11620
11620
|
},
|
|
11621
11621
|
"patch": {
|
|
11622
11622
|
"summary": "Update a webhook configuration for an organization",
|
|
11623
|
-
"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
|
|
11623
|
+
"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.",
|
|
11624
11624
|
"tags": [
|
|
11625
11625
|
"orgs"
|
|
11626
11626
|
],
|
|
@@ -11701,7 +11701,7 @@
|
|
|
11701
11701
|
"/orgs/{org}/hooks/{hook_id}/deliveries": {
|
|
11702
11702
|
"get": {
|
|
11703
11703
|
"summary": "List deliveries for an organization webhook",
|
|
11704
|
-
"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
|
|
11704
|
+
"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.",
|
|
11705
11705
|
"tags": [
|
|
11706
11706
|
"orgs"
|
|
11707
11707
|
],
|
|
@@ -11770,7 +11770,7 @@
|
|
|
11770
11770
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": {
|
|
11771
11771
|
"get": {
|
|
11772
11772
|
"summary": "Get a webhook delivery for an organization webhook",
|
|
11773
|
-
"description": "Returns a delivery for a webhook configured in an organization.\n\nYou must be an organization owner to use this endpoint
|
|
11773
|
+
"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.",
|
|
11774
11774
|
"tags": [
|
|
11775
11775
|
"orgs"
|
|
11776
11776
|
],
|
|
@@ -11825,7 +11825,7 @@
|
|
|
11825
11825
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": {
|
|
11826
11826
|
"post": {
|
|
11827
11827
|
"summary": "Redeliver a delivery for an organization webhook",
|
|
11828
|
-
"description": "Redeliver a delivery for a webhook configured in an organization.\n\nYou must be an organization owner to use this endpoint
|
|
11828
|
+
"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.",
|
|
11829
11829
|
"tags": [
|
|
11830
11830
|
"orgs"
|
|
11831
11831
|
],
|
|
@@ -11868,7 +11868,7 @@
|
|
|
11868
11868
|
"/orgs/{org}/hooks/{hook_id}/pings": {
|
|
11869
11869
|
"post": {
|
|
11870
11870
|
"summary": "Ping an organization webhook",
|
|
11871
|
-
"description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event)\nto be sent to the hook.\n\nYou must be an organization owner to use this endpoint
|
|
11871
|
+
"description": "This will trigger a [ping event](https://docs.github.com/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.",
|
|
11872
11872
|
"tags": [
|
|
11873
11873
|
"orgs"
|
|
11874
11874
|
],
|
|
@@ -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": {
|
|
@@ -5896,7 +5896,7 @@
|
|
|
5896
5896
|
"/app/installations/{installation_id}/access_tokens": {
|
|
5897
5897
|
"post": {
|
|
5898
5898
|
"summary": "Create an installation access token for an app",
|
|
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
|
|
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.",
|
|
5900
5900
|
"tags": [
|
|
5901
5901
|
"apps"
|
|
5902
5902
|
],
|
|
@@ -84120,7 +84120,7 @@
|
|
|
84120
84120
|
"/orgs/{org}/hooks": {
|
|
84121
84121
|
"get": {
|
|
84122
84122
|
"summary": "List organization webhooks",
|
|
84123
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
84124
84124
|
"tags": [
|
|
84125
84125
|
"orgs"
|
|
84126
84126
|
],
|
|
@@ -84329,7 +84329,7 @@
|
|
|
84329
84329
|
},
|
|
84330
84330
|
"post": {
|
|
84331
84331
|
"summary": "Create an organization webhook",
|
|
84332
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
84333
84333
|
"tags": [
|
|
84334
84334
|
"orgs"
|
|
84335
84335
|
],
|
|
@@ -84682,7 +84682,7 @@
|
|
|
84682
84682
|
"/orgs/{org}/hooks/{hook_id}": {
|
|
84683
84683
|
"get": {
|
|
84684
84684
|
"summary": "Get an organization webhook",
|
|
84685
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
84686
84686
|
"tags": [
|
|
84687
84687
|
"orgs"
|
|
84688
84688
|
],
|
|
@@ -84869,7 +84869,7 @@
|
|
|
84869
84869
|
},
|
|
84870
84870
|
"patch": {
|
|
84871
84871
|
"summary": "Update an organization webhook",
|
|
84872
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
84873
84873
|
"tags": [
|
|
84874
84874
|
"orgs"
|
|
84875
84875
|
],
|
|
@@ -85202,7 +85202,7 @@
|
|
|
85202
85202
|
},
|
|
85203
85203
|
"delete": {
|
|
85204
85204
|
"summary": "Delete an organization webhook",
|
|
85205
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
85206
85206
|
"tags": [
|
|
85207
85207
|
"orgs"
|
|
85208
85208
|
],
|
|
@@ -85274,7 +85274,7 @@
|
|
|
85274
85274
|
"/orgs/{org}/hooks/{hook_id}/config": {
|
|
85275
85275
|
"get": {
|
|
85276
85276
|
"summary": "Get a webhook configuration for an organization",
|
|
85277
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
85278
85278
|
"tags": [
|
|
85279
85279
|
"orgs"
|
|
85280
85280
|
],
|
|
@@ -85367,7 +85367,7 @@
|
|
|
85367
85367
|
},
|
|
85368
85368
|
"patch": {
|
|
85369
85369
|
"summary": "Update a webhook configuration for an organization",
|
|
85370
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
85371
85371
|
"tags": [
|
|
85372
85372
|
"orgs"
|
|
85373
85373
|
],
|
|
@@ -85513,7 +85513,7 @@
|
|
|
85513
85513
|
"/orgs/{org}/hooks/{hook_id}/deliveries": {
|
|
85514
85514
|
"get": {
|
|
85515
85515
|
"summary": "List deliveries for an organization webhook",
|
|
85516
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
85517
85517
|
"tags": [
|
|
85518
85518
|
"orgs"
|
|
85519
85519
|
],
|
|
@@ -85832,7 +85832,7 @@
|
|
|
85832
85832
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": {
|
|
85833
85833
|
"get": {
|
|
85834
85834
|
"summary": "Get a webhook delivery for an organization webhook",
|
|
85835
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
85836
85836
|
"tags": [
|
|
85837
85837
|
"orgs"
|
|
85838
85838
|
],
|
|
@@ -86194,7 +86194,7 @@
|
|
|
86194
86194
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": {
|
|
86195
86195
|
"post": {
|
|
86196
86196
|
"summary": "Redeliver a delivery for an organization webhook",
|
|
86197
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
86198
86198
|
"tags": [
|
|
86199
86199
|
"orgs"
|
|
86200
86200
|
],
|
|
@@ -86389,7 +86389,7 @@
|
|
|
86389
86389
|
"/orgs/{org}/hooks/{hook_id}/pings": {
|
|
86390
86390
|
"post": {
|
|
86391
86391
|
"summary": "Ping an organization webhook",
|
|
86392
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
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.",
|
|
86393
86393
|
"tags": [
|
|
86394
86394
|
"orgs"
|
|
86395
86395
|
],
|
package/generated/ghec.json
CHANGED
|
@@ -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": {
|
|
@@ -1770,7 +1770,7 @@
|
|
|
1770
1770
|
"/app/installations/{installation_id}/access_tokens": {
|
|
1771
1771
|
"post": {
|
|
1772
1772
|
"summary": "Create an installation access token for an app",
|
|
1773
|
-
"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
|
|
1773
|
+
"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.",
|
|
1774
1774
|
"tags": [
|
|
1775
1775
|
"apps"
|
|
1776
1776
|
],
|
|
@@ -15822,7 +15822,7 @@
|
|
|
15822
15822
|
"/orgs/{org}/hooks": {
|
|
15823
15823
|
"get": {
|
|
15824
15824
|
"summary": "List organization webhooks",
|
|
15825
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
15825
|
+
"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.",
|
|
15826
15826
|
"tags": [
|
|
15827
15827
|
"orgs"
|
|
15828
15828
|
],
|
|
@@ -15880,7 +15880,7 @@
|
|
|
15880
15880
|
},
|
|
15881
15881
|
"post": {
|
|
15882
15882
|
"summary": "Create an organization webhook",
|
|
15883
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
15883
|
+
"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.",
|
|
15884
15884
|
"tags": [
|
|
15885
15885
|
"orgs"
|
|
15886
15886
|
],
|
|
@@ -16017,7 +16017,7 @@
|
|
|
16017
16017
|
"/orgs/{org}/hooks/{hook_id}": {
|
|
16018
16018
|
"get": {
|
|
16019
16019
|
"summary": "Get an organization webhook",
|
|
16020
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
16020
|
+
"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.",
|
|
16021
16021
|
"tags": [
|
|
16022
16022
|
"orgs"
|
|
16023
16023
|
],
|
|
@@ -16064,7 +16064,7 @@
|
|
|
16064
16064
|
},
|
|
16065
16065
|
"patch": {
|
|
16066
16066
|
"summary": "Update an organization webhook",
|
|
16067
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
16067
|
+
"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.",
|
|
16068
16068
|
"tags": [
|
|
16069
16069
|
"orgs"
|
|
16070
16070
|
],
|
|
@@ -16176,7 +16176,7 @@
|
|
|
16176
16176
|
},
|
|
16177
16177
|
"delete": {
|
|
16178
16178
|
"summary": "Delete an organization webhook",
|
|
16179
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
16179
|
+
"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.",
|
|
16180
16180
|
"tags": [
|
|
16181
16181
|
"orgs"
|
|
16182
16182
|
],
|
|
@@ -16213,7 +16213,7 @@
|
|
|
16213
16213
|
"/orgs/{org}/hooks/{hook_id}/config": {
|
|
16214
16214
|
"get": {
|
|
16215
16215
|
"summary": "Get a webhook configuration for an organization",
|
|
16216
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
16216
|
+
"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.",
|
|
16217
16217
|
"tags": [
|
|
16218
16218
|
"orgs"
|
|
16219
16219
|
],
|
|
@@ -16257,7 +16257,7 @@
|
|
|
16257
16257
|
},
|
|
16258
16258
|
"patch": {
|
|
16259
16259
|
"summary": "Update a webhook configuration for an organization",
|
|
16260
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
16260
|
+
"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.",
|
|
16261
16261
|
"tags": [
|
|
16262
16262
|
"orgs"
|
|
16263
16263
|
],
|
|
@@ -16338,7 +16338,7 @@
|
|
|
16338
16338
|
"/orgs/{org}/hooks/{hook_id}/deliveries": {
|
|
16339
16339
|
"get": {
|
|
16340
16340
|
"summary": "List deliveries for an organization webhook",
|
|
16341
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
16341
|
+
"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.",
|
|
16342
16342
|
"tags": [
|
|
16343
16343
|
"orgs"
|
|
16344
16344
|
],
|
|
@@ -16407,7 +16407,7 @@
|
|
|
16407
16407
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": {
|
|
16408
16408
|
"get": {
|
|
16409
16409
|
"summary": "Get a webhook delivery for an organization webhook",
|
|
16410
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
16410
|
+
"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.",
|
|
16411
16411
|
"tags": [
|
|
16412
16412
|
"orgs"
|
|
16413
16413
|
],
|
|
@@ -16462,7 +16462,7 @@
|
|
|
16462
16462
|
"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": {
|
|
16463
16463
|
"post": {
|
|
16464
16464
|
"summary": "Redeliver a delivery for an organization webhook",
|
|
16465
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
16465
|
+
"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.",
|
|
16466
16466
|
"tags": [
|
|
16467
16467
|
"orgs"
|
|
16468
16468
|
],
|
|
@@ -16505,7 +16505,7 @@
|
|
|
16505
16505
|
"/orgs/{org}/hooks/{hook_id}/pings": {
|
|
16506
16506
|
"post": {
|
|
16507
16507
|
"summary": "Ping an organization webhook",
|
|
16508
|
-
"description": "You must be an organization owner or have the \"Manage organization webhooks\" permission to use this endpoint
|
|
16508
|
+
"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.",
|
|
16509
16509
|
"tags": [
|
|
16510
16510
|
"orgs"
|
|
16511
16511
|
],
|