1
0
mirror of synced 2026-01-08 12:01:53 -05:00

Merge branch 'main' into repo-sync

This commit is contained in:
Octomerger Bot
2021-07-01 07:21:05 +10:00
committed by GitHub
11 changed files with 6648 additions and 0 deletions

View File

@@ -390,6 +390,229 @@
}
]
},
{
"verb": "get",
"requestPath": "/app/hook/deliveries",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "per_page",
"description": "Results per page (max 100).",
"in": "query",
"schema": {
"type": "integer",
"default": 30
},
"descriptionHTML": "<p>Results per page (max 100).</p>"
},
{
"name": "cursor",
"description": "Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"descriptionHTML": "<p>Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the <code>link</code> header for the next and previous page cursors.</p>"
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/deliveries",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/deliveries</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /app/hook/deliveries')",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /app/hook/deliveries'</span>)\n</code></pre>"
}
],
"summary": "List deliveries for an app webhook",
"description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\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.",
"tags": [
"apps"
],
"operationId": "apps/list-webhook-deliveries",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/apps#list-deliveries-for-an-app-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": false,
"previews": [],
"category": "apps",
"subcategory": "webhooks"
},
"slug": "list-deliveries-for-an-app-webhook",
"category": "apps",
"categoryLabel": "Apps",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a list of webhook deliveries for the webhook configured for a GitHub App.</p>\n<p>You must use a <a href=\"https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app\">JWT</a> to access this endpoint.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n },\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123456789</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-04T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.28</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n }\n]\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "get",
"requestPath": "/app/hook/deliveries/{delivery_id}",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/deliveries/42",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/deliveries/42</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /app/hook/deliveries/{delivery_id}', {\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /app/hook/deliveries/{delivery_id}'</span>, {\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Get a delivery for an app webhook",
"description": "Returns a delivery for the webhook configured for a GitHub App.\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.",
"tags": [
"apps"
],
"operationId": "apps/get-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/apps#get-a-delivery-for-an-app-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": false,
"previews": [],
"category": "apps",
"subcategory": "webhooks"
},
"slug": "get-a-delivery-for-an-app-webhook",
"category": "apps",
"categoryLabel": "Apps",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a delivery for the webhook configured for a GitHub App.</p>\n<p>You must use a <a href=\"https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app\">JWT</a> to access this endpoint.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>,\n <span class=\"hljs-attr\">\"request\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"X-GitHub-Delivery\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"X-Hub-Signature-256\"</span>: <span class=\"hljs-string\">\"sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e\"</span>,\n <span class=\"hljs-attr\">\"Accept\"</span>: <span class=\"hljs-string\">\"*/*\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-ID\"</span>: <span class=\"hljs-string\">\"42\"</span>,\n <span class=\"hljs-attr\">\"User-Agent\"</span>: <span class=\"hljs-string\">\"GitHub-Hookshot/b8c71d8\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-ID\"</span>: <span class=\"hljs-string\">\"123\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-Type\"</span>: <span class=\"hljs-string\">\"repository\"</span>,\n <span class=\"hljs-attr\">\"content-type\"</span>: <span class=\"hljs-string\">\"application/json\"</span>,\n <span class=\"hljs-attr\">\"X-Hub-Signature\"</span>: <span class=\"hljs-string\">\"sha1=a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: {\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"issue\"</span>: {\n <span class=\"hljs-attr\">\"body\"</span>: <span class=\"hljs-string\">\"foo\"</span>\n },\n <span class=\"hljs-attr\">\"repository\"</span>: {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123</span>\n }\n }\n },\n <span class=\"hljs-attr\">\"response\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"Content-Type\"</span>: <span class=\"hljs-string\">\"text/html;charset=utf-8\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: <span class=\"hljs-string\">\"ok\"</span>\n }\n}\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "post",
"requestPath": "/app/hook/deliveries/{delivery_id}/attempts",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/deliveries/42/attempts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/app/hook/deliveries/42/attempts</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('POST /app/hook/deliveries/{delivery_id}/attempts', {\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'POST /app/hook/deliveries/{delivery_id}/attempts'</span>, {\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Redeliver a delivery for an app webhook",
"description": "Redeliver a delivery for the webhook configured for a GitHub App.\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.",
"tags": [
"apps"
],
"operationId": "apps/redeliver-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": false,
"previews": [],
"category": "apps",
"subcategory": "webhooks"
},
"slug": "redeliver-a-delivery-for-an-app-webhook",
"category": "apps",
"categoryLabel": "Apps",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"responses": [
{
"httpStatusCode": "202",
"httpStatusMessage": "Accepted",
"description": "Accepted"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
],
"bodyParameters": [],
"descriptionHTML": "<p>Redeliver a delivery for the webhook configured for a GitHub App.</p>\n<p>You must use a <a href=\"https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app\">JWT</a> to access this endpoint.</p>"
},
{
"verb": "get",
"requestPath": "/app/installations",
@@ -19812,6 +20035,283 @@
}
]
},
{
"verb": "get",
"requestPath": "/orgs/{org}/hooks/{hook_id}/deliveries",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "org",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "per_page",
"description": "Results per page (max 100).",
"in": "query",
"schema": {
"type": "integer",
"default": 30
},
"descriptionHTML": "<p>Results per page (max 100).</p>"
},
{
"name": "cursor",
"description": "Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"descriptionHTML": "<p>Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the <code>link</code> header for the next and previous page cursors.</p>"
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/deliveries",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/deliveries</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /orgs/{org}/hooks/{hook_id}/deliveries', {\n org: 'org',\n hook_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /orgs/{org}/hooks/{hook_id}/deliveries'</span>, {\n <span class=\"hljs-attr\">org</span>: <span class=\"hljs-string\">'org'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "List deliveries for an organization webhook",
"description": "Returns a list of webhook deliveries for a webhook configured in an organization.",
"tags": [
"orgs"
],
"operationId": "orgs/list-webhook-deliveries",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "orgs",
"subcategory": "webhooks"
},
"slug": "list-deliveries-for-an-organization-webhook",
"category": "orgs",
"categoryLabel": "Orgs",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a list of webhook deliveries for a webhook configured in an organization.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n },\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123456789</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-04T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.28</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n }\n]\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "get",
"requestPath": "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "org",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/deliveries/42",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/deliveries/42</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}', {\n org: 'org',\n hook_id: 42,\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}'</span>, {\n <span class=\"hljs-attr\">org</span>: <span class=\"hljs-string\">'org'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Get a webhook delivery for an organization webhook",
"description": "Returns a delivery for a webhook configured in an organization.",
"tags": [
"orgs"
],
"operationId": "orgs/get-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "orgs",
"subcategory": "webhooks"
},
"slug": "get-a-webhook-delivery-for-an-organization-webhook",
"category": "orgs",
"categoryLabel": "Orgs",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a delivery for a webhook configured in an organization.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>,\n <span class=\"hljs-attr\">\"request\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"X-GitHub-Delivery\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"X-Hub-Signature-256\"</span>: <span class=\"hljs-string\">\"sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e\"</span>,\n <span class=\"hljs-attr\">\"Accept\"</span>: <span class=\"hljs-string\">\"*/*\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-ID\"</span>: <span class=\"hljs-string\">\"42\"</span>,\n <span class=\"hljs-attr\">\"User-Agent\"</span>: <span class=\"hljs-string\">\"GitHub-Hookshot/b8c71d8\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-ID\"</span>: <span class=\"hljs-string\">\"123\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-Type\"</span>: <span class=\"hljs-string\">\"repository\"</span>,\n <span class=\"hljs-attr\">\"content-type\"</span>: <span class=\"hljs-string\">\"application/json\"</span>,\n <span class=\"hljs-attr\">\"X-Hub-Signature\"</span>: <span class=\"hljs-string\">\"sha1=a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: {\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"issue\"</span>: {\n <span class=\"hljs-attr\">\"body\"</span>: <span class=\"hljs-string\">\"foo\"</span>\n },\n <span class=\"hljs-attr\">\"repository\"</span>: {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123</span>\n }\n }\n },\n <span class=\"hljs-attr\">\"response\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"Content-Type\"</span>: <span class=\"hljs-string\">\"text/html;charset=utf-8\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: <span class=\"hljs-string\">\"ok\"</span>\n }\n}\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "post",
"requestPath": "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "org",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/deliveries/42/attempts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/hooks/42/deliveries/42/attempts</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts', {\n org: 'org',\n hook_id: 42,\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts'</span>, {\n <span class=\"hljs-attr\">org</span>: <span class=\"hljs-string\">'org'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Redeliver a delivery for an organization webhook",
"description": "Redeliver a delivery for a webhook configured in an organization.",
"tags": [
"orgs"
],
"operationId": "orgs/redeliver-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "orgs",
"subcategory": "webhooks"
},
"slug": "redeliver-a-delivery-for-an-organization-webhook",
"category": "orgs",
"categoryLabel": "Orgs",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"responses": [
{
"httpStatusCode": "202",
"httpStatusMessage": "Accepted",
"description": "Accepted"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
],
"bodyParameters": [],
"descriptionHTML": "<p>Redeliver a delivery for a webhook configured in an organization.</p>"
},
{
"verb": "post",
"requestPath": "/orgs/{org}/hooks/{hook_id}/pings",
@@ -58147,6 +58647,310 @@
}
]
},
{
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "owner",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "repo",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "per_page",
"description": "Results per page (max 100).",
"in": "query",
"schema": {
"type": "integer",
"default": 30
},
"descriptionHTML": "<p>Results per page (max 100).</p>"
},
{
"name": "cursor",
"description": "Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"descriptionHTML": "<p>Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the <code>link</code> header for the next and previous page cursors.</p>"
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/deliveries",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/deliveries</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries', {\n owner: 'octocat',\n repo: 'hello-world',\n hook_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "List deliveries for a repository webhook",
"description": "Returns a list of webhook deliveries for a webhook configured in a repository.",
"tags": [
"repos"
],
"operationId": "repos/list-webhook-deliveries",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/repos#list-deliveries-for-a-repository-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "repos",
"subcategory": "webhooks"
},
"slug": "list-deliveries-for-a-repository-webhook",
"category": "repos",
"categoryLabel": "Repos",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a list of webhook deliveries for a webhook configured in a repository.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n },\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123456789</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-04T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.28</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n }\n]\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "owner",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "repo",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/deliveries/42",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/deliveries/42</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n hook_id: 42,\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Get a delivery for a repository webhook",
"description": "Returns a delivery for a webhook configured in a repository.",
"tags": [
"repos"
],
"operationId": "repos/get-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/repos#get-a-delivery-for-a-repository-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "repos",
"subcategory": "webhooks"
},
"slug": "get-a-delivery-for-a-repository-webhook",
"category": "repos",
"categoryLabel": "Repos",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a delivery for a webhook configured in a repository.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>,\n <span class=\"hljs-attr\">\"request\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"X-GitHub-Delivery\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"X-Hub-Signature-256\"</span>: <span class=\"hljs-string\">\"sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e\"</span>,\n <span class=\"hljs-attr\">\"Accept\"</span>: <span class=\"hljs-string\">\"*/*\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-ID\"</span>: <span class=\"hljs-string\">\"42\"</span>,\n <span class=\"hljs-attr\">\"User-Agent\"</span>: <span class=\"hljs-string\">\"GitHub-Hookshot/b8c71d8\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-ID\"</span>: <span class=\"hljs-string\">\"123\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-Type\"</span>: <span class=\"hljs-string\">\"repository\"</span>,\n <span class=\"hljs-attr\">\"content-type\"</span>: <span class=\"hljs-string\">\"application/json\"</span>,\n <span class=\"hljs-attr\">\"X-Hub-Signature\"</span>: <span class=\"hljs-string\">\"sha1=a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: {\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"issue\"</span>: {\n <span class=\"hljs-attr\">\"body\"</span>: <span class=\"hljs-string\">\"foo\"</span>\n },\n <span class=\"hljs-attr\">\"repository\"</span>: {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123</span>\n }\n }\n },\n <span class=\"hljs-attr\">\"response\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"Content-Type\"</span>: <span class=\"hljs-string\">\"text/html;charset=utf-8\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: <span class=\"hljs-string\">\"ok\"</span>\n }\n}\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "owner",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "repo",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/deliveries/42/attempts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/hooks/42/deliveries/42/attempts</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts', {\n owner: 'octocat',\n repo: 'hello-world',\n hook_id: 42,\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Redeliver a delivery for a repository webhook",
"description": "Redeliver a webhook delivery for a webhook configured in a repository.",
"tags": [
"repos"
],
"operationId": "repos/redeliver-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "repos",
"subcategory": "webhooks"
},
"slug": "redeliver-a-delivery-for-a-repository-webhook",
"category": "repos",
"categoryLabel": "Repos",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"responses": [
{
"httpStatusCode": "202",
"httpStatusMessage": "Accepted",
"description": "Accepted"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
],
"bodyParameters": [],
"descriptionHTML": "<p>Redeliver a webhook delivery for a webhook configured in a repository.</p>"
},
{
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings",

View File

@@ -2766,6 +2766,229 @@
}
]
},
{
"verb": "get",
"requestPath": "/app/hook/deliveries",
"serverUrl": "http(s)://api.{hostname}",
"parameters": [
{
"name": "per_page",
"description": "Results per page (max 100).",
"in": "query",
"schema": {
"type": "integer",
"default": 30
},
"descriptionHTML": "<p>Results per page (max 100).</p>"
},
{
"name": "cursor",
"description": "Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"descriptionHTML": "<p>Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the <code>link</code> header for the next and previous page cursors.</p>"
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/hook/deliveries",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/hook/deliveries</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /app/hook/deliveries')",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /app/hook/deliveries'</span>)\n</code></pre>"
}
],
"summary": "List deliveries for an app webhook",
"description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
"tags": [
"apps"
],
"operationId": "apps/list-webhook-deliveries",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/github-ae@latest/rest/reference/apps#list-deliveries-for-an-app-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": false,
"previews": [],
"category": "apps",
"subcategory": "webhooks"
},
"slug": "list-deliveries-for-an-app-webhook",
"category": "apps",
"categoryLabel": "Apps",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a list of webhook deliveries for the webhook configured for a GitHub App.</p>\n<p>You must use a <a href=\"https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app\">JWT</a> to access this endpoint.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n },\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123456789</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-04T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.28</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n }\n]\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "get",
"requestPath": "/app/hook/deliveries/{delivery_id}",
"serverUrl": "http(s)://api.{hostname}",
"parameters": [
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/hook/deliveries/42",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/hook/deliveries/42</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /app/hook/deliveries/{delivery_id}', {\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /app/hook/deliveries/{delivery_id}'</span>, {\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Get a delivery for an app webhook",
"description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
"tags": [
"apps"
],
"operationId": "apps/get-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/github-ae@latest/rest/reference/apps#get-a-delivery-for-an-app-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": false,
"previews": [],
"category": "apps",
"subcategory": "webhooks"
},
"slug": "get-a-delivery-for-an-app-webhook",
"category": "apps",
"categoryLabel": "Apps",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a delivery for the webhook configured for a GitHub App.</p>\n<p>You must use a <a href=\"https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app\">JWT</a> to access this endpoint.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>,\n <span class=\"hljs-attr\">\"request\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"X-GitHub-Delivery\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"X-Hub-Signature-256\"</span>: <span class=\"hljs-string\">\"sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e\"</span>,\n <span class=\"hljs-attr\">\"Accept\"</span>: <span class=\"hljs-string\">\"*/*\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-ID\"</span>: <span class=\"hljs-string\">\"42\"</span>,\n <span class=\"hljs-attr\">\"User-Agent\"</span>: <span class=\"hljs-string\">\"GitHub-Hookshot/b8c71d8\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-ID\"</span>: <span class=\"hljs-string\">\"123\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-Type\"</span>: <span class=\"hljs-string\">\"repository\"</span>,\n <span class=\"hljs-attr\">\"content-type\"</span>: <span class=\"hljs-string\">\"application/json\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: {\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"issue\"</span>: {\n <span class=\"hljs-attr\">\"body\"</span>: <span class=\"hljs-string\">\"foo\"</span>\n },\n <span class=\"hljs-attr\">\"repository\"</span>: {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123</span>\n }\n }\n },\n <span class=\"hljs-attr\">\"response\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"Content-Type\"</span>: <span class=\"hljs-string\">\"text/html;charset=utf-8\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: <span class=\"hljs-string\">\"ok\"</span>\n }\n}\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "post",
"requestPath": "/app/hook/deliveries/{delivery_id}/attempts",
"serverUrl": "http(s)://api.{hostname}",
"parameters": [
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/hook/deliveries/42/attempts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/app/hook/deliveries/42/attempts</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('POST /app/hook/deliveries/{delivery_id}/attempts', {\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'POST /app/hook/deliveries/{delivery_id}/attempts'</span>, {\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Redeliver a delivery for an app webhook",
"description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
"tags": [
"apps"
],
"operationId": "apps/redeliver-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/github-ae@latest/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": false,
"previews": [],
"category": "apps",
"subcategory": "webhooks"
},
"slug": "redeliver-a-delivery-for-an-app-webhook",
"category": "apps",
"categoryLabel": "Apps",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"responses": [
{
"httpStatusCode": "202",
"httpStatusMessage": "Accepted",
"description": "Accepted"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
],
"bodyParameters": [],
"descriptionHTML": "<p>Redeliver a delivery for the webhook configured for a GitHub App.</p>\n<p>You must use a <a href=\"https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app\">JWT</a> to access this endpoint.</p>"
},
{
"verb": "get",
"requestPath": "/app/installations",
@@ -16195,6 +16418,183 @@
}
]
},
{
"verb": "get",
"requestPath": "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}",
"serverUrl": "http(s)://api.{hostname}",
"parameters": [
{
"name": "org",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42/deliveries/42",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42/deliveries/42</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}', {\n org: 'org',\n hook_id: 42,\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}'</span>, {\n <span class=\"hljs-attr\">org</span>: <span class=\"hljs-string\">'org'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Get a webhook delivery for an organization webhook",
"description": "Returns a delivery for a webhook configured in an organization.",
"tags": [
"orgs"
],
"operationId": "orgs/get-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/github-ae@latest/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "orgs",
"subcategory": "webhooks"
},
"slug": "get-a-webhook-delivery-for-an-organization-webhook",
"category": "orgs",
"categoryLabel": "Orgs",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a delivery for a webhook configured in an organization.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>,\n <span class=\"hljs-attr\">\"request\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"X-GitHub-Delivery\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"X-Hub-Signature-256\"</span>: <span class=\"hljs-string\">\"sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e\"</span>,\n <span class=\"hljs-attr\">\"Accept\"</span>: <span class=\"hljs-string\">\"*/*\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-ID\"</span>: <span class=\"hljs-string\">\"42\"</span>,\n <span class=\"hljs-attr\">\"User-Agent\"</span>: <span class=\"hljs-string\">\"GitHub-Hookshot/b8c71d8\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-ID\"</span>: <span class=\"hljs-string\">\"123\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-Type\"</span>: <span class=\"hljs-string\">\"repository\"</span>,\n <span class=\"hljs-attr\">\"content-type\"</span>: <span class=\"hljs-string\">\"application/json\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: {\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"issue\"</span>: {\n <span class=\"hljs-attr\">\"body\"</span>: <span class=\"hljs-string\">\"foo\"</span>\n },\n <span class=\"hljs-attr\">\"repository\"</span>: {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123</span>\n }\n }\n },\n <span class=\"hljs-attr\">\"response\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"Content-Type\"</span>: <span class=\"hljs-string\">\"text/html;charset=utf-8\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: <span class=\"hljs-string\">\"ok\"</span>\n }\n}\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "post",
"requestPath": "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts",
"serverUrl": "http(s)://api.{hostname}",
"parameters": [
{
"name": "org",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42/deliveries/42/attempts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/orgs/ORG/hooks/42/deliveries/42/attempts</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts', {\n org: 'org',\n hook_id: 42,\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts'</span>, {\n <span class=\"hljs-attr\">org</span>: <span class=\"hljs-string\">'org'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Redeliver a delivery for an organization webhook",
"description": "Redeliver a delivery for a webhook configured in an organization.",
"tags": [
"orgs"
],
"operationId": "orgs/redeliver-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/github-ae@latest/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "orgs",
"subcategory": "webhooks"
},
"slug": "redeliver-a-delivery-for-an-organization-webhook",
"category": "orgs",
"categoryLabel": "Orgs",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"responses": [
{
"httpStatusCode": "202",
"httpStatusMessage": "Accepted",
"description": "Accepted"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
],
"bodyParameters": [],
"descriptionHTML": "<p>Redeliver a delivery for a webhook configured in an organization.</p>"
},
{
"verb": "post",
"requestPath": "/orgs/{org}/hooks/{hook_id}/pings",
@@ -48944,6 +49344,310 @@
}
]
},
{
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries",
"serverUrl": "http(s)://api.{hostname}",
"parameters": [
{
"name": "owner",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "repo",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "per_page",
"description": "Results per page (max 100).",
"in": "query",
"schema": {
"type": "integer",
"default": 30
},
"descriptionHTML": "<p>Results per page (max 100).</p>"
},
{
"name": "cursor",
"description": "Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"descriptionHTML": "<p>Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the <code>link</code> header for the next and previous page cursors.</p>"
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/deliveries",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/deliveries</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries', {\n owner: 'octocat',\n repo: 'hello-world',\n hook_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "List deliveries for a repository webhook",
"description": "Returns a list of webhook deliveries for a webhook configured in a repository.",
"tags": [
"repos"
],
"operationId": "repos/list-webhook-deliveries",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-deliveries-for-a-repository-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "repos",
"subcategory": "webhooks"
},
"slug": "list-deliveries-for-a-repository-webhook",
"category": "repos",
"categoryLabel": "Repos",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a list of webhook deliveries for a webhook configured in a repository.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n },\n {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123456789</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-04T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.28</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>\n }\n]\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}",
"serverUrl": "http(s)://api.{hostname}",
"parameters": [
{
"name": "owner",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "repo",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/deliveries/42",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/deliveries/42</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n hook_id: 42,\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Get a delivery for a repository webhook",
"description": "Returns a delivery for a webhook configured in a repository.",
"tags": [
"repos"
],
"operationId": "repos/get-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-delivery-for-a-repository-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "repos",
"subcategory": "webhooks"
},
"slug": "get-a-delivery-for-a-repository-webhook",
"category": "repos",
"categoryLabel": "Repos",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Returns a delivery for a webhook configured in a repository.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">12345678</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"delivered_at\"</span>: <span class=\"hljs-string\">\"2019-06-03T00:57:16Z\"</span>,\n <span class=\"hljs-attr\">\"redelivery\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"duration\"</span>: <span class=\"hljs-number\">0.27</span>,\n <span class=\"hljs-attr\">\"status\"</span>: <span class=\"hljs-string\">\"OK\"</span>,\n <span class=\"hljs-attr\">\"status_code\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"installation_id\"</span>: <span class=\"hljs-number\">123</span>,\n <span class=\"hljs-attr\">\"repository_id\"</span>: <span class=\"hljs-number\">456</span>,\n <span class=\"hljs-attr\">\"request\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"X-GitHub-Delivery\"</span>: <span class=\"hljs-string\">\"0b989ba4-242f-11e5-81e1-c7b6966d2516\"</span>,\n <span class=\"hljs-attr\">\"X-Hub-Signature-256\"</span>: <span class=\"hljs-string\">\"sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e\"</span>,\n <span class=\"hljs-attr\">\"Accept\"</span>: <span class=\"hljs-string\">\"*/*\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-ID\"</span>: <span class=\"hljs-string\">\"42\"</span>,\n <span class=\"hljs-attr\">\"User-Agent\"</span>: <span class=\"hljs-string\">\"GitHub-Hookshot/b8c71d8\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Event\"</span>: <span class=\"hljs-string\">\"issues\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-ID\"</span>: <span class=\"hljs-string\">\"123\"</span>,\n <span class=\"hljs-attr\">\"X-GitHub-Hook-Installation-Target-Type\"</span>: <span class=\"hljs-string\">\"repository\"</span>,\n <span class=\"hljs-attr\">\"content-type\"</span>: <span class=\"hljs-string\">\"application/json\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: {\n <span class=\"hljs-attr\">\"action\"</span>: <span class=\"hljs-string\">\"opened\"</span>,\n <span class=\"hljs-attr\">\"issue\"</span>: {\n <span class=\"hljs-attr\">\"body\"</span>: <span class=\"hljs-string\">\"foo\"</span>\n },\n <span class=\"hljs-attr\">\"repository\"</span>: {\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">123</span>\n }\n }\n },\n <span class=\"hljs-attr\">\"response\"</span>: {\n <span class=\"hljs-attr\">\"headers\"</span>: {\n <span class=\"hljs-attr\">\"Content-Type\"</span>: <span class=\"hljs-string\">\"text/html;charset=utf-8\"</span>\n },\n <span class=\"hljs-attr\">\"payload\"</span>: <span class=\"hljs-string\">\"ok\"</span>\n }\n}\n</code></pre>"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
]
},
{
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts",
"serverUrl": "http(s)://api.{hostname}",
"parameters": [
{
"name": "owner",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "repo",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "hook_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
},
{
"name": "delivery_id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/deliveries/42/attempts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://api.{hostname}/repos/octocat/hello-world/hooks/42/deliveries/42/attempts</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts', {\n owner: 'octocat',\n repo: 'hello-world',\n hook_id: 42,\n delivery_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">delivery_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Redeliver a delivery for a repository webhook",
"description": "Redeliver a webhook delivery for a webhook configured in a repository.",
"tags": [
"repos"
],
"operationId": "repos/redeliver-webhook-delivery",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/github-ae@latest/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "repos",
"subcategory": "webhooks"
},
"slug": "redeliver-a-delivery-for-a-repository-webhook",
"category": "repos",
"categoryLabel": "Repos",
"subcategory": "webhooks",
"subcategoryLabel": "Webhooks",
"notes": [],
"responses": [
{
"httpStatusCode": "202",
"httpStatusMessage": "Accepted",
"description": "Accepted"
},
{
"httpStatusCode": "400",
"httpStatusMessage": "Bad Request",
"description": "Bad Request"
},
{
"httpStatusCode": "422",
"httpStatusMessage": "Unprocessable Entity",
"description": "Validation failed"
}
],
"bodyParameters": [],
"descriptionHTML": "<p>Redeliver a webhook delivery for a webhook configured in a repository.</p>"
},
{
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/hooks/{hook_id}/pings",

File diff suppressed because it is too large Load Diff

View File

@@ -49060,6 +49060,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -49335,6 +49340,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -49595,6 +49605,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -49849,6 +49864,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -142269,6 +142289,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -142625,6 +142650,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -142996,6 +143026,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -143353,6 +143388,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",

View File

@@ -49115,6 +49115,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -49390,6 +49395,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -49650,6 +49660,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -49904,6 +49919,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -145590,6 +145610,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -145946,6 +145971,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -146317,6 +146347,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -146674,6 +146709,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",

View File

@@ -52251,6 +52251,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -52526,6 +52531,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -52786,6 +52796,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -53040,6 +53055,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -147961,6 +147981,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -148317,6 +148342,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -148688,6 +148718,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -149045,6 +149080,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",

View File

@@ -52327,6 +52327,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -52602,6 +52607,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -52862,6 +52872,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -53116,6 +53131,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -160137,6 +160157,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -160493,6 +160518,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -160864,6 +160894,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -161221,6 +161256,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",

View File

@@ -64800,6 +64800,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -65075,6 +65080,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -65335,6 +65345,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -65589,6 +65604,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -192344,6 +192364,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -192700,6 +192725,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -193071,6 +193101,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -193428,6 +193463,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",

View File

@@ -69735,6 +69735,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -70010,6 +70015,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -70270,6 +70280,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -70524,6 +70539,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -198687,6 +198707,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -199043,6 +199068,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -199414,6 +199444,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -199771,6 +199806,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",

View File

@@ -70055,6 +70055,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -70330,6 +70335,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -70590,6 +70600,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -70844,6 +70859,11 @@
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
},
"name": {
"type": "string",
"example": "web"
@@ -201684,6 +201704,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -202040,6 +202065,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -202411,6 +202441,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",
@@ -202768,6 +202803,11 @@
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
},
"deliveries_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
},
"last_response": {
"title": "Hook Response",
"type": "object",

File diff suppressed because it is too large Load Diff