Add decorated OpenAPI schema files
This commit is contained in:
@@ -85,13 +85,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('GET /admin/hooks', {\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/hooks'</span>, {\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'superpro'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('GET /admin/hooks')",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/hooks'</span>)\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "List global webhooks",
|
||||
@@ -107,14 +107,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "superpro",
|
||||
"note": "The [Global Webhooks API](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```",
|
||||
"html": "<p>The <a href=\"https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks\">Global Webhooks API</a> is currently available for developers to preview. To access the API during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.superpro-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "global-webhooks"
|
||||
},
|
||||
@@ -139,29 +131,17 @@
|
||||
"verb": "post",
|
||||
"requestPath": "/admin/hooks",
|
||||
"serverUrl": "https://{hostname}/api/v3",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "accept",
|
||||
"description": "This API is under preview and subject to change.",
|
||||
"in": "header",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"default": "application/vnd.github.superpro-preview+json"
|
||||
},
|
||||
"required": true,
|
||||
"descriptionHTML": "<p>This API is under preview and subject to change.</p>"
|
||||
}
|
||||
],
|
||||
"parameters": [],
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('POST /admin/hooks', {\n name: 'name',\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n },\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /admin/hooks'</span>, {\n <span class=\"hljs-attr\">name</span>: <span class=\"hljs-string\">'name'</span>,\n <span class=\"hljs-attr\">config</span>: {\n <span class=\"hljs-attr\">url</span>: <span class=\"hljs-string\">'url'</span>,\n <span class=\"hljs-attr\">content_type</span>: <span class=\"hljs-string\">'content_type'</span>,\n <span class=\"hljs-attr\">secret</span>: <span class=\"hljs-string\">'secret'</span>,\n <span class=\"hljs-attr\">insecure_ssl</span>: <span class=\"hljs-string\">'insecure_ssl'</span>\n },\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'superpro'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('POST /admin/hooks', {\n name: 'name',\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /admin/hooks'</span>, {\n <span class=\"hljs-attr\">name</span>: <span class=\"hljs-string\">'name'</span>,\n <span class=\"hljs-attr\">config</span>: {\n <span class=\"hljs-attr\">url</span>: <span class=\"hljs-string\">'url'</span>,\n <span class=\"hljs-attr\">content_type</span>: <span class=\"hljs-string\">'content_type'</span>,\n <span class=\"hljs-attr\">secret</span>: <span class=\"hljs-string\">'secret'</span>,\n <span class=\"hljs-attr\">insecure_ssl</span>: <span class=\"hljs-string\">'insecure_ssl'</span>\n }\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Create a global webhook",
|
||||
@@ -330,14 +310,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "superpro",
|
||||
"note": "The [Global Webhooks API](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```",
|
||||
"html": "<p>The <a href=\"https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks\">Global Webhooks API</a> is currently available for developers to preview. To access the API during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.superpro-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "global-webhooks"
|
||||
},
|
||||
@@ -490,17 +462,6 @@
|
||||
"requestPath": "/admin/hooks/{hook_id}",
|
||||
"serverUrl": "https://{hostname}/api/v3",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "accept",
|
||||
"description": "This API is under preview and subject to change.",
|
||||
"in": "header",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"default": "application/vnd.github.superpro-preview+json"
|
||||
},
|
||||
"required": true,
|
||||
"descriptionHTML": "<p>This API is under preview and subject to change.</p>"
|
||||
},
|
||||
{
|
||||
"name": "hook_id",
|
||||
"in": "path",
|
||||
@@ -514,13 +475,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks/42",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks/42</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks/42",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks/42</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('GET /admin/hooks/{hook_id}', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/hooks/{hook_id}'</span>, {\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'superpro'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('GET /admin/hooks/{hook_id}', {\n hook_id: 42\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/hooks/{hook_id}'</span>, {\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Get a global webhook",
|
||||
@@ -536,14 +497,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "superpro",
|
||||
"note": "The [Global Webhooks API](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```",
|
||||
"html": "<p>The <a href=\"https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks\">Global Webhooks API</a> is currently available for developers to preview. To access the API during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.superpro-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "global-webhooks"
|
||||
},
|
||||
@@ -569,17 +522,6 @@
|
||||
"requestPath": "/admin/hooks/{hook_id}",
|
||||
"serverUrl": "https://{hostname}/api/v3",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "accept",
|
||||
"description": "This API is under preview and subject to change.",
|
||||
"in": "header",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"default": "application/vnd.github.superpro-preview+json"
|
||||
},
|
||||
"required": true,
|
||||
"descriptionHTML": "<p>This API is under preview and subject to change.</p>"
|
||||
},
|
||||
{
|
||||
"name": "hook_id",
|
||||
"in": "path",
|
||||
@@ -593,13 +535,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'</code></pre>"
|
||||
"source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('PATCH /admin/hooks/{hook_id}', {\n hook_id: 42,\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n },\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PATCH /admin/hooks/{hook_id}'</span>, {\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">config</span>: {\n <span class=\"hljs-attr\">url</span>: <span class=\"hljs-string\">'url'</span>,\n <span class=\"hljs-attr\">content_type</span>: <span class=\"hljs-string\">'content_type'</span>,\n <span class=\"hljs-attr\">secret</span>: <span class=\"hljs-string\">'secret'</span>,\n <span class=\"hljs-attr\">insecure_ssl</span>: <span class=\"hljs-string\">'insecure_ssl'</span>\n },\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'superpro'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('PATCH /admin/hooks/{hook_id}', {\n hook_id: 42,\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PATCH /admin/hooks/{hook_id}'</span>, {\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">config</span>: {\n <span class=\"hljs-attr\">url</span>: <span class=\"hljs-string\">'url'</span>,\n <span class=\"hljs-attr\">content_type</span>: <span class=\"hljs-string\">'content_type'</span>,\n <span class=\"hljs-attr\">secret</span>: <span class=\"hljs-string\">'secret'</span>,\n <span class=\"hljs-attr\">insecure_ssl</span>: <span class=\"hljs-string\">'insecure_ssl'</span>\n }\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Update a global webhook",
|
||||
@@ -750,14 +692,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "superpro",
|
||||
"note": "The [Global Webhooks API](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```",
|
||||
"html": "<p>The <a href=\"https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks\">Global Webhooks API</a> is currently available for developers to preview. To access the API during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.superpro-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "global-webhooks"
|
||||
},
|
||||
@@ -925,13 +859,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks/42",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks/42</code></pre>"
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks/42",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks/42</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('DELETE /admin/hooks/{hook_id}', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'DELETE /admin/hooks/{hook_id}'</span>, {\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'superpro'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('DELETE /admin/hooks/{hook_id}', {\n hook_id: 42\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'DELETE /admin/hooks/{hook_id}'</span>, {\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Delete a global webhook",
|
||||
@@ -947,14 +881,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "superpro",
|
||||
"note": "The [Global Webhooks API](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```",
|
||||
"html": "<p>The <a href=\"https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks\">Global Webhooks API</a> is currently available for developers to preview. To access the API during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.superpro-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "global-webhooks"
|
||||
},
|
||||
@@ -1003,13 +929,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks/42/pings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n https://{hostname}/api/v3/admin/hooks/42/pings</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks/42/pings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/hooks/42/pings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /admin/hooks/{hook_id}/pings'</span>, {\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'superpro'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n hook_id: 42\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /admin/hooks/{hook_id}/pings'</span>, {\n <span class=\"hljs-attr\">hook_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Ping a global webhook",
|
||||
@@ -1025,14 +951,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "superpro",
|
||||
"note": "The [Global Webhooks API](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```",
|
||||
"html": "<p>The <a href=\"https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#global-webhooks\">Global Webhooks API</a> is currently available for developers to preview. To access the API during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.superpro-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "global-webhooks"
|
||||
},
|
||||
@@ -1506,13 +1424,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('GET /admin/pre-receive-environments', {\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/pre-receive-environments'</span>, {\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'eye-scream'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('GET /admin/pre-receive-environments')",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/pre-receive-environments'</span>)\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "List pre-receive environments",
|
||||
@@ -1528,14 +1446,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "eye-scream",
|
||||
"note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```",
|
||||
"html": "<p>APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.</p>\n<p>To access the API you must provide a custom <a href=\"/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.eye-scream-preview</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "pre-receive-environments"
|
||||
},
|
||||
@@ -1564,13 +1474,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('POST /admin/pre-receive-environments', {\n name: 'name',\n image_url: 'image_url',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /admin/pre-receive-environments'</span>, {\n <span class=\"hljs-attr\">name</span>: <span class=\"hljs-string\">'name'</span>,\n <span class=\"hljs-attr\">image_url</span>: <span class=\"hljs-string\">'image_url'</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'eye-scream'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('POST /admin/pre-receive-environments', {\n name: 'name',\n image_url: 'image_url'\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /admin/pre-receive-environments'</span>, {\n <span class=\"hljs-attr\">name</span>: <span class=\"hljs-string\">'name'</span>,\n <span class=\"hljs-attr\">image_url</span>: <span class=\"hljs-string\">'image_url'</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Create a pre-receive environment",
|
||||
@@ -1624,14 +1534,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "eye-scream",
|
||||
"note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```",
|
||||
"html": "<p>APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.</p>\n<p>To access the API you must provide a custom <a href=\"/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.eye-scream-preview</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "pre-receive-environments"
|
||||
},
|
||||
@@ -1690,13 +1592,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/pre-receive-environments/{pre_receive_environment_id}'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'eye-scream'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/pre-receive-environments/{pre_receive_environment_id}'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Get a pre-receive environment",
|
||||
@@ -1712,14 +1614,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "eye-scream",
|
||||
"note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```",
|
||||
"html": "<p>APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.</p>\n<p>To access the API you must provide a custom <a href=\"/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.eye-scream-preview</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "pre-receive-environments"
|
||||
},
|
||||
@@ -1758,13 +1652,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'</code></pre>"
|
||||
"source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PATCH /admin/pre-receive-environments/{pre_receive_environment_id}'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">name</span>: <span class=\"hljs-string\">'name'</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'eye-scream'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n name: 'name'\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PATCH /admin/pre-receive-environments/{pre_receive_environment_id}'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">name</span>: <span class=\"hljs-string\">'name'</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Update a pre-receive environment",
|
||||
@@ -1809,14 +1703,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "eye-scream",
|
||||
"note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```",
|
||||
"html": "<p>APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.</p>\n<p>To access the API you must provide a custom <a href=\"/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.eye-scream-preview</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "pre-receive-environments"
|
||||
},
|
||||
@@ -1881,13 +1767,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42</code></pre>"
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'DELETE /admin/pre-receive-environments/{pre_receive_environment_id}'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'eye-scream'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'DELETE /admin/pre-receive-environments/{pre_receive_environment_id}'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Delete a pre-receive environment",
|
||||
@@ -1903,14 +1789,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "eye-scream",
|
||||
"note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```",
|
||||
"html": "<p>APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.</p>\n<p>To access the API you must provide a custom <a href=\"/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.eye-scream-preview</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "pre-receive-environments"
|
||||
},
|
||||
@@ -1954,13 +1832,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42/downloads",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42/downloads</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42/downloads",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42/downloads</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'eye-scream'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n pre_receive_environment_id: 42\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Start a pre-receive environment download",
|
||||
@@ -1976,14 +1854,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "eye-scream",
|
||||
"note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```",
|
||||
"html": "<p>APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.</p>\n<p>To access the API you must provide a custom <a href=\"/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.eye-scream-preview</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "pre-receive-environments"
|
||||
},
|
||||
@@ -2028,13 +1898,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'eye-scream'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n pre_receive_environment_id: 42\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest'</span>, {\n <span class=\"hljs-attr\">pre_receive_environment_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Get the download status for a pre-receive environment",
|
||||
@@ -2050,14 +1920,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "eye-scream",
|
||||
"note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```",
|
||||
"html": "<p>APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.</p>\n<p>To access the API you must provide a custom <a href=\"/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.eye-scream-preview</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "enterprise-admin",
|
||||
"subcategory": "pre-receive-environments"
|
||||
},
|
||||
@@ -10886,14 +10748,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": false,
|
||||
"name": "mercy",
|
||||
"note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```",
|
||||
"html": "<p>The <code>topics</code> property for repositories on GitHub is currently available for developers to preview. To view the <code>topics</code> property in calls that return repository results, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.mercy-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "apps",
|
||||
"subcategory": "installations"
|
||||
},
|
||||
@@ -56859,13 +56713,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /repos/{owner}/{repo}/pages'</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\">source</span>: {\n <span class=\"hljs-attr\">branch</span>: <span class=\"hljs-string\">'branch'</span>,\n <span class=\"hljs-attr\">path</span>: <span class=\"hljs-string\">'path'</span>\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n },\n mediaType: {\n previews: [\n 'switcheroo'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'POST /repos/{owner}/{repo}/pages'</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\">source</span>: {\n <span class=\"hljs-attr\">branch</span>: <span class=\"hljs-string\">'branch'</span>,\n <span class=\"hljs-attr\">path</span>: <span class=\"hljs-string\">'path'</span>\n },\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'switcheroo'</span>\n ]\n }\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Create a GitHub AE Pages site",
|
||||
@@ -56973,7 +56827,15 @@
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"category": "repos",
|
||||
"subcategory": "pages"
|
||||
"subcategory": "pages",
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "switcheroo",
|
||||
"note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```",
|
||||
"html": "<p>Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the <a href=\"https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/\">blog post</a> preview for more details. To access the new endpoints during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.switcheroo-preview+json</code></pre>"
|
||||
}
|
||||
]
|
||||
},
|
||||
"slug": "create-a-github-ae-pages-site",
|
||||
"category": "repos",
|
||||
@@ -57356,13 +57218,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages</code></pre>"
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world'\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'DELETE /repos/{owner}/{repo}/pages'</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})\n</code></pre>"
|
||||
"source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'machine-man'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'DELETE /repos/{owner}/{repo}/pages'</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\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'machine-man'</span>\n ]\n }\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Delete a GitHub AE Pages site",
|
||||
@@ -57379,7 +57241,15 @@
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"category": "repos",
|
||||
"subcategory": "pages"
|
||||
"subcategory": "pages",
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "machine-man",
|
||||
"note": "To access the API with your GitHub App, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```",
|
||||
"html": "<p>To access the API with your GitHub App, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> Header for your requests. <code>shell application/vnd.github.machine-man-preview+json </code></p>"
|
||||
}
|
||||
]
|
||||
},
|
||||
"slug": "delete-a-github-ae-pages-site",
|
||||
"category": "repos",
|
||||
@@ -58489,14 +58359,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": false,
|
||||
"name": "comfort-fade",
|
||||
"note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.",
|
||||
"html": "<p>Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the <a href=\"https://developer.github.com/changes/2019-10-03-multi-line-comments\">blog post</a> for more information.</p>\n<p>To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.comfort-fade-preview+json</code></pre>\n<p>To show multi-line comment-supported fields in the response, use the <code>comfort-fade</code> preview header and the <code>line</code> parameter.</p>\n<p>If you use the <code>comfort-fade</code> preview header, your response will show:</p>\n<ul>\n<li>For multi-line comments, values for <code>start_line</code>, <code>original_start_line</code>, <code>start_side</code>, <code>line</code>, <code>original_line</code>, and <code>side</code>.</li>\n<li>For single-line comments, values for <code>line</code>, <code>original_line</code>, and <code>side</code> and a <code>null</code> value for <code>start_line</code>, <code>original_start_line</code>, and <code>start_side</code>.</li>\n</ul>\n<p>If you don't use the <code>comfort-fade</code> preview header, multi-line and single-line comments will appear the same way in the response with a single <code>position</code> attribute. Your response will show:</p>\n<ul>\n<li>For multi-line comments, the last line of the comment range for the <code>position</code> attribute.</li>\n<li>For single-line comments, the diff-positioned way of referencing comments for the <code>position</code> attribute.</li>\n</ul>"
|
||||
}
|
||||
],
|
||||
"category": "pulls",
|
||||
"subcategory": "comments"
|
||||
},
|
||||
@@ -58576,14 +58438,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": false,
|
||||
"name": "comfort-fade",
|
||||
"note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.",
|
||||
"html": "<p>Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the <a href=\"https://developer.github.com/changes/2019-10-03-multi-line-comments\">blog post</a> for more information.</p>\n<p>To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.comfort-fade-preview+json</code></pre>\n<p>To show multi-line comment-supported fields in the response, use the <code>comfort-fade</code> preview header and the <code>line</code> parameter.</p>\n<p>If you use the <code>comfort-fade</code> preview header, your response will show:</p>\n<ul>\n<li>For multi-line comments, values for <code>start_line</code>, <code>original_start_line</code>, <code>start_side</code>, <code>line</code>, <code>original_line</code>, and <code>side</code>.</li>\n<li>For single-line comments, values for <code>line</code>, <code>original_line</code>, and <code>side</code> and a <code>null</code> value for <code>start_line</code>, <code>original_start_line</code>, and <code>start_side</code>.</li>\n</ul>\n<p>If you don't use the <code>comfort-fade</code> preview header, multi-line and single-line comments will appear the same way in the response with a single <code>position</code> attribute. Your response will show:</p>\n<ul>\n<li>For multi-line comments, the last line of the comment range for the <code>position</code> attribute.</li>\n<li>For single-line comments, the diff-positioned way of referencing comments for the <code>position</code> attribute.</li>\n</ul>"
|
||||
}
|
||||
],
|
||||
"category": "pulls",
|
||||
"subcategory": "comments"
|
||||
},
|
||||
@@ -58695,14 +58549,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": false,
|
||||
"name": "comfort-fade",
|
||||
"note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.",
|
||||
"html": "<p>Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the <a href=\"https://developer.github.com/changes/2019-10-03-multi-line-comments\">blog post</a> for more information.</p>\n<p>To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.comfort-fade-preview+json</code></pre>\n<p>To show multi-line comment-supported fields in the response, use the <code>comfort-fade</code> preview header and the <code>line</code> parameter.</p>\n<p>If you use the <code>comfort-fade</code> preview header, your response will show:</p>\n<ul>\n<li>For multi-line comments, values for <code>start_line</code>, <code>original_start_line</code>, <code>start_side</code>, <code>line</code>, <code>original_line</code>, and <code>side</code>.</li>\n<li>For single-line comments, values for <code>line</code>, <code>original_line</code>, and <code>side</code> and a <code>null</code> value for <code>start_line</code>, <code>original_start_line</code>, and <code>start_side</code>.</li>\n</ul>\n<p>If you don't use the <code>comfort-fade</code> preview header, multi-line and single-line comments will appear the same way in the response with a single <code>position</code> attribute. Your response will show:</p>\n<ul>\n<li>For multi-line comments, the last line of the comment range for the <code>position</code> attribute.</li>\n<li>For single-line comments, the diff-positioned way of referencing comments for the <code>position</code> attribute.</li>\n</ul>"
|
||||
}
|
||||
],
|
||||
"category": "pulls",
|
||||
"subcategory": "comments"
|
||||
},
|
||||
@@ -59583,14 +59429,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": false,
|
||||
"name": "comfort-fade",
|
||||
"note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.",
|
||||
"html": "<p>Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the <a href=\"https://developer.github.com/changes/2019-10-03-multi-line-comments\">blog post</a> for more information.</p>\n<p>To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.comfort-fade-preview+json</code></pre>\n<p>To show multi-line comment-supported fields in the response, use the <code>comfort-fade</code> preview header and the <code>line</code> parameter.</p>\n<p>If you use the <code>comfort-fade</code> preview header, your response will show:</p>\n<ul>\n<li>For multi-line comments, values for <code>start_line</code>, <code>original_start_line</code>, <code>start_side</code>, <code>line</code>, <code>original_line</code>, and <code>side</code>.</li>\n<li>For single-line comments, values for <code>line</code>, <code>original_line</code>, and <code>side</code> and a <code>null</code> value for <code>start_line</code>, <code>original_start_line</code>, and <code>start_side</code>.</li>\n</ul>\n<p>If you don't use the <code>comfort-fade</code> preview header, multi-line and single-line comments will appear the same way in the response with a single <code>position</code> attribute. Your response will show:</p>\n<ul>\n<li>For multi-line comments, the last line of the comment range for the <code>position</code> attribute.</li>\n<li>For single-line comments, the diff-positioned way of referencing comments for the <code>position</code> attribute.</li>\n</ul>"
|
||||
}
|
||||
],
|
||||
"category": "pulls",
|
||||
"subcategory": "comments"
|
||||
},
|
||||
@@ -59657,7 +59495,7 @@
|
||||
}
|
||||
],
|
||||
"summary": "Create a review comment for a pull request",
|
||||
"description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
|
||||
"description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
|
||||
"tags": [
|
||||
"pulls"
|
||||
],
|
||||
@@ -59702,16 +59540,16 @@
|
||||
},
|
||||
"position": {
|
||||
"type": "integer",
|
||||
"description": "<p><strong>Required without <code>comfort-fade</code> preview</strong>. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.</p>",
|
||||
"description": "<p>The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.</p>",
|
||||
"name": "position",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "**Required without `comfort-fade` preview**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.",
|
||||
"rawDescription": "The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"side": {
|
||||
"type": "string",
|
||||
"description": "<p><strong>Required with <code>comfort-fade</code> preview</strong>. In a split diff view, the side of the diff that the pull request's changes appear on. Can be <code>LEFT</code> or <code>RIGHT</code>. Use <code>LEFT</code> for deletions that appear in red. Use <code>RIGHT</code> for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"<a href=\"https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options\">Diff view options</a>\" in the GitHub Help documentation.</p>",
|
||||
"description": "<p>In a split diff view, the side of the diff that the pull request's changes appear on. Can be <code>LEFT</code> or <code>RIGHT</code>. Use <code>LEFT</code> for deletions that appear in red. Use <code>RIGHT</code> for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"<a href=\"https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options\">Diff view options</a>\" in the GitHub Help documentation.</p>",
|
||||
"enum": [
|
||||
"LEFT",
|
||||
"RIGHT"
|
||||
@@ -59719,30 +59557,30 @@
|
||||
"name": "side",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
"rawDescription": "**Required with `comfort-fade` preview**. In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.",
|
||||
"rawDescription": "In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"line": {
|
||||
"type": "integer",
|
||||
"description": "<p><strong>Required with <code>comfort-fade</code> preview</strong>. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.</p>",
|
||||
"description": "<p>The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.</p>",
|
||||
"name": "line",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "**Required with `comfort-fade` preview**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.",
|
||||
"rawDescription": "The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"start_line": {
|
||||
"type": "integer",
|
||||
"description": "<p><strong>Required when using multi-line comments</strong>. To create multi-line comments, you must use the <code>comfort-fade</code> preview header. The <code>start_line</code> is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"<a href=\"https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request\">Commenting on a pull request</a>\" in the GitHub Help documentation.</p>",
|
||||
"description": "<p><strong>Required when using multi-line comments</strong>. The <code>start_line</code> is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"<a href=\"https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request\">Commenting on a pull request</a>\" in the GitHub Help documentation.</p>",
|
||||
"name": "start_line",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "**Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation.",
|
||||
"rawDescription": "**Required when using multi-line comments**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"start_side": {
|
||||
"type": "string",
|
||||
"description": "<p><strong>Required when using multi-line comments</strong>. To create multi-line comments, you must use the <code>comfort-fade</code> preview header. The <code>start_side</code> is the starting side of the diff that the comment applies to. Can be <code>LEFT</code> or <code>RIGHT</code>. To learn more about multi-line comments, see \"<a href=\"https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request\">Commenting on a pull request</a>\" in the GitHub Help documentation. See <code>side</code> in this table for additional context.</p>",
|
||||
"description": "<p><strong>Required when using multi-line comments</strong>. The <code>start_side</code> is the starting side of the diff that the comment applies to. Can be <code>LEFT</code> or <code>RIGHT</code>. To learn more about multi-line comments, see \"<a href=\"https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request\">Commenting on a pull request</a>\" in the GitHub Help documentation. See <code>side</code> in this table for additional context.</p>",
|
||||
"enum": [
|
||||
"LEFT",
|
||||
"RIGHT",
|
||||
@@ -59751,7 +59589,7 @@
|
||||
"name": "start_side",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
"rawDescription": "**Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.",
|
||||
"rawDescription": "**Required when using multi-line comments**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"in_reply_to": {
|
||||
@@ -59799,14 +59637,6 @@
|
||||
"triggersNotification": true,
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": false,
|
||||
"name": "comfort-fade",
|
||||
"note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.",
|
||||
"html": "<p>Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the <a href=\"https://developer.github.com/changes/2019-10-03-multi-line-comments\">blog post</a> for more information.</p>\n<p>To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.comfort-fade-preview+json</code></pre>\n<p>To show multi-line comment-supported fields in the response, use the <code>comfort-fade</code> preview header and the <code>line</code> parameter.</p>\n<p>If you use the <code>comfort-fade</code> preview header, your response will show:</p>\n<ul>\n<li>For multi-line comments, values for <code>start_line</code>, <code>original_start_line</code>, <code>start_side</code>, <code>line</code>, <code>original_line</code>, and <code>side</code>.</li>\n<li>For single-line comments, values for <code>line</code>, <code>original_line</code>, and <code>side</code> and a <code>null</code> value for <code>start_line</code>, <code>original_start_line</code>, and <code>start_side</code>.</li>\n</ul>\n<p>If you don't use the <code>comfort-fade</code> preview header, multi-line and single-line comments will appear the same way in the response with a single <code>position</code> attribute. Your response will show:</p>\n<ul>\n<li>For multi-line comments, the last line of the comment range for the <code>position</code> attribute.</li>\n<li>For single-line comments, the diff-positioned way of referencing comments for the <code>position</code> attribute.</li>\n</ul>"
|
||||
}
|
||||
],
|
||||
"category": "pulls",
|
||||
"subcategory": "comments"
|
||||
},
|
||||
@@ -59817,7 +59647,7 @@
|
||||
"subcategoryLabel": "Comments",
|
||||
"contentType": "application/json",
|
||||
"notes": [],
|
||||
"descriptionHTML": "<p>Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"<a href=\"https://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment\">Create an issue comment</a>.\" We recommend creating a review comment using <code>line</code>, <code>side</code>, and optionally <code>start_line</code> and <code>start_side</code> if your comment applies to more than one line in the pull request diff.</p>\n<p>You can still create a review comment using the <code>position</code> parameter. When you use <code>position</code>, the <code>line</code>, <code>side</code>, <code>start_line</code>, and <code>start_side</code> parameters are not required. For more information, see the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices\"><code>comfort-fade</code> preview notice</a>.</p>\n<p><strong>Note:</strong> The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.</p>\n<p>This endpoint triggers <a href=\"https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications\">notifications</a>. Creating content too quickly using this endpoint may result in secondary rate limiting. See \"<a href=\"https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits\">Secondary rate limits</a>\" and \"<a href=\"https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits\">Dealing with secondary rate limits</a>\" for details.</p>",
|
||||
"descriptionHTML": "<p>Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"<a href=\"https://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment\">Create an issue comment</a>.\" We recommend creating a review comment using <code>line</code>, <code>side</code>, and optionally <code>start_line</code> and <code>start_side</code> if your comment applies to more than one line in the pull request diff.</p>\n<p>You can still create a review comment using the <code>position</code> parameter. When you use <code>position</code>, the <code>line</code>, <code>side</code>, <code>start_line</code>, and <code>start_side</code> parameters are not required.</p>\n<p><strong>Note:</strong> The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.</p>\n<p>This endpoint triggers <a href=\"https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications\">notifications</a>. Creating content too quickly using this endpoint may result in secondary rate limiting. See \"<a href=\"https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits\">Secondary rate limits</a>\" and \"<a href=\"https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits\">Dealing with secondary rate limits</a>\" for details.</p>",
|
||||
"bodyParameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -59848,16 +59678,16 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p><strong>Required without <code>comfort-fade</code> preview</strong>. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.</p>",
|
||||
"description": "<p>The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.</p>",
|
||||
"name": "position",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "**Required without `comfort-fade` preview**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.",
|
||||
"rawDescription": "The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p><strong>Required with <code>comfort-fade</code> preview</strong>. In a split diff view, the side of the diff that the pull request's changes appear on. Can be <code>LEFT</code> or <code>RIGHT</code>. Use <code>LEFT</code> for deletions that appear in red. Use <code>RIGHT</code> for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"<a href=\"https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options\">Diff view options</a>\" in the GitHub Help documentation.</p>",
|
||||
"description": "<p>In a split diff view, the side of the diff that the pull request's changes appear on. Can be <code>LEFT</code> or <code>RIGHT</code>. Use <code>LEFT</code> for deletions that appear in red. Use <code>RIGHT</code> for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"<a href=\"https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options\">Diff view options</a>\" in the GitHub Help documentation.</p>",
|
||||
"enum": [
|
||||
"LEFT",
|
||||
"RIGHT"
|
||||
@@ -59865,30 +59695,30 @@
|
||||
"name": "side",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
"rawDescription": "**Required with `comfort-fade` preview**. In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.",
|
||||
"rawDescription": "In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p><strong>Required with <code>comfort-fade</code> preview</strong>. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.</p>",
|
||||
"description": "<p>The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.</p>",
|
||||
"name": "line",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "**Required with `comfort-fade` preview**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.",
|
||||
"rawDescription": "The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p><strong>Required when using multi-line comments</strong>. To create multi-line comments, you must use the <code>comfort-fade</code> preview header. The <code>start_line</code> is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"<a href=\"https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request\">Commenting on a pull request</a>\" in the GitHub Help documentation.</p>",
|
||||
"description": "<p><strong>Required when using multi-line comments</strong>. The <code>start_line</code> is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"<a href=\"https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request\">Commenting on a pull request</a>\" in the GitHub Help documentation.</p>",
|
||||
"name": "start_line",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "**Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation.",
|
||||
"rawDescription": "**Required when using multi-line comments**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p><strong>Required when using multi-line comments</strong>. To create multi-line comments, you must use the <code>comfort-fade</code> preview header. The <code>start_side</code> is the starting side of the diff that the comment applies to. Can be <code>LEFT</code> or <code>RIGHT</code>. To learn more about multi-line comments, see \"<a href=\"https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request\">Commenting on a pull request</a>\" in the GitHub Help documentation. See <code>side</code> in this table for additional context.</p>",
|
||||
"description": "<p><strong>Required when using multi-line comments</strong>. The <code>start_side</code> is the starting side of the diff that the comment applies to. Can be <code>LEFT</code> or <code>RIGHT</code>. To learn more about multi-line comments, see \"<a href=\"https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request\">Commenting on a pull request</a>\" in the GitHub Help documentation. See <code>side</code> in this table for additional context.</p>",
|
||||
"enum": [
|
||||
"LEFT",
|
||||
"RIGHT",
|
||||
@@ -59897,7 +59727,7 @@
|
||||
"name": "start_side",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
"rawDescription": "**Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.",
|
||||
"rawDescription": "**Required when using multi-line comments**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
@@ -65862,13 +65692,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/topics",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/topics</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/topics",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/topics</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('GET /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/topics'</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\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'mercy'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('GET /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world'\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/topics'</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})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Get all repository topics",
|
||||
@@ -65884,14 +65714,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "mercy",
|
||||
"note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```",
|
||||
"html": "<p>The <code>topics</code> property for repositories on GitHub is currently available for developers to preview. To view the <code>topics</code> property in calls that return repository results, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.mercy-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "repos",
|
||||
"subcategory": null
|
||||
},
|
||||
@@ -65912,11 +65734,6 @@
|
||||
"httpStatusCode": "404",
|
||||
"httpStatusMessage": "Not Found",
|
||||
"description": "Resource not found"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "415",
|
||||
"httpStatusMessage": "Unsupported Media Type",
|
||||
"description": "Preview header missing"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -65947,13 +65764,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'</code></pre>"
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n names: [\n 'names'\n ],\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PUT /repos/{owner}/{repo}/topics'</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\">names</span>: [\n <span class=\"hljs-string\">'names'</span>\n ],\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'mercy'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n names: [\n 'names'\n ]\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PUT /repos/{owner}/{repo}/topics'</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\">names</span>: [\n <span class=\"hljs-string\">'names'</span>\n ]\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Replace all repository topics",
|
||||
@@ -66004,14 +65821,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "mercy",
|
||||
"note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```",
|
||||
"html": "<p>The <code>topics</code> property for repositories on GitHub is currently available for developers to preview. To view the <code>topics</code> property in calls that return repository results, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.mercy-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "repos",
|
||||
"subcategory": null
|
||||
},
|
||||
@@ -66047,11 +65856,6 @@
|
||||
"httpStatusMessage": "Not Found",
|
||||
"description": "Resource not found"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "415",
|
||||
"httpStatusMessage": "Unsupported Media Type",
|
||||
"description": "Preview header missing"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "422",
|
||||
"httpStatusMessage": "Unprocessable Entity",
|
||||
@@ -68098,7 +67902,7 @@
|
||||
}
|
||||
],
|
||||
"summary": "Search repositories",
|
||||
"description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`",
|
||||
"description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.",
|
||||
"tags": [
|
||||
"search"
|
||||
],
|
||||
@@ -68110,14 +67914,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": false,
|
||||
"name": "mercy",
|
||||
"note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```",
|
||||
"html": "<p>The <code>topics</code> property for repositories on GitHub is currently available for developers to preview. To view the <code>topics</code> property in calls that return repository results, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.mercy-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "search",
|
||||
"subcategory": null
|
||||
},
|
||||
@@ -68126,7 +67922,7 @@
|
||||
"categoryLabel": "Search",
|
||||
"notes": [],
|
||||
"bodyParameters": [],
|
||||
"descriptionHTML": "<p>Find repositories via various criteria. This method returns up to 100 results <a href=\"https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination\">per page</a>.</p>\n<p>When searching for repositories, you can get text match metadata for the <strong>name</strong> and <strong>description</strong> fields when you pass the <code>text-match</code> media type. For more details about how to receive highlighted search results, see <a href=\"https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata\">Text match metadata</a>.</p>\n<p>For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:</p>\n<p><code>q=tetris+language:assembly&sort=stars&order=desc</code></p>\n<p>This query searches for repositories with the word <code>tetris</code> in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.</p>\n<p>When you include the <code>mercy</code> preview header, you can also search for multiple topics by adding more <code>topic:</code> instances. For example, your query might look like this:</p>\n<p><code>q=topic:ruby+topic:rails</code></p>",
|
||||
"descriptionHTML": "<p>Find repositories via various criteria. This method returns up to 100 results <a href=\"https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination\">per page</a>.</p>\n<p>When searching for repositories, you can get text match metadata for the <strong>name</strong> and <strong>description</strong> fields when you pass the <code>text-match</code> media type. For more details about how to receive highlighted search results, see <a href=\"https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata\">Text match metadata</a>.</p>\n<p>For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:</p>\n<p><code>q=tetris+language:assembly&sort=stars&order=desc</code></p>\n<p>This query searches for repositories with the word <code>tetris</code> in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.</p>",
|
||||
"responses": [
|
||||
{
|
||||
"httpStatusCode": "200",
|
||||
@@ -68190,13 +67986,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://{hostname}/api/v3/search/topics",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n https://{hostname}/api/v3/search/topics</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/search/topics",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/search/topics</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('GET /search/topics', {\n q: 'q',\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /search/topics'</span>, {\n <span class=\"hljs-attr\">q</span>: <span class=\"hljs-string\">'q'</span>,\n <span class=\"hljs-attr\">mediaType</span>: {\n <span class=\"hljs-attr\">previews</span>: [\n <span class=\"hljs-string\">'mercy'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('GET /search/topics', {\n q: 'q'\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /search/topics'</span>, {\n <span class=\"hljs-attr\">q</span>: <span class=\"hljs-string\">'q'</span>\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Search topics",
|
||||
@@ -68212,14 +68008,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"previews": [
|
||||
{
|
||||
"required": true,
|
||||
"name": "mercy",
|
||||
"note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```",
|
||||
"html": "<p>The <code>topics</code> property for repositories on GitHub is currently available for developers to preview. To view the <code>topics</code> property in calls that return repository results, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.mercy-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "search",
|
||||
"subcategory": null
|
||||
},
|
||||
@@ -68240,11 +68028,6 @@
|
||||
"httpStatusCode": "304",
|
||||
"httpStatusMessage": "Not Modified",
|
||||
"description": "Not modified"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "415",
|
||||
"httpStatusMessage": "Unsupported Media Type",
|
||||
"description": "Preview header missing"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -72941,14 +72724,6 @@
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": false,
|
||||
"previews": [
|
||||
{
|
||||
"required": false,
|
||||
"name": "mercy",
|
||||
"note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```",
|
||||
"html": "<p>The <code>topics</code> property for repositories on GitHub is currently available for developers to preview. To view the <code>topics</code> property in calls that return repository results, you must provide a custom <a href=\"https://docs.github.com/github-ae@latest/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.mercy-preview+json</code></pre>"
|
||||
}
|
||||
],
|
||||
"category": "apps",
|
||||
"subcategory": "installations"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user