1
0
mirror of synced 2026-01-08 21:02:10 -05:00

Merge pull request #10251 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2021-09-23 02:28:06 -04:00
committed by GitHub
11 changed files with 352 additions and 57 deletions

View File

@@ -78011,13 +78011,13 @@
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts</code></pre>"
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /repos/{owner}/{repo}/vulnerability-alerts', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'dorian'\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}/vulnerability-alerts'</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\">'dorian'</span>\n ]\n }\n})\n</code></pre>"
"source": "await octokit.request('GET /repos/{owner}/{repo}/vulnerability-alerts', {\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}/vulnerability-alerts'</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": "Check if vulnerability alerts are enabled for a repository",
@@ -78033,14 +78033,6 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": false,
"previews": [
{
"required": true,
"name": "dorian",
"note": "Enabling and disabling dependency alerts for a repository using the REST API is currently available for developers to preview. To access these new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.dorian-preview+json\n```",
"html": "<p>Enabling and disabling dependency alerts for a repository using the REST API is currently available for developers to preview. To access these new endpoints during the preview period, you must provide a custom <a href=\"https://docs.github.com/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.dorian-preview+json</code></pre>"
}
],
"category": "repos",
"subcategory": null
},
@@ -78090,13 +78082,13 @@
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts</code></pre>"
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('PUT /repos/{owner}/{repo}/vulnerability-alerts', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'dorian'\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}/vulnerability-alerts'</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\">'dorian'</span>\n ]\n }\n})\n</code></pre>"
"source": "await octokit.request('PUT /repos/{owner}/{repo}/vulnerability-alerts', {\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\">'PUT /repos/{owner}/{repo}/vulnerability-alerts'</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": "Enable vulnerability alerts",
@@ -78112,14 +78104,6 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [
{
"required": true,
"name": "dorian",
"note": "Enabling and disabling dependency alerts for a repository using the REST API is currently available for developers to preview. To access these new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.dorian-preview+json\n```",
"html": "<p>Enabling and disabling dependency alerts for a repository using the REST API is currently available for developers to preview. To access these new endpoints during the preview period, you must provide a custom <a href=\"https://docs.github.com/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.dorian-preview+json</code></pre>"
}
],
"category": "repos",
"subcategory": null
},
@@ -78164,13 +78148,13 @@
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.dorian-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts</code></pre>"
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/vulnerability-alerts</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('DELETE /repos/{owner}/{repo}/vulnerability-alerts', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'dorian'\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}/vulnerability-alerts'</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\">'dorian'</span>\n ]\n }\n})\n</code></pre>"
"source": "await octokit.request('DELETE /repos/{owner}/{repo}/vulnerability-alerts', {\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}/vulnerability-alerts'</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": "Disable vulnerability alerts",
@@ -78186,14 +78170,6 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [
{
"required": true,
"name": "dorian",
"note": "Enabling and disabling dependency alerts for a repository using the REST API is currently available for developers to preview. To access these new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.dorian-preview+json\n```",
"html": "<p>Enabling and disabling dependency alerts for a repository using the REST API is currently available for developers to preview. To access these new endpoints during the preview period, you must provide a custom <a href=\"https://docs.github.com/rest/overview/media-types\">media type</a> in the <code>Accept</code> header:</p>\n<pre><code class=\"hljs language-shell\">application/vnd.github.dorian-preview+json</code></pre>"
}
],
"category": "repos",
"subcategory": null
},

View File

@@ -284940,6 +284940,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -285204,6 +285221,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -334224,13 +334258,6 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": false,
"previews": [
{
"required": true,
"name": "dorian",
"note": "Enabling and disabling dependency alerts for a repository using the REST API is currently available for developers to preview. To access these new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.dorian-preview+json\n```"
}
],
"category": "repos",
"subcategory": null
}
@@ -334272,13 +334299,6 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [
{
"required": true,
"name": "dorian",
"note": "Enabling and disabling dependency alerts for a repository using the REST API is currently available for developers to preview. To access these new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.dorian-preview+json\n```"
}
],
"category": "repos",
"subcategory": null
}
@@ -334320,13 +334340,6 @@
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [
{
"required": true,
"name": "dorian",
"note": "Enabling and disabling dependency alerts for a repository using the REST API is currently available for developers to preview. To access these new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.dorian-preview+json\n```"
}
],
"category": "repos",
"subcategory": null
}

View File

@@ -202062,6 +202062,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -202330,6 +202347,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",

View File

@@ -205735,6 +205735,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -206003,6 +206020,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",

View File

@@ -208194,6 +208194,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -208462,6 +208479,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",

View File

@@ -220633,6 +220633,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -220901,6 +220918,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",

View File

@@ -252436,6 +252436,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -252700,6 +252717,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",

View File

@@ -259268,6 +259268,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -259532,6 +259549,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",

View File

@@ -262240,6 +262240,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -262504,6 +262521,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",

View File

@@ -269061,6 +269061,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -269325,6 +269342,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",

View File

@@ -233271,6 +233271,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",
@@ -233535,6 +233552,23 @@
"type": "string",
"nullable": true
},
"protected_domain_state": {
"type": "string",
"description": "The state if the domain is protected",
"example": "pending",
"nullable": true,
"enum": [
"pending",
"verified",
"unverified"
]
},
"pending_domain_unverified_at": {
"type": "string",
"description": "The timestamp when a pending domain becomes unverified.",
"nullable": true,
"format": "date-time"
},
"custom_404": {
"type": "boolean",
"description": "Whether the Page has a custom 404 page.",