Skip to content

Commit

Permalink
Merge pull request #32172 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Mar 21, 2024
2 parents 9966317 + 7f3acac commit dc79961
Show file tree
Hide file tree
Showing 17 changed files with 378 additions and 164 deletions.
2 changes: 1 addition & 1 deletion src/github-apps/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
"2022-11-28"
]
},
"sha": "4cfaefc2ae8c42bcd8b7965662a84e310352f43b"
"sha": "10c8ba497fab24f023e305f3ccb4bd46cd8adc84"
}
111 changes: 95 additions & 16 deletions src/rest/data/fpt-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -356403,8 +356403,8 @@
}
}
],
"descriptionHTML": "",
"previews": [],
"descriptionHTML": "<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -356674,7 +356674,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Here's how you can create a hook that posts payloads in JSON format:</p>",
"descriptionHTML": "<p>Create a hook that posts payloads in JSON format.</p>\n<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or\nedit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "201",
Expand Down Expand Up @@ -356881,7 +356881,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Returns a webhook configured in an organization. To get only the webhook <code>config</code> properties, see \"<a href=\"/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization\">Get a webhook configuration for an organization</a>.\"</p>",
"descriptionHTML": "<p>Returns a webhook configured in an organization. To get only the webhook\n<code>config</code> properties, see \"<a href=\"/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization\">Get a webhook configuration for an organization</a>.</p>\n<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -357142,7 +357142,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Updates a webhook configured in an organization. When you update a webhook, the <code>secret</code> will be overwritten. If you previously had a <code>secret</code> set, you must provide the same <code>secret</code> or set a new <code>secret</code> or the secret will be removed. If you are only updating individual webhook <code>config</code> properties, use \"<a href=\"/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization\">Update a webhook configuration for an organization</a>.\"</p>",
"descriptionHTML": "<p>Updates a webhook configured in an organization. When you update a webhook,\nthe <code>secret</code> will be overwritten. If you previously had a <code>secret</code> set, you must\nprovide the same <code>secret</code> or set a new <code>secret</code> or the secret will be removed. If\nyou are only updating individual webhook <code>config</code> properties, use \"<a href=\"/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization\">Update a webhook\nconfiguration for an organization</a>\".</p>\n<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -357214,8 +357214,8 @@
}
}
],
"descriptionHTML": "",
"previews": [],
"descriptionHTML": "<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -357334,7 +357334,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Returns the webhook configuration for an organization. To get more information about the webhook, including the <code>active</code> state and <code>events</code>, use \"<a href=\"/rest/orgs/webhooks#get-an-organization-webhook\">Get an organization webhook </a>.\"</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>admin:org_hook</code> scope to use this endpoint.</p>",
"descriptionHTML": "<p>Returns the webhook configuration for an organization. To get more information about the webhook, including the <code>active</code> state and <code>events</code>, use \"<a href=\"/rest/orgs/webhooks#get-an-organization-webhook\">Get an organization webhook </a>.\"</p>\n<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -357481,7 +357481,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Updates the webhook configuration for an organization. To update more information about the webhook, including the <code>active</code> state and <code>events</code>, use \"<a href=\"/rest/orgs/webhooks#update-an-organization-webhook\">Update an organization webhook </a>.\"</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>admin:org_hook</code> scope to use this endpoint.</p>",
"descriptionHTML": "<p>Updates the webhook configuration for an organization. To update more information about the webhook, including the <code>active</code> state and <code>events</code>, use \"<a href=\"/rest/orgs/webhooks#update-an-organization-webhook\">Update an organization webhook </a>.\"</p>\n<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -357712,7 +357712,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Returns a list of webhook deliveries for a webhook configured in an organization.</p>",
"descriptionHTML": "<p>Returns a list of webhook deliveries for a webhook configured in an organization.</p>\n<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -358005,7 +358005,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Returns a delivery for a webhook configured in an organization.</p>",
"descriptionHTML": "<p>Returns a delivery for a webhook configured in an organization.</p>\n<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -358093,7 +358093,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Redeliver a delivery for a webhook configured in an organization.</p>",
"descriptionHTML": "<p>Redeliver a delivery for a webhook configured in an organization.</p>\n<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "202",
Expand Down Expand Up @@ -358166,7 +358166,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>This will trigger a <a href=\"https://docs.github.com/webhooks/#ping-event\">ping event</a> to be sent to the hook.</p>",
"descriptionHTML": "<p>This will trigger a <a href=\"https://docs.github.com/webhooks/#ping-event\">ping event</a>\nto be sent to the hook.</p>\n<p>You must be an organization owner to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need <code>admin:org_hook</code> scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -495776,6 +495776,20 @@
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
}
},
{
"type": "wiki_commit",
"details": {
"path": "/example/Home.md",
"start_line": 1,
"end_line": 1,
"start_column": 1,
"end_column": 64,
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
"page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5",
"commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5",
"commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
}
},
{
"type": "issue_title",
"details": {
Expand Down Expand Up @@ -495853,6 +495867,7 @@
"type": "string",
"enum": [
"commit",
"wiki_commit",
"issue_title",
"issue_body",
"issue_comment",
Expand Down Expand Up @@ -495934,6 +495949,74 @@
"commit_url"
]
},
{
"description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.",
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The file path of the wiki page",
"examples": [
"/example/Home.md"
]
},
"start_line": {
"type": "number",
"description": "Line number at which the secret starts in the file"
},
"end_line": {
"type": "number",
"description": "Line number at which the secret ends in the file"
},
"start_column": {
"type": "number",
"description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII."
},
"end_column": {
"type": "number",
"description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII."
},
"blob_sha": {
"type": "string",
"description": "SHA-1 hash ID of the associated blob",
"examples": [
"af5626b4a114abcb82d63db7c8082c3c4756e51b"
]
},
"page_url": {
"type": "string",
"description": "The GitHub URL to get the associated wiki page",
"examples": [
"https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
]
},
"commit_sha": {
"type": "string",
"description": "SHA-1 hash ID of the associated commit",
"examples": [
"302c0b7e200761c9dd9b57e57db540ee0b4293a5"
]
},
"commit_url": {
"type": "string",
"description": "The GitHub URL to get the associated wiki commit",
"examples": [
"https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
]
}
},
"required": [
"path",
"start_line",
"end_line",
"start_column",
"end_column",
"blob_sha",
"page_url",
"commit_sha",
"commit_url"
]
},
{
"description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.",
"type": "object",
Expand Down Expand Up @@ -496123,11 +496206,7 @@
}
]
}
},
"required": [
"type",
"details"
]
}
}
}
}
Expand Down
Loading

0 comments on commit dc79961

Please sign in to comment.