Skip to content

Commit 2bf617c

Browse files
docs-botsunbrye
andauthored
Update OpenAPI Description (#56005)
Co-authored-by: Sunbrye Ly <[email protected]>
1 parent f230c8e commit 2bf617c

File tree

6 files changed

+99
-99
lines changed

6 files changed

+99
-99
lines changed

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "23d16a0c0808c8241b1076d63e8d3f2e75cb6632"
63+
"sha": "7fa9b34e16fec58ad8d856fb0c84488e53574beb"
6464
}

src/rest/data/fpt-2022-11-28/schema.json

Lines changed: 72 additions & 72 deletions
Large diffs are not rendered by default.

src/rest/data/ghec-2022-11-28/schema.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12989,13 +12989,13 @@
1298912989
}
1299012990
],
1299112991
"previews": [],
12992-
"descriptionHTML": "<p>Gets a single environment secret without revealing its encrypted value.</p>\n<p>Authenticated users must have collaborator access to a repository to create, update, or read secrets.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>",
1299312992
"statusCodes": [
1299412993
{
1299512994
"httpStatusCode": "200",
1299612995
"description": "<p>OK</p>"
1299712996
}
12998-
]
12997+
],
12998+
"descriptionHTML": "<p>Gets a single environment secret without revealing its encrypted value.</p>\n<p>Authenticated users must have collaborator access to a repository to create, update, or read secrets.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>"
1299912999
},
1300013000
{
1300113001
"serverUrl": "https://api.github.com",
@@ -13212,13 +13212,13 @@
1321213212
}
1321313213
],
1321413214
"previews": [],
13215-
"descriptionHTML": "<p>Deletes a secret in an environment using the secret name.</p>\n<p>Authenticated users must have collaborator access to a repository to create, update, or read secrets.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>",
1321613215
"statusCodes": [
1321713216
{
1321813217
"httpStatusCode": "204",
1321913218
"description": "<p>Default response</p>"
1322013219
}
13221-
]
13220+
],
13221+
"descriptionHTML": "<p>Deletes a secret in an environment using the secret name.</p>\n<p>Authenticated users must have collaborator access to a repository to create, update, or read secrets.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>"
1322213222
}
1322313223
],
1322413224
"self-hosted-runner-groups": [
@@ -230076,7 +230076,6 @@
230076230076
}
230077230077
],
230078230078
"previews": [],
230079-
"descriptionHTML": "<p>Select the repositories that will use a user's development environment secret.</p>\n<p>The authenticated user must have Codespaces access to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>codespace</code> or <code>codespace:secrets</code> scope to use this endpoint.</p>",
230080230079
"statusCodes": [
230081230080
{
230082230081
"httpStatusCode": "204",
@@ -230098,7 +230097,8 @@
230098230097
"httpStatusCode": "500",
230099230098
"description": "<p>Internal Error</p>"
230100230099
}
230101-
]
230100+
],
230101+
"descriptionHTML": "<p>Select the repositories that will use a user's development environment secret.</p>\n<p>The authenticated user must have Codespaces access to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>codespace</code> or <code>codespace:secrets</code> scope to use this endpoint.</p>"
230102230102
},
230103230103
{
230104230104
"serverUrl": "https://api.github.com",
@@ -272545,13 +272545,13 @@
272545272545
}
272546272546
],
272547272547
"previews": [],
272548-
"descriptionHTML": "<p>Updates a deployment branch or tag policy for an environment.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>",
272549272548
"statusCodes": [
272550272549
{
272551272550
"httpStatusCode": "200",
272552272551
"description": "<p>OK</p>"
272553272552
}
272554-
]
272553+
],
272554+
"descriptionHTML": "<p>Updates a deployment branch or tag policy for an environment.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>"
272555272555
},
272556272556
{
272557272557
"serverUrl": "https://api.github.com",
@@ -317125,13 +317125,13 @@
317125317125
}
317126317126
],
317127317127
"previews": [],
317128-
"descriptionHTML": "<p>Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.</p>",
317129317128
"statusCodes": [
317130317129
{
317131317130
"httpStatusCode": "204",
317132317131
"description": "<p>No Content</p>"
317133317132
}
317134-
]
317133+
],
317134+
"descriptionHTML": "<p>Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.</p>"
317135317135
}
317136317136
],
317137317137
"repos": [
@@ -526760,13 +526760,13 @@
526760526760
}
526761526761
],
526762526762
"previews": [],
526763-
"descriptionHTML": "<div class=\"ghd-alert ghd-alert-accent\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\nYou can also specify a repository by <code>repository_id</code> using the route <code>DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id</code>.</p>\n</div>\n<p>Delete a reaction to an <a href=\"https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue\">issue</a>.</p>",
526764526763
"statusCodes": [
526765526764
{
526766526765
"httpStatusCode": "204",
526767526766
"description": "<p>No Content</p>"
526768526767
}
526769-
]
526768+
],
526769+
"descriptionHTML": "<div class=\"ghd-alert ghd-alert-accent\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\nYou can also specify a repository by <code>repository_id</code> using the route <code>DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id</code>.</p>\n</div>\n<p>Delete a reaction to an <a href=\"https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue\">issue</a>.</p>"
526770526770
},
526771526771
{
526772526772
"serverUrl": "https://api.github.com",
@@ -662813,13 +662813,13 @@
662813662813
}
662814662814
],
662815662815
"previews": [],
662816-
"descriptionHTML": "<p>List IdP groups connected to a team on GitHub Enterprise Cloud.</p>\n<p>Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see <a href=\"https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products\">GitHub's products</a> in the GitHub Help documentation.</p>\n<div class=\"ghd-alert ghd-alert-accent\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\nYou can also specify a team by <code>org_id</code> and <code>team_id</code> using the route <code>GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings</code>.</p>\n</div>",
662817662816
"statusCodes": [
662818662817
{
662819662818
"httpStatusCode": "200",
662820662819
"description": "<p>OK</p>"
662821662820
}
662822-
]
662821+
],
662822+
"descriptionHTML": "<p>List IdP groups connected to a team on GitHub Enterprise Cloud.</p>\n<p>Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see <a href=\"https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products\">GitHub's products</a> in the GitHub Help documentation.</p>\n<div class=\"ghd-alert ghd-alert-accent\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\nYou can also specify a team by <code>org_id</code> and <code>team_id</code> using the route <code>GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings</code>.</p>\n</div>"
662823662823
},
662824662824
{
662825662825
"serverUrl": "https://api.github.com",

src/rest/data/ghes-3.17-2022-11-28/schema.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11486,13 +11486,13 @@
1148611486
}
1148711487
],
1148811488
"previews": [],
11489-
"descriptionHTML": "<p>Deletes a self-hosted runner group for an organization.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>admin:org</code> scope to use this endpoint.</p>",
1149011489
"statusCodes": [
1149111490
{
1149211491
"httpStatusCode": "204",
1149311492
"description": "<p>No Content</p>"
1149411493
}
11495-
]
11494+
],
11495+
"descriptionHTML": "<p>Deletes a self-hosted runner group for an organization.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>admin:org</code> scope to use this endpoint.</p>"
1149611496
},
1149711497
{
1149811498
"serverUrl": "http(s)://HOSTNAME/api/v3",
@@ -28252,13 +28252,13 @@
2825228252
}
2825328253
],
2825428254
"previews": [],
28255-
"descriptionHTML": "<p>Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor <code>Location:</code> in the response header to find the URL for the download.</p>\n<p>Anyone with read access to the repository can use this endpoint.</p>\n<p>If the repository is private, OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>",
2825628255
"statusCodes": [
2825728256
{
2825828257
"httpStatusCode": "302",
2825928258
"description": "<p>Found</p>"
2826028259
}
28261-
]
28260+
],
28261+
"descriptionHTML": "<p>Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor <code>Location:</code> in the response header to find the URL for the download.</p>\n<p>Anyone with read access to the repository can use this endpoint.</p>\n<p>If the repository is private, OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>"
2826228262
},
2826328263
{
2826428264
"serverUrl": "http(s)://HOSTNAME/api/v3",
@@ -91154,13 +91154,13 @@
9115491154
}
9115591155
],
9115691156
"previews": [],
91157-
"descriptionHTML": "<p>Sets the announcement banner to display for the organization.</p>",
9115891157
"statusCodes": [
9115991158
{
9116091159
"httpStatusCode": "200",
9116191160
"description": "<p>OK</p>"
9116291161
}
91163-
]
91162+
],
91163+
"descriptionHTML": "<p>Sets the announcement banner to display for the organization.</p>"
9116491164
},
9116591165
{
9116691166
"serverUrl": "http(s)://HOSTNAME/api/v3",
@@ -209661,13 +209661,13 @@
209661209661
}
209662209662
],
209663209663
"previews": [],
209664-
"descriptionHTML": "",
209665209664
"statusCodes": [
209666209665
{
209667209666
"httpStatusCode": "200",
209668209667
"description": "<p>OK</p>"
209669209668
}
209670-
]
209669+
],
209670+
"descriptionHTML": ""
209671209671
},
209672209672
{
209673209673
"serverUrl": "http(s)://HOSTNAME/api/v3",
@@ -543048,13 +543048,13 @@
543048543048
}
543049543049
],
543050543050
"previews": [],
543051-
"descriptionHTML": "<div class=\"ghd-alert ghd-alert-attention\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\"></path></svg>Warning</p>\n<p>\n<strong>Endpoint closing down notice:</strong> This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new <a href=\"https://docs.github.com/[email protected]/rest/teams/discussions#create-a-discussion\"><code>Create a discussion</code></a> endpoint.</p>\n</div>\n<p>Creates a new discussion post on a team's page.</p>\n<p>This endpoint triggers <a href=\"https://docs.github.com/[email protected]/github/managing-subscriptions-and-notifications-on-github/about-notifications\">notifications</a>. Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"<a href=\"https://docs.github.com/[email protected]/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits\">Rate limits for the API</a>\" and \"<a href=\"https://docs.github.com/[email protected]/rest/guides/best-practices-for-using-the-rest-api\">Best practices for using the REST API</a>.\"</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>write:discussion</code> scope to use this endpoint.</p>",
543052543051
"statusCodes": [
543053543052
{
543054543053
"httpStatusCode": "201",
543055543054
"description": "<p>Created</p>"
543056543055
}
543057-
]
543056+
],
543057+
"descriptionHTML": "<div class=\"ghd-alert ghd-alert-attention\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\"></path></svg>Warning</p>\n<p>\n<strong>Endpoint closing down notice:</strong> This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new <a href=\"https://docs.github.com/[email protected]/rest/teams/discussions#create-a-discussion\"><code>Create a discussion</code></a> endpoint.</p>\n</div>\n<p>Creates a new discussion post on a team's page.</p>\n<p>This endpoint triggers <a href=\"https://docs.github.com/[email protected]/github/managing-subscriptions-and-notifications-on-github/about-notifications\">notifications</a>. Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"<a href=\"https://docs.github.com/[email protected]/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits\">Rate limits for the API</a>\" and \"<a href=\"https://docs.github.com/[email protected]/rest/guides/best-practices-for-using-the-rest-api\">Best practices for using the REST API</a>.\"</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>write:discussion</code> scope to use this endpoint.</p>"
543058543058
},
543059543059
{
543060543060
"serverUrl": "http(s)://HOSTNAME/api/v3",

src/rest/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@
4747
]
4848
}
4949
},
50-
"sha": "23d16a0c0808c8241b1076d63e8d3f2e75cb6632"
50+
"sha": "7fa9b34e16fec58ad8d856fb0c84488e53574beb"
5151
}

src/webhooks/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"sha": "23d16a0c0808c8241b1076d63e8d3f2e75cb6632"
2+
"sha": "7fa9b34e16fec58ad8d856fb0c84488e53574beb"
33
}

0 commit comments

Comments
 (0)